A Transfer-Learnable Natural Language Interface for Databases

09/07/2018
by   Wenlu Wang, et al.
0

Relational database management systems (RDBMSs) are powerful because they are able to optimize and answer queries against any relational database. A natural language interface (NLI) for a database, on the other hand, is tailored to support that specific database. In this work, we introduce a general purpose transfer-learnable NLI with the goal of learning one model that can be used as NLI for any relational database. We adopt the data management principle of separating data and its schema, but with the additional support for the idiosyncrasy and complexity of natural languages. Specifically, we introduce an automatic annotation mechanism that separates the schema and the data, where the schema also covers knowledge about natural language. Furthermore, we propose a customized sequence model that translates annotated natural language queries to SQL statements. We show in experiments that our approach outperforms previous NLI methods on the WikiSQL dataset and the model we learned can be applied to another benchmark dataset OVERNIGHT without retraining.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/11/2019

DBPal: Weak Supervision for Learning a Natural Language Interface to Databases

This paper describes DBPal, a new system to translate natural language u...
research
09/03/2019

Frameworks for Querying Databases Using Natural Language: A Literature Review

A Natural Language Interface (NLI) facilitates users to pose queries to ...
research
10/07/2022

xDBTagger: Explainable Natural Language Interface to Databases Using Keyword Mappings and Schema Graph

Translating natural language queries (NLQ) into structured query languag...
research
01/16/2020

Schema2QA: Answering Complex Queries on the Structured Web with a Neural Model

Virtual assistants today require every website to submit skills individu...
research
10/03/2017

AutoMode: Relational Learning With Less Black Magic

Relational databases are valuable resources for learning novel and inter...
research
10/09/2020

AutoQA: From Databases To QA Semantic Parsers With Only Synthetic Training Data

We propose AutoQA, a methodology and toolkit to generate semantic parser...
research
12/09/2017

Assessing Achievability of Queries and Constraints

Assessing and improving the quality of data in data-intensive systems ar...

Please sign up or login with your details

Forgot password? Click here to reset