计算机科学
空间查询
查询语言
可执行文件
情报检索
自然语言
加入
数据库
自然语言处理
程序设计语言
Web查询分类
Web搜索查询
搜索引擎
作者
Mengyi Liu,Xieyang Wang,Jianqiu Xu,Hua Lu
标识
DOI:10.1145/3589132.3625600
摘要
Spatial databases play a vital role in many applications that access spatial data via appropriate queries. However, most application users lack the expertise necessary for formulating spatial queries. To fill in this gap, we propose an effective framework called NALSpatial that translates natural language queries over spatial data into executable database queries. NALSpatial consists of two core phases. The natural language understanding phase extracts key entity information, comprehends the query intent and determines the query type. The key entities and query type are passed to the subsequent natural language translation phase, which employs entity mapping rules and structured language models to construct executable database queries accordingly. We implement NALSpatial on the open-source extensible database system SECONDO to support range queries, nearest neighbor queries, spatial joins and aggregation queries. Extensive experiments show that NALSpatial on average achieves response time of about 2.5 seconds, translatability of 95% and translation precision of 92%, outperforming state-of-the-art natural language transformation methods.
科研通智能强力驱动
Strongly Powered by AbleSci AI