Translating Place-Related Questions to GeoSPARQL Queries
Ehsan Hamzei, Martin Tomko, Stephan Winter
Abstract
Many place-related questions can only be answered by complex spatial reasoning, a task poorly supported by factoid question retrieval. Such reasoning using combinations of spatial and non-spatial criteria pertinent to place-related questions is increasingly possible on linked data knowledge bases. Yet, to enable question answering based on linked knowledge bases, natural language questions must first be re-formulated as formal queries. Here, we first present an enhanced version of YAGO2geo, the geospatially-enabled variant of the YAGO2 knowledge base, by linking and adding more than one million places from OpenStreetMap data to YAGO2. We then propose a novel approach to translate the place-related questions into logical representations, theoretically grounded in the core concepts of spatial information. Next, we use a dynamic template-based approach to generate fully executable GeoSPARQL queries from the logical representations. We test our approach using the Geospatial Gold Standard dataset and report substantial improvements over existing methods.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 7db6cf01-fa09-45f7-bbd2-09dad289cb31Cited by top-tier papers2
- PolygonGNN: Representation Learning for Polygonal Geometries with Heterogeneous Visibility GraphDazhou Yu, Yuntong Hu, Yun Li, Liang ZhaoKDD 2024 · 9 citations
- Answering Complex Geographic Questions by Adaptive Reasoning with Visual Context and External Commonsense KnowledgeFan Li, Jianxing Yu, Jielong Tang, Wenqing Chen et al.ACL 2025 · 3 citations
Related papers
- GeoLM: Empowering Language Models for Geospatially Grounded Language UnderstandingZekun Li, Wenxuan Zhou, Yao-Yi Chiang, Muhao ChenEMNLP 2023 · 25 citations
- SpaRE: Enhancing Spatial Reasoning in Vision-Language Models with Synthetic DataMichael Ogezi, Freda ShiACL 2025 · 19 citations
- Joint Spatio-Textual Reasoning for Answering Tourism QuestionsDanish Contractor, Shashank Goel, Mausam, Parag SinglaWWW 2021 · 22 citations
- DialogueVPR: Towards Conversational Visual Place RecognitionYukun Song, Changwei Wang, Xingtian Pei, Shibiao Xu et al.CVPR 2026 · 1 citation
- Transfer Learning with Synthetic Corpora for Spatial Role Labeling and ReasoningRoshanak Mirzaee, Parisa KordjamshidiEMNLP 2022 · 10 citations
