GRASP: Generic Reasoning And SPARQL Generation across Knowledge Graphs
On the map: LLM reasoning → Knowledge- and tool-augmented reasoning
Abstract (arXiv)
We propose a new approach for generating SPARQL queries on RDF knowledge graphs from natural language questions or keyword queries, using a large language model. Our approach does not require fine-tuning. Instead, it uses the language model to explore the knowledge graph by strategically executing SPARQL queries and searching for relevant IRIs and literals. We evaluate our approach on a variety of benchmarks (for knowledge graphs of different kinds and sizes) and language models (of different scales and types, commercial as well as open-source) and compare it with existing approaches. On Wikidata we reach state-of-the-art results on multiple benchmarks, despite the zero-shot setting. On Freebase we come close to the best few-shot methods. On other, less commonly evaluated knowledge graphs and benchmarks our approach also performs well overall. We conduct several additional studies, like comparing different ways of searching the graphs, incorporating a feedback mechanism, or making use of few-shot examples.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 3 of its 52 references that are in the map. First posted on arXiv 10 Jul 2025.
Builds on
3 of 52 references.
References · 3
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2025Qwen3 Technical Reportcited by 8,820
- 2024Qwen2.5 Technical Reportcited by 4,942
Built on by
Citing papers per year: 2025: 1; 2026: 6.
7 papers.
- 2025SPARQL-LLM: Real-Time SPARQL Query Generation from Natural Language Questionscited by 3
- 2026Agentic SPARQL: Evaluating SPARQL-MCP-powered Intelligent Agents on the Federated KGQA Benchmarkcited by 3
- 2026The Wikidata Query Logs Datasetcited by 2
- 2026GRISP: Guided Recurrent IRI Selection over SPARQL Skeletonscited by 1
- 2026MARS: Multi-hop Adaptive Retrieval and SPARQL Generation for KGQAcited by 0
- 2026Natural Language Access to Domain-Specific Metadata: A Reusable Framework for LLM Query Generationcited by 0
- 2026Detecting Knowledge Inconsistencies Across Text, Tables, and Knowledge Graphscited by 0
- 2026Detecting Knowledge Inconsistencies Across Text, Tables, and Knowledge Graphs28 Jul 2026
- 2026Natural Language Access to Domain-Specific Metadata: A Reusable Framework for LLM Query Generation20 Jul 2026
- 2026MARS: Multi-hop Adaptive Retrieval and SPARQL Generation for KGQA16 Jul 2026
- 2026GRISP: Guided Recurrent IRI Selection over SPARQL Skeletons22 Apr 2026
- 2026The Wikidata Query Logs Dataset16 Feb 2026
- 2026Agentic SPARQL: Evaluating SPARQL-MCP-powered Intelligent Agents on the Federated KGQA Benchmark20 Jan 2026
- 2025SPARQL-LLM: Real-Time SPARQL Query Generation from Natural Language Questions16 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2025From Graph Retrieval to Schema Realization: Counterfactual Validation for Text-to-SPARQL over Heterogeneous Knowledge Graphs
- 2026Build2SPARQL: A Large-Scale Text-to-SPARQL Benchmark Dataset for Building Knowledge Graph Querying
- 2026Towards Researcher Agents for Knowledge-Graph Question Answering
- 2025FIRESPARQL: A LLM-based Framework for SPARQL Query Generation over Scholarly Knowledge Graphs
- 2025Text-to-SPARQL Goes Beyond English: Multilingual Question Answering Over Knowledge Graphs through Human-Inspired Reasoning
- 2026Enabling Knowledge Graph Understanding at Scale with the EXplore Your Graphs ENgine (EXYGEN)
- 2025ARUQULA -- An LLM based Text2SPARQL Approach using ReAct and Knowledge Graph Exploration Utilities
- 2026KGVoyager: Knowledge Graph Agnostic Question Answering via Agentic Navigation