SPARKLE: Enhancing SPARQL Generation with Direct KG Integration in Decoding
Not on the map. Why?
Abstract (arXiv)
Existing KBQA methods have traditionally relied on multi-stage methodologies, involving tasks such as entity linking, subgraph retrieval and query structure generation. However, multi-stage approaches are dependent on the accuracy of preceding steps, leading to cascading errors and increased inference time. Although a few studies have explored the use of end-to-end models, they often suffer from lower accuracy and generate inoperative query that is not supported by the underlying data. Furthermore, most prior approaches are limited to the static training data, potentially overlooking the evolving nature of knowledge bases over time. To address these challenges, we present a novel end-to-end natural language to SPARQL framework, SPARKLE. Notably SPARKLE leverages the structure of knowledge base directly during the decoding, effectively integrating knowledge into the query generation. Our study reveals that simply referencing knowledge base during inference significantly reduces the occurrence of inexecutable query generations. SPARKLE achieves new state-of-the-art results on SimpleQuestions-Wiki and highest F1 score on LCQuAD 1.0 (among models not using gold entities), while getting slightly lower result on the WebQSP dataset. Finally, we demonstrate SPARKLE's fast inference speed and its ability to adapt when the knowledge base differs between the training and inference stages.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 36 of its 56 references that are in the map. First posted on arXiv 29 Jun 2024.
Builds on
36 of 56 references.
References · 36
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
- 2023StructGPT: A General Framework for Large Language Model to Reason over Structured Datacited by 339
- 2020Autoregressive Entity Retrievalcited by 333
- 2019PullNet: Open Domain Question Answering with Iterative Retrieval on Knowledge Bases and Textcited by 182
- 2020Beyond I.I.D.: Three Levels of Generalization for Question Answering on Knowledge Basescited by 169
24 more
- 2021Case-based Reasoning for Natural Language Queries over Knowledge Basescited by 107
- 2021RnG-KBQA: Generation Augmented Iterative Ranking for Knowledge Base Question Answeringcited by 86
- 2022DecAF: Joint Decoding of Answers and Logical Forms for Question Answering over Knowledge Basescited by 83
- 2020Efficient One-Pass End-to-End Entity Linking for Questionscited by 76
- 2023Few-shot In-context Learning for Knowledge Base Question Answeringcited by 74
- 2022TIARA: Multi-grained Retrieval for Robust Question Answering over Large Knowledge Basescited by 59
- 2023FlexKBQA: A Flexible LLM-Powered Framework for Few-Shot Knowledge Base Question Answeringcited by 51
- 2022ArcaneQA: Dynamic Program Induction and Contextualized Encoding for Knowledge Base Question Answeringcited by 48
- 2022Modern Baselines for SPARQL Semantic Parsingcited by 34
- 2020Scalable Neural Methods for Reasoning With a Symbolic Knowledge Basecited by 32
- 2019Neural Machine Translating from Natural Language to SPARQLcited by 23
- 2019Falcon 2.0: An Entity and Relation Linking Tool over Wikidatacited by 21
- 2023FC-KBQA: A Fine-to-Coarse Composition Framework for Knowledge Base Question Answeringcited by 21
- 2023A Universal Question-Answering Platform for Knowledge Graphscited by 17
- 2021Formal Query Building with Query Structure Prediction for Complex Question Answering over Knowledge Basecited by 16
- 2021Outlining and Filling: Hierarchical Query Graph Generation for Answering Complex Questions over Knowledge Graphscited by 16
- 2021A Two-Stage Approach towards Generalization in Knowledge Base Question Answeringcited by 15
- 2023Question Decomposition Tree for Answering Complex Questions over Knowledge Basescited by 15
- 2021Generative Relation Linking for Question Answering over Knowledge Basescited by 14
- 2021End-to-End Entity Resolution and Question Answering Using Differentiable Knowledge Graphscited by 11
- 2023NLQxform: A Language Model-based Question to SPARQL Transformercited by 8
- 2018Neural Machine Translation for Query Construction and Compositioncited by 7
- 2023GETT-QA: Graph Embedding based T2T Transformer for Knowledge Graph Question Answeringcited by 6
- 2022A Copy Mechanism for Handling Knowledge Base Elements in SPARQL Neural Machine Translationcited by 4
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 1.
5 papers.
- 2024CypherBench: Towards Precise Retrieval over Full-scale Modern Knowledge Graphs in the LLM Eracited by 13
- 2025Efficient and Transferable Agentic Knowledge Graph RAG via Reinforcement Learningcited by 5
- 2025InteracSPARQL: An Interactive System for SPARQL Query Refinement Using Natural Language Explanationscited by 2
- 2025CHILL at SemEval-2025 Task 2: You Can't Just Throw Entities and Hope -- Make Your LLM to Get Them Rightcited by 0
- 2026Towards Researcher Agents for Knowledge-Graph Question Answeringcited by 0
- 2026Towards Researcher Agents for Knowledge-Graph Question Answering7 Aug 2026
- 2025InteracSPARQL: An Interactive System for SPARQL Query Refinement Using Natural Language Explanations3 Nov 2025
- 2025Efficient and Transferable Agentic Knowledge Graph RAG via Reinforcement Learning30 Sep 2025
- 2025CHILL at SemEval-2025 Task 2: You Can't Just Throw Entities and Hope -- Make Your LLM to Get Them Right16 Jun 2025
- 2024CypherBench: Towards Precise Retrieval over Full-scale Modern Knowledge Graphs in the LLM Era24 Dec 2024