# Question Answering over Knowledge Graphs with Neural Machine Translation and Entity Linking

arXiv: https://arxiv.org/abs/2107.02865 · HTML: https://mlsanity.com/paper/2107.02865/

## Key facts

- Cited by 3 papers in the map (data through 14 Oct 2026).
- Builds on 13 of its 41 references that are in the map.
- First posted on arXiv 6 Jul 2021.

## Builds on (most cited first, 13 of 13)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [Effective Approaches to Attention-based Neural Machine Translation](https://mlsanity.com/paper/1508.04025/) (2015)
- [Knowledge Graphs](https://mlsanity.com/paper/2003.02320/) (2020)
- [Convolutional Sequence to Sequence Learning](https://mlsanity.com/paper/1705.03122/) (2017)
- [Improving Text-to-SQL Evaluation Methodology](https://mlsanity.com/paper/1806.09029/) (2018)
- [Large-scale Simple Question Answering with Memory Networks](https://mlsanity.com/paper/1506.02075/) (2015)
- [Neural Machine Translating from Natural Language to SPARQL](https://mlsanity.com/paper/1906.09302/) (2019)
- [EARL: Joint Entity and Relation Linking for Question Answering over Knowledge Graphs](https://mlsanity.com/paper/1801.03825/) (2018)
- [Introduction to Neural Network based Approaches for Question Answering over Knowledge Graphs](https://mlsanity.com/paper/1907.09361/) (2019)
- [OpenTapioca: Lightweight Entity Linking for Wikidata](https://mlsanity.com/paper/1904.09131/) (2019)
- [SPARQL as a Foreign Language](https://mlsanity.com/paper/1708.07624/) (2017)
- [G-CORE: A Core for Future Graph Query Languages](https://mlsanity.com/paper/1712.01550/) (2017)
- [Semantic Parsing Natural Language into SPARQL: Improving Target Language Representation with Neural Attention](https://mlsanity.com/paper/1803.04329/) (2018)

## Built on by (most cited first, 3 of 3)

- [GETT-QA: Graph Embedding based T2T Transformer for Knowledge Graph Question Answering](https://mlsanity.com/paper/2303.13284/) (2023)
- [PSYCHIC: A Neuro-Symbolic Framework for Knowledge Graph Question-Answering Grounding](https://mlsanity.com/paper/2310.12638/) (2023)
- [Integrating Multi-Head Convolutional Encoders with Cross-Attention for Improved SPARQL Query Translation](https://mlsanity.com/paper/2408.13432/) (2024)

## Abstract (arXiv)

The goal of Question Answering over Knowledge Graphs (KGQA) is to find answers for natural language questions over a knowledge graph. Recent KGQA approaches adopt a neural machine translation (NMT) approach, where the natural language question is translated into a structured query language. However, NMT suffers from the out-of-vocabulary problem, where terms in a question may not have been seen during training, impeding their translation. This issue is particularly problematic for the millions of entities that large knowledge graphs describe. We rather propose a KGQA approach that delegates the processing of entities to entity linking (EL) systems. NMT is then used to create a query template with placeholders that are filled by entities identified in an EL phase. Slot filling is used to decide which entity fills which placeholder. Experiments for QA over Wikidata show that our approach outperforms pure NMT: while there remains a strong dependence on having seen similar query templates during training, errors relating to entities are greatly reduced.
