Building an Intelligent QA System for Smart City Planning: Integrating LLMs and Knowledge Graphs
Source abstract
Abstract
Smart city planning involves a wide range of knowledge domains. However, general intelligent Question Answering systems often fall short when applied to this domain, and the relevant studies are not yet sufficient. To this end, this paper constructs an intelligent QA system that combines a large language model with a domain-specific knowledge graph. Capable of understanding questions accurately and generating professional answers, this system is designed to provide efficient knowledge services for smart city planning by following four steps. First, based on four authoritative planning guidelines, a domain-specific knowledge graph with a four-layer framework is constructed using Neo4j Community Edition 5.26.24. The framework includes top-level goals, knowledge modules, standard terminology and community scenarios. Subsequently, natural language questions are classified and matched with the templates before being converted into structured queries. Finally, the system performs Cypher query language queries and invokes ChatGLM4 to generate professional answers. The knowledge graph contains 100 entity nodes and 44 relations, and its ontology layer defines 28 entity types and 12 relation types. Therefore, the domain knowledge is structured and visualized, and planning professionals can intuitively retrieve diverse planning elements. In addition to its intelligent knowledge query function, this system assists planning professionals in preparing planning schemes and verifying compliance, reducing the time spent on reviewing regulations and comparing clauses, improving the efficiency of scheme preparation, and facilitating the refined implementation of urban renewal projects. It has high application value in smart city planning practices. Its construction approach can also serve as a reference for intelligent knowledge services in other fields.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Smart Cities and Technologies · Advanced Graph Neural Networks · Semantic Web and Ontologies
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Civil and Transportation Engineering, Guangzhou University, Guangzhou 510006, China
School of Architecture and Urban Planning, Guangzhou University, Guangzhou 510006, China
References (26)
Show source-provided references
1. Niu, Q., Zhang, Y., and Zhou, J. (2017). Research on Smart City Planning: Concept, Function and Characteristics. Urban. Archit., 45–48.
2. Survey of hallucination in natural language generation10.1145/3571730 ↗
3. Alansari, A., and Luqman, H. (2025). A Comprehensive Survey of Hallucination in Large Language Models: Causes, Detection, and Mitigation. arXiv.
4. Question Answering System for Smart Cities and Urban Planning with The World Avatar10.1049/smc2.70009 ↗
5. Unifying large language models and knowledge graphs: A roadmap10.1109/TKDE.2024.3352100 ↗
6. Construction of an intelligent question answering system for depression combining traditional Chinese medicine and Western medicine based on large language models and knowledge graphs
7. GLM Team, Zeng, A., Xu, B., Wang, B., Zhang, C., Yin, D., Zhang, D., Rojas, D., Feng, G., and Zhao, H. (2024). ChatGLM: A family of large language models from GLM-130B to GLM-4 All Tools. arXiv.
8. Yang, G. (2024). Benchmarking against GPT-4: An overview of GLM-4 from Zhipu AI. China Inf. Wkly.
9. Review on Knowledge Graphs
10. Robinson, I., Webber, J., and Eifrem, E. (2015). Graph Databases: New Opportunities for Connected Data, O’Reilly Media, Inc.
11. Knowledge graph construction techniques
12. Gao, Y., Xiong, Y., Gao, X., Jia, K., Pan, J., Bi, Y., Dai, Y., Sun, J., Wang, M., and Wang, H. (2023). Retrieval-augmented generation for large language models: A survey. arXiv.
13. (2018). National Information Technology Standardization Technical Committee (SAC/TC 28). Smart City—Domain Knowledge Model—Core Conceptual Model (Standard No. GB/T 36332-2018).
14. (2018). National Information Technology Standardization Technical Committee (SAC/TC 28). Smart City—Top-Level Design Guide (Standard No. GB/T 36333-2018).
15. (2018). National Information Technology Standardization Technical Committee (SAC/TC 28). Smart City—Terminology (Standard No. GB/T 37043-2018).
16. (2021). National Technical Committee for Standardization of Natural Resources and Territorial Spatial Planning (SAC/TC 93). Technical Guide for Community Life Circle Planning (Standard No. TD/T 1062-2021).
17. A survey on knowledge graph related research in smart city domain10.1145/3672615 ↗
18. Knowledge graph technology support: A smart city planning approach inspired by the DIKW model
19. Natural language processing in urban planning: A research agenda10.1177/08854122241229571 ↗
20. Digital construction of the urban and rural planning knowledge system supported by knowledge graphs: Advantages, key technologies, and construction applications
21. A large language model-based chatbot system framework for urban planners
22. Guo, M. (2021). Research on Semantic Matching Algorithm of Table Tennis Question Answering System Based on Knowledge Graph. [Master’s Thesis, Nanjing University of Posts and Telecommunications].
23. Guo, K. (2025). Research on Knowledge Graph Question Answering Technology Based on Deep Learning and Cypher Query Language. [Master’s Thesis, Jinan University].
24. Touvron, H., Martin, L., Stone, K., Albert, P., Almahairi, A., Babaei, Y., Bashlykov, N., Batra, S., Bhargava, P., and Bhosale, S. (2023). Llama 2: Open foundation and fine-tuned chat models. arXiv.
25. A survey on evaluation of large language models10.1145/3641289 ↗
26. Larson, J., and Truitt, S. (2024). GraphRAG: Unlocking LLM Discovery on Narrative Private Data. Microsoft Res. Blog, 2.