Text-to-OverpassQL: A Natural Language Interface for Complex Geodata Querying of OpenStreetMap
Not on the map. Why?
Abstract (arXiv)
We present Text-to-OverpassQL, a task designed to facilitate a natural language interface for querying geodata from OpenStreetMap (OSM). The Overpass Query Language (OverpassQL) allows users to formulate complex database queries and is widely adopted in the OSM ecosystem. Generating Overpass queries from natural language input serves multiple use-cases. It enables novice users to utilize OverpassQL without prior knowledge, assists experienced users with crafting advanced queries, and enables tool-augmented large language models to access information stored in the OSM database. In order to assess the performance of current sequence generation models on this task, we propose OverpassNL, a dataset of 8,352 queries with corresponding natural language inputs. We further introduce task specific evaluation metrics and ground the evaluation of the Text-to-OverpassQL task by executing the queries against the OSM database. We establish strong baselines by finetuning sequence-to-sequence models and adapting large language models with in-context examples. The detailed evaluation reveals strengths and weaknesses of the considered learning strategies, laying the foundations for further research into the Text-to-OverpassQL task.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 21 of its 44 references that are in the map. First posted on arXiv 30 Aug 2023.
Builds on
21 of 44 references.
References · 21
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
- 2023Teaching Large Language Models to Self-Debugcited by 988
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
9 more
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 687
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 477
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 411
- 2020GraPPa: Grammar-Augmented Pre-Training for Table Semantic Parsingcited by 171
- 2020Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsingcited by 133
- 2017Learning a Neural Semantic Parser from User Feedbackcited by 99
- 2019Editing-Based SQL Query Generation for Cross-Domain Context-Dependent Questionscited by 80
- 2018Improving a Neural Semantic Parser by Counterfactual Learning from Human Bandit Feedbackcited by 32
Built on by
Citing papers per year: 2024: 2; 2025: 6; 2026: 1.
9 papers.
- 2024An Autonomous GIS Agent Framework for Geospatial Data Retrievalcited by 26
- 2025MultiTEND: A Multilingual Benchmark for Natural Language to NoSQL Query Translationcited by 3
- 2025Towards a Barrier-free GeoQA Portal: Natural Language Interaction with Geospatial Data Using Multi-Agent LLMs and Semantic Searchcited by 3
- 2025From Questions to Queries: An AI-powered Multi-Agent Framework for Spatial Text-to-SQLcited by 2
- 2024From Text to CQL: Bridging Natural Language and Corpus Search Enginecited by 1
- 2025Text-to-TrajVis: Enabling Trajectory Data Visualizations from Natural Language Questionscited by 1
- 2025SPOT: Bridging Natural Language and Geospatial Search for Investigative Journalistscited by 0
- 2025OsmT: Bridging OpenStreetMap Queries and Natural Language with Open-source Tag-aware Language Modelscited by 0
- 2026Natural Language Interfaces for Spatial and Temporal Databases: A Comprehensive Overview of Methods, Taxonomy, and Future Directionscited by 0
- 2026Natural Language Interfaces for Spatial and Temporal Databases: A Comprehensive Overview of Methods, Taxonomy, and Future Directions24 Mar 2026
- 2025OsmT: Bridging OpenStreetMap Queries and Natural Language with Open-source Tag-aware Language Models4 Dec 2025
- 2025From Questions to Queries: An AI-powered Multi-Agent Framework for Spatial Text-to-SQL23 Oct 2025
- 2025SPOT: Bridging Natural Language and Geospatial Search for Investigative Journalists16 Jun 2025
- 2025Text-to-TrajVis: Enabling Trajectory Data Visualizations from Natural Language Questions23 Apr 2025
- 2025Towards a Barrier-free GeoQA Portal: Natural Language Interaction with Geospatial Data Using Multi-Agent LLMs and Semantic Search18 Mar 2025
- 2025MultiTEND: A Multilingual Benchmark for Natural Language to NoSQL Query Translation16 Feb 2025
- 2024An Autonomous GIS Agent Framework for Geospatial Data Retrieval13 Jul 2024
- 2024From Text to CQL: Bridging Natural Language and Corpus Search Engine21 Feb 2024