A Copy Mechanism for Handling Knowledge Base Elements in SPARQL Neural Machine Translation
Not on the map. Why?
Abstract (arXiv)
Neural Machine Translation (NMT) models from English to SPARQL are a promising development for SPARQL query generation. However, current architectures are unable to integrate the knowledge base (KB) schema and handle questions on knowledge resources, classes, and properties unseen during training, rendering them unusable outside the scope of topics covered in the training set. Inspired by the performance gains in natural language processing tasks, we propose to integrate a copy mechanism for neural SPARQL query generation as a way to tackle this issue. We illustrate our proposal by adding a copy layer and a dynamic knowledge base vocabulary to two Seq2Seq architectures (CNNs and Transformers). This layer makes the models copy KB elements directly from the questions, instead of generating them. We evaluate our approach on state-of-the-art datasets, including datasets referencing unknown KB elements and measure the accuracy of the copy-augmented architectures. Our results show a considerable increase in performance on all datasets compared to non-copy architectures.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 20 of its 26 references that are in the map. First posted on arXiv 18 Nov 2022.
Builds on
20 of 26 references.
References · 20
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
- 2017Convolutional Sequence to Sequence Learningcited by 550
- 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
- 2016Incorporating Copying Mechanism in Sequence-to-Sequence Learningcited by 217
- 2019Improving Grammatical Error Correction via Pre-Training a Copy-Augmented Architecture with Unlabeled Datacited by 50
8 more
- 2022Modern Baselines for SPARQL Semantic Parsingcited by 34
- 2019Neural Machine Translating from Natural Language to SPARQLcited by 23
- 2020DuoRAT: Towards Simpler Text-to-SQL Modelscited by 17
- 2019Content Enhanced BERT-based Text-to-SQL Generationcited by 16
- 2021Outlining and Filling: Hierarchical Query Graph Generation for Answering Complex Questions over Knowledge Graphscited by 16
- 2017SPARQL as a Foreign Languagecited by 13
- 2022Knowledge Graph Question Answering Datasets and Their Generalizability: Are They Enough for Future Research?cited by 13
- 2021Knowledge Graph Question Answering using Graph-Pattern Isomorphismcited by 8
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 0; 2026: 1.
4 papers.
- 2024Assessing SPARQL capabilities of Large Language Modelscited by 14
- 2023A Comprehensive Evaluation of Neural SPARQL Query Generation from Natural Language Questionscited by 9
- 2024SPARKLE: Enhancing SPARQL Generation with Direct KG Integration in Decodingcited by 5
- 2026Text-to-SPARQL Generation with Reinforcement Learning: A GRPO-based Approach on DBLPcited by 1
- 2026Text-to-SPARQL Generation with Reinforcement Learning: A GRPO-based Approach on DBLP19 May 2026
- 2024Assessing SPARQL capabilities of Large Language Models9 Sep 2024
- 2024SPARKLE: Enhancing SPARQL Generation with Direct KG Integration in Decoding29 Jun 2024
- 2023A Comprehensive Evaluation of Neural SPARQL Query Generation from Natural Language Questions16 Apr 2023