An SQL query generator for cross-domain human language based questions based on NLP model

被引:3
|
作者
Naik, B. Balaji [1 ]
Reddy, T. Jaya Venkata Rama [2 ]
Karthik, K. Rohith Venkata [2 ]
Kuila, Pratyay [2 ]
机构
[1] Natl Inst Technol Patna, Comp Sci & Engn, Patna 800005, Bihar, India
[2] Natl Inst Technol Sikkim, Comp Sci & Engn, Ravangla 737139, Sikkim, India
关键词
SQL; Sentence-Table Encoder; Table-aware Decoder; Sparc; Spider; CoSQL; INTERFACE;
D O I
10.1007/s11042-023-15731-0
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The amount of data generated in the modern world is so great that data lakes are now being used to store data. However, relational databases are currently the primary repository for the world's data. However, it is very time-consuming for a user to type each query every time, especially the queries that include complex keywords. Our proposed approach uses the interaction history by altering the preceding projected query to improve the generation quality, based on the finding that successive human language queries are frequently lin- guistically dependent, and their equivalent SQL queries overlap. This paper focuses on text-to-SQL conversion for cross-domain datasets. Our approach reuses results produced at the token level and considers SQL statements as sequences. Finally, we evaluate our approach on different datasets like the Sparc, Spider, and CoSQL datasets. It compared our proposed approach with existing famous algorithms like Seq2seq, and added attention and copying to the seq2seq model, SQLNet model, and TypeSQL model in terms of accuracy and F1 score.
引用
收藏
页码:11861 / 11884
页数:24
相关论文
共 50 条
  • [1] An SQL query generator for cross-domain human language based questions based on NLP model
    B. Balaji Naik
    T. Jaya Venkata Rama Reddy
    K. Rohith Venkata karthik
    Pratyay Kuila
    Multimedia Tools and Applications, 2024, 83 : 11861 - 11884
  • [2] Editing-based SQL query generation for cross-domain context-dependent questions
    Zhang, Rui
    Yu, Tao
    Er, He Yang
    Shim, Sungrok
    Xue, Eric
    Lin, Xi Victoria
    Shi, Tianze
    Xiong, Caiming
    Socher, Richard
    Radev, Dragomir
    arXiv, 2019,
  • [3] Editing-Based SQL Query Generation for Cross-Domain Context-Dependent Questions
    Zhang, Rui
    Yu, Tao
    Er, He Yang
    Shim, Sungrok
    Xue, Eric
    Lin, Xi Victoria
    Shi, Tianze
    Xiong, Caiming
    Socher, Richard
    Radev, Dragomir
    2019 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING AND THE 9TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING (EMNLP-IJCNLP 2019): PROCEEDINGS OF THE CONFERENCE, 2019, : 5338 - 5349
  • [4] GTR: An SQL Generator With Transition Representation in Cross-Domain Database Systems
    Qiao, Shaojie
    Liu, Chenxu
    Yang, Guoping
    Han, Nan
    Peng, Yuhan
    Wu, Lingchun
    Li, He
    Yuan, Guan
    IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2024, 35 (12) : 17908 - 17920
  • [5] Capturing SQL Query Overlapping via Subtree Copy for Cross-Domain Context-Dependent SQL Generation
    Zhao, Ruizhuo
    Gao, Jinhua
    Shen, Huawei
    Cheng, Xueqi
    ADVANCES IN KNOWLEDGE DISCOVERY AND DATA MINING, PAKDD 2021, PT II, 2021, 12713 : 664 - 675
  • [6] Generalizability of NLP-based Models for Modern Software Development Cross-Domain Environments
    Krasniqi, Rrezarta
    Do, Hyunsook
    2023 IEEE/ACM 2ND INTERNATIONAL WORKSHOP ON NATURAL LANGUAGE-BASED SOFTWARE ENGINEERING, NLBSE, 2023, : 11 - +
  • [7] Cross-Domain Text Classification Based on BERT Model
    Zhang, Kuan
    Hei, Xinhong
    Fei, Rong
    Guo, Yufan
    Jiao, Rui
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS: DASFAA 2021 INTERNATIONAL WORKSHOPS, 2021, 12680 : 197 - 208
  • [8] Converting Complex Natural Language Query to SQL Based on Tree Representation Model
    Zhao M.
    Chen K.
    Shou L.-D.
    Wu S.
    Chen G.
    Ruan Jian Xue Bao/Journal of Software, 2022, 33 (12): : 4727 - 4745
  • [9] An efficient Web-based semantic SQL query generator
    Rishe, N
    Naboulsi, K
    Wolfson, O
    Ehlmann, B
    19TH IEEE INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS WORKSHOP, PROCEEDINGS, 1999, : 23 - 30
  • [10] MSQL - the language of extended multimedia query based on SQL
    Xiaoxing Weixing Jisuanji Xitong, 8 (33-38):