F-SQL: Fuse Table Schema and Table Content for Single-Table Text2SQL Generation

Xiaoyu Zhang,Fengjing Yin,Guojie Ma,Bin Ge,Weidong Xiao
DOI: https://doi.org/10.1109/access.2020.3011747
IF: 3.9
2020-01-01
IEEE Access
Abstract:Automatically parsing SQL queries from natural languages can help non-professionals access databases and improve the efficiency of information utilization. It is a long-term research issue and has recently received attention from the relevant communities. Although previous researches have provided some workable solutions, most of them only consider table schemas and natural language questions when parsing SQL queries, and do not use table contents. We observe that table contents can provide more helpful information for some user questions. In this paper, we propose a novel neural network approach, F-SQL, to focus on solving the problem of table content utilization. In particular, we employ the gate mechanism to fuse table schemas and table contents and get the more different representation about table schemas. We test this idea on the WikiSQL and TableQA datasets. Experimental results show that F-SQL achieves new state-of-the-art results on WikiSQL and TableQA.
computer science, information systems,telecommunications,engineering, electrical & electronic
What problem does this paper attempt to address?