DeSQ: Decomposition-based SPARQL Query Generation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Diallo, Papa Abdou Karim Karou, Sharma, Aditya, Fard, Neshat Elhami, Zouaq, Amal
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917549409566720
author Diallo, Papa Abdou Karim Karou
Sharma, Aditya
Fard, Neshat Elhami
Zouaq, Amal
author_facet Diallo, Papa Abdou Karim Karou
Sharma, Aditya
Fard, Neshat Elhami
Zouaq, Amal
contents Dominant approaches to Knowledge Base Question Answering (KBQA) fall into two categories. First is the generation of a formal query that suffers from brittleness and limited explainability, and the second is direct answer retrieval through KB exploration that is computationally costly and prone to hallucination. To combine the strengths of both paradigms while mitigating their respective weaknesses, we introduce DeSQ (Decomposition-based SPARQL Query Generation), a KB-agnostic framework that operates in three stages. First, it decomposes complex questions into Atomic Constraints (ACs) that mirror the relational structure of the underlying KB. Second, it generates a two-part structured output: (a) Mapping of each AC to its corresponding SPARQL Fragment, using standardized variable and URIs placeholders, and (b) URIs Grounding block describing each placeholder. Third, it assembles these fragments into a complete SPARQL query. DeSQ surpasses state-of-the-art approaches on four out of five major benchmarks and demonstrates superior robustness to lexical variation. Beyond performance gains, our framework greatly simplifies evaluation by eliminating the need for a live KB endpoint, and its structured output enables fine-grained error analysis, allowing more targeted interventions for improvement.
format Preprint
id arxiv_https___arxiv_org_abs_2606_00203
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle DeSQ: Decomposition-based SPARQL Query Generation
Diallo, Papa Abdou Karim Karou
Sharma, Aditya
Fard, Neshat Elhami
Zouaq, Amal
Computation and Language
Dominant approaches to Knowledge Base Question Answering (KBQA) fall into two categories. First is the generation of a formal query that suffers from brittleness and limited explainability, and the second is direct answer retrieval through KB exploration that is computationally costly and prone to hallucination. To combine the strengths of both paradigms while mitigating their respective weaknesses, we introduce DeSQ (Decomposition-based SPARQL Query Generation), a KB-agnostic framework that operates in three stages. First, it decomposes complex questions into Atomic Constraints (ACs) that mirror the relational structure of the underlying KB. Second, it generates a two-part structured output: (a) Mapping of each AC to its corresponding SPARQL Fragment, using standardized variable and URIs placeholders, and (b) URIs Grounding block describing each placeholder. Third, it assembles these fragments into a complete SPARQL query. DeSQ surpasses state-of-the-art approaches on four out of five major benchmarks and demonstrates superior robustness to lexical variation. Beyond performance gains, our framework greatly simplifies evaluation by eliminating the need for a live KB endpoint, and its structured output enables fine-grained error analysis, allowing more targeted interventions for improvement.
title DeSQ: Decomposition-based SPARQL Query Generation
topic Computation and Language
url https://arxiv.org/abs/2606.00203