mlsanityData to 7 Oct 2026

Build2SPARQL: A Large-Scale Text-to-SPARQL Benchmark Dataset for Building Knowledge Graph Querying

arXiv 2610.00224 ↗First posted 22 Sep 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

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).

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 14 of its 43 references that are in the map. First posted on arXiv 22 Sep 2026.

Builds on

14 of 43 references.

References · 14

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  5. 2024Qwen2.5 Technical Reportcited by 4,713
  6. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  7. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  8. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
  9. 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 255
  10. 2016Language to Logical Form with Neural Attentioncited by 158
  11. 2022Evaluating the Text-to-SQL Capabilities of Large Language Modelscited by 101
  12. 2021A Survey on Complex Knowledge Base Question Answering: Methods, Challenges and Solutionscited by 77
2 more
  1. 2026Multi-Agent Home Energy Management Assistantcited by 2
  2. 2026Large Language Model-Driven Context-Aware Eco-Feedback Generation and Evaluationcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025GRASP: Generic Reasoning And SPARQL Generation across Knowledge Graphs
  2. 2026Towards Researcher Agents for Knowledge-Graph Question Answering
  3. 2025From Graph Retrieval to Schema Realization: Counterfactual Validation for Text-to-SPARQL over Heterogeneous Knowledge Graphs
  4. 2026KGVoyager: Knowledge Graph Agnostic Question Answering via Agentic Navigation
  5. 2025Text-to-SPARQL Goes Beyond English: Multilingual Question Answering Over Knowledge Graphs through Human-Inspired Reasoning
  6. 2026Enabling Knowledge Graph Understanding at Scale with the EXplore Your Graphs ENgine (EXYGEN)
  7. 2025Augmented Knowledge Graph Querying leveraging LLMs
  8. 2025ARUQULA -- An LLM based Text2SPARQL Approach using ReAct and Knowledge Graph Exploration Utilities