跳到主要导航 跳到搜索 跳到主要内容

NALSpatial: A Natural Language Interface for Spatial Databases

  • Mengyi Liu
  • , Xieyang Wang
  • , Jianqiu Xu*
  • , Hua Lu
  • , Yongxin Tong
  • *此作品的通讯作者
  • Nanjing University of Aeronautics and Astronautics
  • Roskilde University

科研成果: 期刊稿件文章同行评审

摘要

Spatial databases play a vital role in a number of applications ranging from geographic information systems to location-based services. Application tasks typically access underlying spatial data to answer queries. However, non-experts lack the expertise necessary for formulating spatial queries. To fill in this gap, we propose an effective framework that translates natural language queries over spatial data into executable database queries, called NALSpatial. The framework consists of two core phases: (i) natural language understanding and (ii) natural language translation. Phase (i) extracts key entity information, comprehends the query intent and determines the query type by employing natural language processing techniques and deep learning algorithms. The key entities and query type are passed to phase (ii), which makes use of entity mapping rules and structured language models to construct executable database queries. NALSpatial supports dealing with five types of queries including (i) basic queries (e.g. distance and area), (ii) range queries, (iii) nearest neighbor queries, (iv) spatial join queries and (v) aggregation queries. We develop NALSpatial in an open-source extensible database system SECONDO. Extensive experiments show that NALSpatial on average achieves response time of about 2.5 seconds, translatability of 95% and translation precision of 92%, outperforming three state-of-the-art methods.

源语言英语
页(从-至)2056-2070
页数15
期刊IEEE Transactions on Knowledge and Data Engineering
37
4
DOI
出版状态已出版 - 2025

指纹

探究 'NALSpatial: A Natural Language Interface for Spatial Databases' 的科研主题。它们共同构成独一无二的指纹。

引用此