arXiv

DeSQ: Decomposition-based SPARQL Query Generation

Title: DeSQ: A Decomposition-Based Approach to SPARQL Query Generation

Abstract:

Current methodologies for Knowledge Base Question Answering (KBQA) generally adhere to one of two prevailing models. The first involves generating formal queries, a process often characterized by fragility and a lack of transparent explainability. The second relies on directly retrieving answers by exploring the knowledge base, which tends to be computationally expensive and susceptible to hallucinations. To harness the advantages of both strategies while addressing their inherent limitations, we present DeSQ (Decomposition-based SPARQL Query Generation), a framework that remains agnostic to specific knowledge bases and functions through a three-step process.

Initially, DeSQ breaks down intricate questions into Atomic Constraints (ACs), which align with the relational architecture of the underlying knowledge base. Subsequently, the system produces a dual-component structured output: (a) a mapping that links each AC to its corresponding SPARQL fragment, utilizing standardized placeholders for variables and URIs, and (b) a URIs Grounding block that details each placeholder. Finally, the framework integrates these individual fragments to construct a fully formed SPARQL query.

DeSQ outperforms existing state-of-the-art methods on four of the five primary benchmarks and exhibits greater resilience against lexical variations. In addition to achieving higher performance, the framework streamlines the evaluation process by removing the requirement for a live KB endpoint. Furthermore, its structured output facilitates detailed error analysis, thereby supporting more precise and effective interventions for system improvement.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Law’s Billable Hour Is Being Shredded by AI
Bloomberg

Law’s Billable Hour Is Being Shredded by AI

AI is dismantling the billable hour by automating routine legal tasks. This technological shift threatens the traditiona...

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026
Bloomberg

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026

SoftBank in Early Talks to Back $800 Million Agile Robots Round
Bloomberg

SoftBank in Early Talks to Back $800 Million Agile Robots Round

SoftBank is in early talks to back Agile Robots’ $800 million funding round. The Japanese tech giant is currently in pre...

Amundi Is Diversifying Risk Via Commodity Currencies, Gold
Bloomberg

Amundi Is Diversifying Risk Via Commodity Currencies, Gold

Amundi diversifies risk by investing in commodity-linked currencies and gold. This strategy hedges against market volati...

Reuters

Marvell Technology surges after Nvidia's Huang calls it 'next trillion-dollar company'

Marvell Technology shares surged after Nvidia CEO Jensen Huang labeled the firm the “next trillion-dollar company.”

Russia Says It Found Foreign Spyware on Top Officials’ Phones
Bloomberg

Russia Says It Found Foreign Spyware on Top Officials’ Phones

Russia’s FSB claims to have discovered foreign spyware on senior officials’ phones. Moscow attributes the intrusion to h...