Back to Search Start Over

Translating synthetic natural language to database queries with a polyglot deep learning framework

Authors :
Adrián Bazaga
Nupur Gunwant
Gos Micklem
Source :
Scientific Reports, Vol 11, Iss 1, Pp 1-11 (2021)
Publication Year :
2021
Publisher :
Nature Portfolio, 2021.

Abstract

Abstract The number of databases as well as their size and complexity is increasing. This creates a barrier to use especially for non-experts, who have to come to grips with the nature of the data, the way it has been represented in the database, and the specific query languages or user interfaces by which data are accessed. These difficulties worsen in research settings, where it is common to work with many different databases. One approach to improving this situation is to allow users to pose their queries in natural language. In this work we describe a machine learning framework, Polyglotter, that in a general way supports the mapping of natural language searches to database queries. Importantly, it does not require the creation of manually annotated data for training and therefore can be applied easily to multiple domains. The framework is polyglot in the sense that it supports multiple different database engines that are accessed with a variety of query languages, including SQL and Cypher. Furthermore Polyglotter supports multi-class queries. Good performance is achieved on both toy and real databases, as well as a human-annotated WikiSQL query set. Thus Polyglotter may help database maintainers make their resources more accessible.

Subjects

Subjects :
Medicine
Science

Details

Language :
English
ISSN :
20452322
Volume :
11
Issue :
1
Database :
Directory of Open Access Journals
Journal :
Scientific Reports
Publication Type :
Academic Journal
Accession number :
edsdoj.1cd9a00efc4c4af795a5321ffe3aca56
Document Type :
article
Full Text :
https://doi.org/10.1038/s41598-021-98019-3