Toward efficient cross-departmental relational data retrieval: a knowledge-constrained LLM-graph framework for smart cities

The integration and application of multi-sectoral data assets has become critical for effective urban governance. Although most urban datasets reside in relational databases, inherent challenges persist: 1) heterogeneous naming conventions across departments, and 2) systemic data silos obstructing cross-domain integration, which create barriers to precise schema recognition and SQL generation. To address these, we propose a knowledge-constrained, large language model (LLM)-driven framework for urban data query. Our framework implements two modules: (1) An object-oriented abstraction layer that models urban governance entities with graph-based model, establishing multilevel schema relationships; (2) An LLM-powered engine that converts natural language queries into graph traversals and syntactically valid SQL. Experimental results demonstrate:(1) Effective graph representation of multi-departmental schema information through node-edge mappings; (2) Superior performance of GPT-4o with 70.2128% accuracy improvements over baseline. This AI solution breaks down cross-departmental data barriers and aids urban information management decision-making.

Authors

Institutions

Publication Details

Published
2025-08-18
DOI
https://doi.org/10.1117/12.3072658
Primary Topic
Semantic Web and Ontologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Toward efficient cross-departmental relational data retrieval: a knowledge-constrained LLM-graph framework for smart cities

Xiaolong He, Xi Kuai, Z. M. Qiu, Xinyue Li et al.
Semantic Web and Ontologies
article

Toward efficient cross-departmental relational data retrieval: a knowledge-constrained LLM-graph framework for smart cities

Xiaolong He, Xi Kuai, Z. M. Qiu, Xinyue Li, Renjie Gu
article en

Abstract

The integration and application of multi-sectoral data assets has become critical for effective urban governance. Although most urban datasets reside in relational databases, inherent challenges persist: 1) heterogeneous naming conventions across departments, and 2) systemic data silos obstructing cross-domain integration, which create barriers to precise schema recognition and SQL generation. To address these, we propose a knowledge-constrained, large language model (LLM)-driven framework for urban data query. Our framework implements two modules: (1) An object-oriented abstraction layer that models urban governance entities with graph-based model, establishing multilevel schema relationships; (2) An LLM-powered engine that converts natural language queries into graph traversals and syntactically valid SQL. Experimental results demonstrate:(1) Effective graph representation of multi-departmental schema information through node-edge mappings; (2) Superior performance of GPT-4o with 70.2128% accuracy improvements over baseline. This AI solution breaks down cross-departmental data barriers and aids urban information management decision-making.

Shenzhen University (CN)
Sustainable cities and communities
Openalex Percentile: Top 89%
Semantic Web and Ontologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.