论文速览

论文速览

当前位置: 首页 > 论文速览 > 正文

http://science.ijournals.cn/jsunature_cn/ch/reader/view_abstract.aspx?file_no=W230020&flag=1

作者:

Author:

收稿日期:          年卷(期)页码:2020,61(1):012004-

期刊名称:四川大学学报: 自然科学版

Journal Name:Journal of Sichuan University (Natural Science Edition)

关键字:http://science.ijournals.cn/jsunature_cn/ch/reader/view_abstract.aspx?file_no=W230020&flag=1

Key words:

基金项目:

中文摘要

英文摘要

Abstract:The existing Text2SQL methods rely heavily on the explicit mention of tables and columns in natural language queries, which causes the accuracy rate drops sharply in real-world scenarios when the same object has different names. In addition, these methods only use the database schema to capture the domain knowledge of database modeling, but the database schema, as structured metadata, has a very limited ability to express domain knowledge. This makes it difficult even for experienced programmers to fully comprehend the domain knowledge of database modeling only from the database schema, so programmers require detailed database design documents to construct SQL statements to correctly express specific queries. Therefore, we propose a Text2SQL model that uses dictionaries to expand database schema information, which parses out words or phrases in the tables and columns, queries the dictionary to obtain the semantic interpretations of these words or phrases. These semantic interpretations and the corresponding tables or columns, combined with the tables, columns and other database schema information such as primary key, foreign key are introduced to the model to learn the application field knowledge of database modeling more comprehensively. Experiments on Spider-syn and Spider dataset illustrate the effectiveness of our method, even if the table and column names used in the natural language queries are completely different from the corresponding tables and columns in the database schema, our method can get better SQL translation results, which significantly better than the latest proposed method against synonym substitution.

下一条:http://science.ijournals.cn/jsunature_cn/ch/reader/view_abstract.aspx?file_no=W230037&flag=1

关闭

Copyright © 2020四川大学期刊社 版权所有.

地址:成都市一环路南一段24号

邮编:610065