Translating natural language questions to SQL queries (nested queries)

被引:0
|
作者
Sindhuja Swamidorai
T Satyanarayana Murthy
K V Sriharsha
机构
[1] UpGrad,Data Science
[2] CBIT,Information Technology
[3] NIT Trichy,Computer Applications
来源
关键词
Text-to-SQL nested queries; Spider;
D O I
暂无
中图分类号
学科分类号
摘要
Real world questions are generally complex and need the user to extract information from multiple tables in a database using complex SQL queries like nested queries. Though the overall accuracy in translation of Natural Language queries to SQL queries lies close to 75%, the accuracy of complex queries is still quite less, around 60% in the current state-of-the-art models. In this vein, this study proposes to improve the current IRNet framework for translating natural language queries to nested SQL queries, one type of complex queries. Data oversampling is first used to boost the representation of nested queries in order to achieve this goal. Second, a novel loss function that computes the overall loss while accounting for the complexity of SQL, as measured by the quantity of SELECT columns and keywords in the SQL query. The proposed method exhibited a 5% improvement in prediction of hard and extra hard queries when tested on Spider’s development dataset.
引用
收藏
页码:45391 / 45405
页数:14
相关论文
共 50 条
  • [31] X2S: Translating XPath into efficient SQL queries
    Gao, J
    Yang, DQ
    Liu, YF
    [J]. CONCEPTUAL MODELING FOR ADVANCED APPLICATION DOMAINS, PROCEEDINGS, 2004, 3289 : 210 - 222
  • [32] Auditing SQL queries
    Motwani, Rajeev
    Nabar, Shubha U.
    Thomas, Dilys
    [J]. 2008 IEEE 24TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2008, : 287 - +
  • [33] Methodology of Transformation of Fuzzy Queries into Queries in the SQL Standard
    Nowakowski, Grzegorz
    [J]. PROCEEDINGS OF THE 2019 10TH IEEE INTERNATIONAL CONFERENCE ON INTELLIGENT DATA ACQUISITION AND ADVANCED COMPUTING SYSTEMS - TECHNOLOGY AND APPLICATIONS (IDAACS), VOL. 2, 2019, : 674 - 679
  • [34] Mapping algorithms to translate natural language questions into search queries for Web databases
    Jacso, P
    [J]. NATIONAL ONLINE MEETING, PROCEEDINGS - 1997, 1997, : 189 - 199
  • [35] Articulate: A Semi-automated Model for Translating Natural Language Queries into Meaningful Visualizations
    Sun, Yiwen
    Leigh, Jason
    Johnson, Andrew
    Lee, Sangyoon
    [J]. SMART GRAPHICS, PROCEEDINGS, 2010, 6133 : 184 - 195
  • [36] A Robust Ontology-Based Method for Translating Natural Language Queries to Conceptual Graphs
    Cao, Tru H.
    Cao, Truong D.
    Tran, Thang L.
    [J]. SEMANTIC WEB, PROCEEDINGS, 2008, 5367 : 479 - 492
  • [37] Explaining Structured Queries in Natural Language
    Koutrika, Georgia
    Simitsis, Alkis
    Ioannidis, Yannis E.
    [J]. 26TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING ICDE 2010, 2010, : 333 - 344
  • [38] Natural Language queries in CBR systems
    Diaz-Agudo, Belen
    Recio-Garcia, Juan A.
    Gonzalez-Calero, Pedro A.
    [J]. 19TH IEEE INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE, VOL II, PROCEEDINGS, 2007, : 468 - 472
  • [39] Understanding Search Queries in Natural Language
    Neverilova, Zuzana
    Kvassay, Matej
    [J]. RASLAN 2018: RECENT ADVANCES IN SLAVONIC NATURAL LANGUAGE PROCESSING, 2018, : 85 - 93
  • [40] Natural Language Understanding for Partial Queries
    Liu, Xiaohu
    Celikyilmaz, Asli
    Sarikaya, Ruhi
    [J]. 2015 IEEE WORKSHOP ON AUTOMATIC SPEECH RECOGNITION AND UNDERSTANDING (ASRU), 2015, : 397 - 400