Enhancing geodatabases operability: advanced human-computer interaction through rag and multi-agent systems

The increasing demand for efficient geographic data querying has underscored the need to improve both the speed and accuracy of such operations. This study presents a novel approach that combines Retrieval-Augmented Generation (RAG) with a Large Language Model (LLM)-based Multi-Agent System (MAS) to address this challenge. By leveraging Geographic Information System (GIS) metadata, the method transforms natural language queries into precise SQL queries, enhancing the functionality of LLMs in geospatial database management. RAG enriches the model’s responses with relevant external knowledge, while the MAS framework decomposes complex queries into manageable subtasks, each handled by a dedicated agent. This ensures the generation of syntactically accurate and contextually relevant SQL queries, improving query precision. Rigorous experimentation shows that the approach achieves over 80% SQL generation accuracy, surpassing traditional LLM-based techniques, even with large-scale geospatial datasets and complex queries. Additionally, the average query execution time is only 11.74 seconds, demonstrating the method’s efficiency. The practical applicability of our method has been validated through its implementation and user testing in an urban planning platform. This has made geospatial database access more accessible and user-friendly, regardless of the user’s expertise in database management or SQL, thus facilitating more efficient geospatial data interaction.

Publication Details

Journal
Figshare
Published
2025-01-01
DOI
https://doi.org/10.6084/m9.figshare.28692284.v1
Primary Topic
Geographic Information Systems Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing geodatabases operability: advanced human-computer interaction through rag and multi-agent systems

Figshare
Geographic Information Systems Studies
article

Enhancing geodatabases operability: advanced human-computer interaction through rag and multi-agent systems

article en

Abstract

The increasing demand for efficient geographic data querying has underscored the need to improve both the speed and accuracy of such operations. This study presents a novel approach that combines Retrieval-Augmented Generation (RAG) with a Large Language Model (LLM)-based Multi-Agent System (MAS) to address this challenge. By leveraging Geographic Information System (GIS) metadata, the method transforms natural language queries into precise SQL queries, enhancing the functionality of LLMs in geospatial database management. RAG enriches the model’s responses with relevant external knowledge, while the MAS framework decomposes complex queries into manageable subtasks, each handled by a dedicated agent. This ensures the generation of syntactically accurate and contextually relevant SQL queries, improving query precision. Rigorous experimentation shows that the approach achieves over 80% SQL generation accuracy, surpassing traditional LLM-based techniques, even with large-scale geospatial datasets and complex queries. Additionally, the average query execution time is only 11.74 seconds, demonstrating the method’s efficiency. The practical applicability of our method has been validated through its implementation and user testing in an urban planning platform. This has made geospatial database access more accessible and user-friendly, regardless of the user’s expertise in database management or SQL, thus facilitating more efficient geospatial data interaction.

Figshare
Sustainable cities and communities
Openalex Percentile: Top 49%
Geographic Information Systems Studies
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.