{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,10]],"date-time":"2026-06-10T11:05:00Z","timestamp":1781089500738,"version":"3.54.1"},"reference-count":45,"publisher":"MDPI AG","issue":"6","license":[{"start":{"date-parts":[[2026,6,2]],"date-time":"2026-06-02T00:00:00Z","timestamp":1780358400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["IJGI"],"abstract":"<jats:p>Recent advances in land system research depend heavily on efficient access to large-scale, multi-source remote sensing spatiotemporal databases. Although Text-to-SQL provides natural language interfaces, the scale and spatial complexity of remote sensing schemas generate significant noise for large language models, increasing inference costs and latency. This study presents graph-enhanced retrieval for accurate schema pruning (GRASP), a graph-based framework for schema pruning in remote sensing information systems. GRASP frames schema pruning as a semantic retrieval task and constructs a heterogeneous graph that represents both question semantics and database structure. By integrating a relation-aware transformer, a relational graph attention network, and pre-trained BERT representations, GRASP enhances schema understanding and supports joint table-column prediction through entity-level cross-attention. A dual-task objective combining contrastive learning with dynamic-threshold prediction mitigates class imbalance, while database value sampling and demonstration retrieval optimize inference performance. Experiments show that GRASP substantially improves schema pruning in spatiotemporal query scenarios: a 7B open-source LLM with GRASP surpasses an unaugmented 32B model on Spider; meanwhile, the framework also yields promising results on SpatialSQL, achieving a favorable balance among accuracy, cost, and deployment flexibility. GRASP provides a practical pathway for interdisciplinary researchers to query remote sensing databases in natural language, aiding spatiotemporal analysis.<\/jats:p>","DOI":"10.3390\/ijgi15060248","type":"journal-article","created":{"date-parts":[[2026,6,2]],"date-time":"2026-06-02T12:45:08Z","timestamp":1780404308000},"page":"248","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["GRASP: Graph-Enhanced Retrieval for Accurate Schema Pruning in Text-to-SQL"],"prefix":"10.3390","volume":"15","author":[{"ORCID":"https:\/\/orcid.org\/0009-0008-2899-0647","authenticated-orcid":false,"given":"Xiangjun","family":"Cheng","sequence":"first","affiliation":[{"name":"Equipment Management and UAV Engineering College, Air Force Engineering University, Xi\u2019an 710051, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hongmei","family":"Zhang","sequence":"additional","affiliation":[{"name":"Equipment Management and UAV Engineering College, Air Force Engineering University, Xi\u2019an 710051, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0005-7766-1207","authenticated-orcid":false,"given":"Chao","family":"Li","sequence":"additional","affiliation":[{"name":"Equipment Management and UAV Engineering College, Air Force Engineering University, Xi\u2019an 710051, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0007-5606-0538","authenticated-orcid":false,"given":"Sining","family":"Xu","sequence":"additional","affiliation":[{"name":"Equipment Management and UAV Engineering College, Air Force Engineering University, Xi\u2019an 710051, China"},{"name":"National Key Laboratory of Unmanned Aerial Vehicle Technology, Xi\u2019an 710051, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2026,6,2]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"105958","DOI":"10.1016\/j.cities.2025.105958","article-title":"Innovative framework for identification and spatiotemporal dynamics analysis of industrial land at parcel scale with multidimensional attributes","volume":"162","author":"Kong","year":"2025","journal-title":"Cities"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Tang, W., Yang, J., Zheng, M., and Li, J. (2025). Spatiotemporal Data Analytics and the Modeling of Land Systems: Shaping Sustainable Landscape. Land, 14.","DOI":"10.3390\/books978-3-7258-4830-0"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Li, J., Zheng, M., Jia, H., and Zheng, X. (2025). Spatial and Temporal Evolution of Urban Functional Areas Supported by Multi-Source Data: A Case Study of Beijing Municipality. Land, 14.","DOI":"10.3390\/land14091818"},{"key":"ref_4","unstructured":"Mohammadjafari, A., Maida, A.S., and Gottumukkala, R. (2025). From Natural Language to SQL: Review of LLM-based Text-to-SQL Systems. arXiv."},{"key":"ref_5","unstructured":"Gan, Y., Purver, M., and Woodward, J.R. (2020, January 4\u20137). A Review of Cross-Domain Text-to-SQL Models. Proceedings of the AACL 2020, Suzhou, China."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"7328","DOI":"10.1109\/TKDE.2025.3609486","article-title":"Next-Generation Database Interfaces: A Survey of LLM-Based Text-to-SQL","volume":"37","author":"Hong","year":"2025","journal-title":"IEEE Trans. Knowl. Data Eng."},{"key":"ref_7","unstructured":"Maamari, K., Abubaker, F., Jaroslawicz, D., and Mhedhbi, A. (2024, January 14). The Death of Schema Linking? Text-to-SQL in the Age of Well-Reasoned Language Models. Proceedings of the NeurIPS 2024 Third Table Representation Learning Workshop, Vancouver, BC, Canada."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Lei, W., Wang, W., Ma, Z., Gan, T., Lu, W., Kan, M., and Chua, T. (2020, January 16\u201320). Re-examining the Role of Schema Linking in Text-to-SQL. Proceedings of the EMNLP 2020, Online.","DOI":"10.18653\/v1\/2020.emnlp-main.564"},{"key":"ref_9","unstructured":"Dong, L., and Lapata, M. (2016, January 7\u201312). Language to Logical Form with Neural Attention. Proceedings of the ACL 2016, Berlin, Germany."},{"key":"ref_10","unstructured":"Zhong, V., Xiong, C., and Socher, R. (2017). Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learning. arXiv."},{"key":"ref_11","unstructured":"Xu, X., Liu, C., and Song, D. (2017). SQLNet: Generating Structured Queries From Natural Language Without Reinforcement Learning. arXiv."},{"key":"ref_12","first-page":"309","article-title":"RYANSQL: Recursively Applying Sketch-based Slot Fillings for Complex Text-to-SQL in Cross-Domain Databases","volume":"47","author":"Choi","year":"2021","journal-title":"Comput. Linguist."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Yu, T., Yasunaga, M., Yang, K., Zhang, R., Wang, D., Li, Z., and Radev, D. (November, January 31). SyntaxSQLNet: Syntax Tree Networks for Complex and Cross-Domain Text-to-SQL Task. Proceedings of the EMNLP 2018, Brussels, Belgium.","DOI":"10.18653\/v1\/D18-1193"},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Ma, C., Zhang, W., Huang, M., Feng, S., and Wu, Y. (2023). Integrating Relational Structure to Heterogeneous Graph for Chinese NL2SQL Parsers. Electronics, 12.","DOI":"10.3390\/electronics12092093"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Bogin, B., Berant, J., and Gardner, M. (August, January 28). Representing Schema Structure with Graph Neural Networks for Text-to-SQL Parsing. Proceedings of the ACL 2019, Florence, Italy.","DOI":"10.18653\/v1\/P19-1448"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Wang, B., Shin, R., Liu, X., Polozov, O., and Richardson, M. (2020, January 5\u201310). RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parsers. Proceedings of the ACL2020, Online.","DOI":"10.18653\/v1\/2020.acl-main.677"},{"key":"ref_17","unstructured":"Cai, R., Yuan, J., Xu, B., and Hao, Z. (2021, January 6\u201314). SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQL. Proceedings of the NeurIPS 2021, Online."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Chen, Z., Chen, L., Zhao, Y., Cao, R., Xu, Z., Zhu, S., and Yu, K. (2021, January 6\u201311). ShadowGNN: Graph Projection Neural Network for Text-to-SQL Parser. Proceedings of the NAACL2021, Online.","DOI":"10.18653\/v1\/2021.naacl-main.441"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Qi, J., Tang, J., He, Z., Wan, X., Cheng, Y., Zhou, C., Wang, X., Zhang, Q., and Lin, Z. (2022, January 7\u201311). RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQL. Proceedings of the EMNLP 2022, Abu Dhabi, United Arab Emirates.","DOI":"10.18653\/v1\/2022.emnlp-main.211"},{"key":"ref_20","unstructured":"Gong, Z., and Sun, Y. (, January 14\u201318). Graph Reasoning Enhanced Language Models for Text-to-SQL. Proceedings of the SIGIR \u201824, New York, NY, USA."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"111800","DOI":"10.1016\/j.patcog.2025.111800","article-title":"Graph-empowered Text-to-SQL generation on Electronic Medical Records","volume":"169","author":"Chen","year":"2026","journal-title":"Pattern Recognit."},{"key":"ref_22","unstructured":"Zhang, F., Wang, H., Barhamgi, M., Chen, L., and Zhou, R. (2023). GADESQL: Graph Attention Diffusion Enhanced Text-To-SQL with Single and Multi-hop Relations. WISE 2023, Springer Nature."},{"key":"ref_23","unstructured":"Wang, K., Shen, W., Yang, Y., Quan, X., and Wang, R. (2020, January 5\u201310). Relational Graph Attention Network for Aspect-based Sentiment Analysis. Proceedings of the ACL 2020, Online."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Li, J., Hui, B., Cheng, R., Qin, B., Ma, C., Huo, N., Huang, F., Du, W., Si, L., and Li, Y. (2023, January 7\u201314). Graphix-T5: Mixing pre-trained transformers with graph-aware layers for text-to-SQL parsing. Proceedings of the AAAI\u201923\/IAAI\u201923\/EAAI\u201923, Washington, DC, USA.","DOI":"10.1609\/aaai.v37i11.26536"},{"key":"ref_25","unstructured":"Zhang, Q., Chen, H., Dong, J., Chen, S., Huang, F., and Huang, X. (2025, January 13\u201319). Structure-Guided Large Language Models for Text-to-SQL Generation. Proceedings of the ICML 2025, Vancouver, BC, Canada."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Li, S., He, Y., Ao, L., and Qi, R. (2024). RGISQL: Integrating Refined Grammatical Information into Relational Graph Neural Network for Text-to-SQL Task. Appl. Sci., 14.","DOI":"10.3390\/app142210359"},{"key":"ref_27","unstructured":"Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., K\u00fcttler, H., Lewis, M., Yih, W., and Rockt\u00e4schel, T. (2020, January 6\u201312). Retrieval-augmented generation for knowledge-intensive NLP tasks. Proceedings of the NIPS \u201820, Red Hook, NY, USA."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Izacard, G., and Grave, E. (2021, January 19\u201323). Leveraging Passage Retrieval with Generative Models for Open Domain Question Answering. Proceedings of the EACL 2021, Online.","DOI":"10.18653\/v1\/2021.eacl-main.74"},{"key":"ref_29","unstructured":"Li, H., Zhang, J., Li, C., and Chen, H. (2023, January 7\u201314). RESDSQL: Decoupling schema linking and skeleton parsing for text-to-SQL. Proceedings of the AAAI\u201923\/IAAI\u201923\/EAAI\u201923, Washington, DC, USA."},{"key":"ref_30","unstructured":"Wu, Z., Li, Z., Zhang, J., Li, M., Zhao, Y., Fang, R., He, Z., Li, X., Li, Z., and Song, S. (2024). RB-SQL: A Retrieval-based LLM Framework for Text-to-SQL. arXiv."},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Lee, J., Lee, J., Lee, J., Choi, Y., and Lee, J. (August, January 27). DCG-SQL: Enhancing In-Context Learning for Text-to-SQL with Deep Contextual Schema Link Graph. Proceedings of the ACL 2025, Vienna, Austria.","DOI":"10.18653\/v1\/2025.acl-long.748"},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Pourreza, M., and Rafiei, D. (2023, January 10\u201316). DIN-SQL: Decomposed in-context learning of text-to-SQL with self-correction. Proceedings of the NIPS \u201923, Red Hook, NY, USA.","DOI":"10.52202\/075280-1577"},{"key":"ref_33","unstructured":"Dong, X., Zhang, C., Ge, Y., Mao, Y., Gao, Y., Chen, L., Lin, J., and Lou, D. (2023). C3: Zero-shot Text-to-SQL with ChatGPT. arXiv."},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Zhou, R., and Zhang, F. (2025). Refining Zero-Shot Text-to-SQL Benchmarks via Prompt Strategies with Large Language Models. Appl. Sci., 15.","DOI":"10.3390\/app15105306"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"1132","DOI":"10.14778\/3641204.3641221","article-title":"Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluation","volume":"17","author":"Gao","year":"2024","journal-title":"Proc. Vldb Endow."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"45","DOI":"10.1016\/j.patrec.2025.04.016","article-title":"SPS-SQL: Enhancing Text-to-SQL generation on small-scale LLMs with pre-synthesized queries","volume":"196","author":"Yan","year":"2025","journal-title":"Pattern Recognit. Lett."},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"427","DOI":"10.1007\/s10707-023-00494-5","article-title":"NALMO: Transforming Queries in Natural Language for Moving Objects Databases","volume":"27","author":"Wang","year":"2023","journal-title":"Geoinformatica"},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"29","DOI":"10.1007\/s10707-023-00496-3","article-title":"Multilingual spatial domain natural language interface to databases","volume":"28","author":"Wang","year":"2024","journal-title":"Geoinformatica"},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Jiang, Y., and Yang, C. (2024). Is ChatGPT a Good Geospatial Data Analyst? Exploring the Integration of Natural Language into Structured Query Language within a Spatial Database. ISPRS Int. J. Geo-Inf., 13.","DOI":"10.3390\/ijgi13010026"},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Mansourian, A., and Oucheikh, R. (2024). ChatGeoAI: Enabling Geospatial Analysis for Public through Natural Language, with Large Language Models. ISPRS Int. J. Geo-Inf., 13.","DOI":"10.3390\/ijgi13100348"},{"key":"ref_41","doi-asserted-by":"crossref","unstructured":"Li, D., Zhao, Y., Wang, Z., Jung, C., and Zhang, Z. (2024). Large Language Model-Driven Structured Output: A Comprehensive Benchmark and Spatial Data Generation Framework. ISPRS Int. J. Geo-Inf., 13.","DOI":"10.3390\/ijgi13110405"},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Pierdicca, R., Muralikrishna, N., Tonetto, F., and Ghianda, A. (2025). On the Use of LLMs for GIS-Based Spatial Analysis. ISPRS Int. J. Geo-Inf., 14.","DOI":"10.3390\/ijgi14100401"},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Wang, H., Guo, L., Liang, Y., Liu, L., and Huang, J. (2025). GPT-Based Text-to-SQL for Spatial Databases. ISPRS Int. J. Geo-Inf., 14.","DOI":"10.3390\/ijgi14080288"},{"key":"ref_44","doi-asserted-by":"crossref","unstructured":"Yu, T., Zhang, R., Yang, K., Yasunaga, M., Wang, D., Li, Z., Ma, J., Li, I., Yao, Q., and Roman, S. (November, January 31). Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Task. Proceedings of the EMNLP 2018, Brussels, Belgium.","DOI":"10.18653\/v1\/D18-1425"},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"Zhu, D., Wang, L., Yang, N., Song, Y., Wu, W., Wei, F., and Li, S. (2024, January 12\u201316). LongEmbed: Extending Embedding Models for Long Context Retrieval. Proceedings of the EMNLP 2024, Miami, FL, USA.","DOI":"10.18653\/v1\/2024.emnlp-main.47"}],"container-title":["ISPRS International Journal of Geo-Information"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2220-9964\/15\/6\/248\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,10]],"date-time":"2026-06-10T10:22:08Z","timestamp":1781086928000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2220-9964\/15\/6\/248"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,2]]},"references-count":45,"journal-issue":{"issue":"6","published-online":{"date-parts":[[2026,6]]}},"alternative-id":["ijgi15060248"],"URL":"https:\/\/doi.org\/10.3390\/ijgi15060248","relation":{},"ISSN":["2220-9964"],"issn-type":[{"value":"2220-9964","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,2]]}}}