This paper presents Build2SPARQL, a large-scale benchmark for building KGs generated by a KG-grounded pipeline: SPARQL queries are produced and validated entirely by graph-traversal code, while large language models generate only the natural-language questions, keeping query correctness independent of model behavior.
Abstract
Building automation systems are increasingly represented as semantic knowledge graphs (KGs) using ontologies such as Brick and ASHRAE 223P, creating a machine-readable substrate for artificial-intelligence applications. One promising application is translating natural-language questions into SPARQL (text-to-SPARQL), which would let building operators query these graphs through language agents, but progress is limited by the scarcity of large natural-language/SPARQL benchmarks. This paper presents Build2SPARQL, a large-scale benchmark for building KGs generated by a KG-grounded pipeline: SPARQL queries are produced and validated entirely by graph-traversal code, while large language models generate only the natural-language questions, keeping query correctness independent of model behavior. The pipeline mines six query-pattern families -- linear chains, branching, UNION, aggregation, OPTIONAL, and attribute-filtered -- and phrases each query across five vocabulary registers. Applied to 201 building KGs (180 Brick, 21 ASHRAE 223P), it yields 6,136 executable SPARQL queries and 30,680 questions. A two-rater human validation of 300 questions found 98.8% semantic fidelity, 98.8% naturalness, and 84.0% operational plausibility. A retrieval-augmented evaluation across three open-weight language models raised exact-match accuracy from 0.2-20% (zero-shot) to 56-65% (three-shot retrieved).
Querying distributed data represented as Knowledge Graphs (KGs) via SPARQL remains a difficult task, requiring fluency in query syntax, endpoint specifications, and schema details. Knowledge Graph Question Answering (KGQA) systems address this by automatically translating natural language into SPARQL, and recent advanc...
P. Smeros, Vincent Emonet, Rui-Jie Wang et al.· 0 citations
QRAKEN is a training-free, ontology-agnostic neurosymbolic pipeline grounding generation in empirical graph evidence rather than schema expectations, supporting the value of empirical patterns beyond schema exposure.
Remo Grillo, L. Klic, Giovanni Colavizza· 0 citations
A monotone refinement discipline that accumulates scoped interpretation requirements and establish conditions under which changes to the composed process preserve previously validated interpretations is formalised.
Isabelle Mohr, John Dujany, André Freitas· 0 citations
This paper presents LIDI-AI, a Retrieval-Augmented Generation (RAG) system whose knowledge base consists of technical documentation for the LIDI-AI Research Assistant, a web-based data analysis application developed at Universidad del Azuay. The runtime architecture integrates two complementary knowledge sources: an OW...
Julián Rafael Coronel Andrade, Edwin Alexander Siguenza Siguenza, Andrew Sebastian Cantos Vasquez et al.· Revista Tecnológica - ESPOL· 0 citations
LLM-based data systems are moving beyond text-to-SQL toward semantic query processing, where natural language requests are executed through operators that combine relational processing with LLM-driven inference. A central operator in this setting is SemanticRank, or semantic top-k: given a user intent and a set of rela...
E. Lenzi, D. Martinenghi, Paolo Papotti et al.· Proceedings of the 35th ACM...· 0 citations
Conversational access to scholarly knowledge graphs promises more intuitive ways of exploring research fields, but current approaches remain limited by two major barriers: the lack of realistic multi-hop benchmarks and the brittleness of Text-to-SPARQL methods over real-world schemas. We address these gaps by introduci...
Tim Gollub, Furqan Shuja, Benno Stein· Proceedings of the 35th ACM...· 0 citations