Natural Language Interface for Databases Using a Dual-Encoder Model
We propose a sketch-based two-step neural model for generating structured queries (SQL) based on a user{'}s request in natural language. The sketch is obtained by using placeholders for specific entities in the SQL query, such as column names, table names, aliases and variables, in a process similar to semantic parsing. The first step is to apply a sequence-to-sequence (SEQ2SEQ) model to determine the most probable SQL sketch based on the request in natural language. Then, a second network designed as a dual-encoder SEQ2SEQ model using both the text query and the previously obtained sketch is employed to generate the final SQL query. Our approach shows improvements over previous approaches on two recent large datasets (WikiSQL and SENLIDB) suitable for data-driven solutions for natural language interfaces for databases.
Code (0)
등록된 구현이 없습니다.
Tasks
Machine TranslationSemantic ParsingMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Neural Approaches for Natural Language Interfaces to Databases: A Survey
A natural language interface to databases (NLIDB) enables users without technical expertise to easily access information from relational databases. Interest in NLIDBs has resurged in the past years due to the availabilit…
DecoderSurveyDataset for a Neural Natural Language Interface for Databases (NNLIDB)
Progress in natural language interfaces to databases (NLIDB) has been slow mainly due to linguistic issues (such as language ambiguity) and domain portability. Moreover, the lack of a large corpus to be used as a standar…
TranslationxDBTagger: Explainable Natural Language Interface to Databases Using Keyword Mappings and Schema Graph
Translating natural language queries (NLQ) into structured query language (SQL) in interfaces to relational databases is a challenging task that has been widely studied by researchers from both the database and natural l…
Natural Language QueriesAn End-to-end Neural Natural Language Interface for Databases
The ability to extract insights from new data sets is critical for decision making. Visual interactive tools play an important role in data exploration since they provide non-technical users with an effective way to visu…
Decision MakingTowards a Natural Language Query Processing System
Tackling the information retrieval gap between non-technical database end-users and those with the knowledge of formal query languages has been an interesting area of data management and analytics research. The use of na…
Information RetrievalManagementRetrieval