GenSPARQL: A Generative Extension of SPARQL for Incomplete Knowledge Graphs
Jingcheng Wu, Yi Wang, Hongkuan Zhou, Steffen Staab, Bo Xiong
Key points
From the paper's conclusion- We present GenSPARQL, a generative extension of SPARQL 1.1 with an operator GENOP that binds values generated by an LLM to query variables during query evaluation.
Abstract
Knowledge graphs on the Web are incomplete, and SPARQL answers a query only from the stored triples. Large language models (LLMs) can predict missing facts, but an LLM returns names instead of IRIs and requires one call per binding of a query variable. We present GenSPARQL, a generative extension of SPARQL 1.1 with an operator GENOP that binds values generated by an LLM to query variables during query evaluation. A similarity join maps generated names to entities of the graph, and the query planner invokes the LLM only for the bindings selected by the other graph patterns and filters. In a web workbench, attendees query two graphs built from Wikidata and inspect generated values, mapped entities and LLM calls. In our evaluation with three open-weight LLMs, the embedding similarity maps 83% of the entities named by the LLMs and yields only one incorrect match.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Explore-on-Graph: Hybrid Embedding-LLM Reasoning for Knowledge Graph Question Answering under IncompletenessarXiv · 2026
- SPARQL-LLM in the TEXT2SPARQL 2026 ChallengearXiv · 2026
- Natural Language Questions as an Interface for Knowledge Graphs: QRAKEN Graph Distillation and Semantic Self-HealingarXiv · 2026
- High-Information-Density Knowledge Graph Retrieval Augmentation for Large Language ModelsElectronics · 2026
- LSP-RAG: Latent Scoring Perspectives for Knowledge Graph Retrieval-Augmented GenerationarXiv · 2026
- KGVoyager: Knowledge Graph Agnostic Question Answering via Agentic NavigationarXiv · 2026