We found a match
Your institution may have access to this item. Find your institution then sign in to continue.
- Title
Multilingual spatial domain natural language interface to databases.
- Authors
Wang, Wenlu; Li, Jingjing; Ku, Wei-Shinn; Wang, Haixun
- 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 semantics. Moreover, there are a wide range of database servers available, and a unilingual NLI model limits its practical usage. In this article, we propose to not only address the spatial domain generalization challenge, but also support multilingual back-end, i.e., supporting different query languages, such as SQL and Prolog. For the challenge of spatial semantics, we propose a spatial comprehension model that is able to recognize the meaning of spatial entities based on the semantics of context and effectively resolve the ambiguity given the spatial semantics. 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. We also propose to add a prefix symbol to support the multilingual back-end (e.g., query languages). With our spatial comprehension model and symbol injections, 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.
- Subjects
NATURAL languages; DATABASES; MACHINE translating; SEMANTICS; AMBIGUITY; QUERY languages (Computer science)
- Publication
GeoInformatica, 2024, Vol 28, Issue 1, p29
- ISSN
1384-6175
- Publication type
Article
- DOI
10.1007/s10707-023-00496-3