SpatialNLI
Authors:
Open Access
- 5 November 2019
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 339-348
Abstract
A natural language interface (NLI) to databases is an interface that translates a natural language question to a structured query that is executable by database management systems (DBMS). However, an NLI that is trained in the general domain is hard to apply in the spatial domain due to the idiosyncrasy and expressiveness of the spatial questions. Inspired by the machine comprehension model, we propose a spatial comprehension model that is able to recognize the meaning of spatial entities based on the semantics of the context. The spatial semantics learned from the spatial comprehension model is then injected to the natural language question to ease the burden of capturing the spatial-specific semantics. With our spatial comprehension model and information injection, our NLI for the spatial domain, named SpatialNLI, is able to capture the semantic structure of the question and translate it to the corresponding syntax of an executable query accurately. We also experimentally ascertain that SpatialNLI outperforms state-of-the-art methods.Keywords
Funding Information
- National Science Foundation (IIS-1618669 (III), ACI-1642133 (CICI))
This publication has 25 references indexed in Scilit:
- Type-Driven Incremental Semantic Parsing with Polymorphism2015
- Building a Semantic Parser Overnight2015
- Morpho-syntactic Lexical Generalization for CCG Semantic Parsing2014
- Glove: Global Vectors for Word Representation2014
- Learning Dependency-Based Compositional SemanticsComputational Linguistics, 2013
- A linguistic ontology of space for natural language processingArtificial Intelligence, 2010
- NaLIX2005
- Towards a theory of natural language interfaces to databases2003
- Automated construction of database interfaces2000
- Natural language interfaces to databases – an introductionNatural Language Engineering, 1995