Abstract

Text2SQL can help non-professionals connect with databases by turning natural languages into SQL. Although previous researches about Text2SQL have provided some workable solutions, most of them extract values based on column representation. If there are multiple values in the query and these values belong to different columns, the previous approaches based on column representation cannot accurately extract values. In this work, we propose a new neural network architecture based on the pre-trained BERT, called M-SQL. The column-based value extraction is divided into two modules, value extraction and value-column matching. We evaluate M-SQL on a more complicated TableQA dataset, which comes from an AI competition. We rank first in this competition. Experimental results and competition ranking show that our proposed M-SQL achieves state-of-the-art results on TableQA.

Highlights

  • Semantic parsing refers to transforming natural languages into other meaningful logical representations which could usually be executed by computers

  • We focus on the Text2SQL generation task on TableQA

  • 1) First, for the more complicated single-table Text2SQL task TableQA, we extended the WikiSQL framework and proposed M-SQL

Read more

Summary

Introduction

Semantic parsing refers to transforming natural languages into other meaningful logical representations which could usually be executed by computers. Representative work includes Text2Code [1], Text2SQL [2], Text2Sparql [3], etc. Text2SQL is an important task in semantic parsing. It can help non-professionals connect with databases by turning natural languages into SQL. This task has many potential applications in real life, such as question answering [4], robot navigation [5] and so on.

Methods
Findings
Discussion
Conclusion

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.