LLM-QueryBC: An LLM-Based Regulation Query System for Textual and Tabular Information in Building Codes

Xueying Zhu et al.

Journal of Construction Engineering and Management2026https://doi.org/10.1061/jcemd4.coeng-17659article
AJG 2ABDC A*
Weight
0.50

What the paper says

The process of querying building codes has long been time-consuming and labor-intensive, requiring extensive manual effort to repeatedly consult and confirm regulations throughout design and review phases. Existing regulation query systems are limited to simple searches, often resulting in errors and failing to provide intelligent responses to users. Although the emergence of large language models (LLMs) offers potential solutions due to their natural language processing abilities, they face challenges such as insufficient domain knowledge, semantic misalignment, and difficulties in handling complex tabular data. To address these limitations, we propose a novel system, LLMs Query Building Codes (LLM-QueryBC), which integrates LLMs with a semantic network–enhanced retrieval-augmented generation (SN-RAG) for text-based queries and a specialized agent called Agent for Tables in Building Codes (TaBCe) for tabular queries. TaBCe leverages the Reasoning and Acting (ReAct) framework, think-by-structure planning method, RAG, computational tools, and a memory module to enhance its functionality. The system autonomously determines internal logic, invokes external tools, and mitigates hallucination issues associated with LLMs in the building code domain. We evaluated our system using fire safety regulations—a critical domain due to its impact on life safety, property protection, and legal compliance. Experimental results demonstrated significant improvements: textual query accuracy increased by 24%, and tabular query accuracy rose by 25%. Additionally, we conducted a case study involving fire safety code queries for a real-world design of a mixed-use high-rise building, further validating the system’s practical applicability. These advancements offer greater value to users and promote broader adoption of intelligent regulation query systems.

Open paper page →

Cite this paper

https://doi.org/https://doi.org/10.1061/jcemd4.coeng-17659

Or copy a formatted citation

@article{xueying2026,
  title        = {{LLM-QueryBC: An LLM-Based Regulation Query System for Textual and Tabular Information in Building Codes}},
  author       = {Xueying Zhu et al.},
  journal      = {Journal of Construction Engineering and Management},
  year         = {2026},
  doi          = {https://doi.org/https://doi.org/10.1061/jcemd4.coeng-17659},
}

Paste directly into BibTeX, Zotero, or your reference manager.

Flag this paper

LLM-QueryBC: An LLM-Based Regulation Query System for Textual and Tabular Information in Building Codes

Flags are reviewed by the Arbiter methodology team within 5 business days.


Evidence weight

0.50

Balanced mode · F 0.40 / M 0.15 / V 0.05 / R 0.40

F · citation impact0.50 × 0.4 = 0.20
M · momentum0.50 × 0.15 = 0.07
V · venue signal0.50 × 0.05 = 0.03
R · text relevance †0.50 × 0.4 = 0.20

† Text relevance is estimated at 0.50 on the detail page — for your query’s actual relevance score, open this paper from a search result.