Text-to-OverpassQL: A Natural Language Interface for Complex Geodata Querying of OpenStreetMap
Michael Staniek, Raphael Schumann, Maike Z\"ufle, Stefan, Riezler

TL;DR
This paper introduces Text-to-OverpassQL, a natural language interface for querying OpenStreetMap data, including a new dataset, evaluation metrics, and baseline models to facilitate research in this area.
Contribution
It presents the first dataset and evaluation framework for translating natural language to OverpassQL queries, enabling easier access to geospatial data for users.
Findings
Sequence models can generate OverpassQL with moderate accuracy.
Large language models show potential with in-context learning.
Evaluation by executing queries highlights strengths and weaknesses of models.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSemantic Web and Ontologies · Natural Language Processing Techniques · Topic Modeling
