SPARQL Generation with Entity Pre-trained GPT for KG Question Answering
Not on the map. Why?
Abstract (arXiv)
Knowledge Graphs popularity has been rapidly growing in last years. All that knowledge is available for people to query it through the many online databases on the internet. Though, it would be a great achievement if non-programmer users could access whatever information they want to know. There has been a lot of effort oriented to solve this task using natural language processing tools and creativity encouragement by way of many challenges. Our approach focuses on assuming a correct entity linking on the natural language questions and training a GPT model to create SPARQL queries from them. We managed to isolate which property of the task can be the most difficult to solve at few or zero-shot and we proposed pre-training on all entities (under CWA) to improve the performance. We obtained a 62.703% accuracy of exact SPARQL matches on testing at 3-shots, a F1 of 0.809 on the entity linking challenge and a F1 of 0.009 on the question answering challenge.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 11 of its 15 references that are in the map. First posted on arXiv 1 Feb 2024.
Builds on
11 of 15 references.
References · 11
- 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
- 2020Shortcut Learning in Deep Neural Networkscited by 1,928
- 2020Knowledge Graphscited by 619
- 2020A Survey on Transfer Learning in Natural Language Processingcited by 33
- 2023Leveraging LLMs in Scholarly Knowledge Graph Question Answeringcited by 13
- 2022Induced Natural Language Rationales and Interleaved Markup Tokens Enable Extrapolation in Large Language Modelscited by 10
- 2023NLQxform: A Language Model-based Question to SPARQL Transformercited by 8
- 2023DBLPLink: An Entity Linker for the DBLP Scholarly Knowledge Graphcited by 4
- 2024BERTologyNavigator: Advanced Question Answering with BERT-based Semanticscited by 2
Built on by
Citing papers per year: 2024: 3; 2025: 3.
6 papers.
- 2024Assessing SPARQL capabilities of Large Language Modelscited by 14
- 2024Leveraging small language models for Text2SPARQL tasks to improve the resilience of AI assistancecited by 13
- 2024Thinking with Knowledge Graphs: Enhancing LLM Reasoning Through Structured Datacited by 6
- 2025FIRESPARQL: A LLM-based Framework for SPARQL Query Generation over Scholarly Knowledge Graphscited by 5
- 2025InteracSPARQL: An Interactive System for SPARQL Query Refinement Using Natural Language Explanationscited by 2
- 2025Beyond Single Pass, Looping Through Time: KG-IRAG with Iterative Knowledge Retrievalcited by 0
- 2025InteracSPARQL: An Interactive System for SPARQL Query Refinement Using Natural Language Explanations3 Nov 2025
- 2025FIRESPARQL: A LLM-based Framework for SPARQL Query Generation over Scholarly Knowledge Graphs14 Aug 2025
- 2025Beyond Single Pass, Looping Through Time: KG-IRAG with Iterative Knowledge Retrieval18 Mar 2025
- 2024Thinking with Knowledge Graphs: Enhancing LLM Reasoning Through Structured Data14 Dec 2024
- 2024Assessing SPARQL capabilities of Large Language Models9 Sep 2024
- 2024Leveraging small language models for Text2SPARQL tasks to improve the resilience of AI assistance27 May 2024