Translating Place-Related Questions to GeoSPARQL Queries

Ehsan Hamzei, Martin Tomko, Stephan Winter
5/6/2022
cs.IR

Official code: hamzeiehsan/Questions-To-GeoSPARQL (2 stars, Python, last commit 2023-09-09).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Place Questions to GeoSPARQL

21PythonJan 15, 20223 years ago

Similar Papers

Cite this paper

@article{hamzei2022translating,
  title  = {Translating Place-Related Questions to GeoSPARQL Queries},
  author = {Ehsan Hamzei and Martin Tomko and Stephan Winter},
  year   = {2022},
  eprint = {2205.03067},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.03067}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.03067.svg)](https://codeofpaper.com/paper/2205.03067)

Discussion