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
相关论文
共 7 条
  • [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] SQL EER - SYNTAX AND SEMANTICS OF AN ENTITY-RELATIONSHIP-BASED QUERY LANGUAGE
    HOHENSTEIN, U
    ENGELS, G
    INFORMATION SYSTEMS, 1992, 17 (03) : 209 - 242
  • [3] Cross-domain Effects of Music and Language Experience on the Representation of Pitch in the Human Auditory Brainstem
    Bidelman, Gavin M.
    Gandour, Jackson T.
    Krishnan, Ananthanarayan
    JOURNAL OF COGNITIVE NEUROSCIENCE, 2011, 23 (02) : 425 - 434
  • [4] Application of a Configurable Keywords-Based Query Language to the Healthcare Domain
    Rencis, Edgars
    JOURNAL OF ADVANCES IN INFORMATION TECHNOLOGY, 2021, 12 (02) : 142 - 147
  • [5] SQL/SDA: A query language for supporting spatial data analysis and its Web-based implementation
    Lin, H
    Huang, B
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2001, 13 (04) : 671 - 682
  • [6] A Personality-Driven Recommender System for Cross-Domain Learning Based on Holland Code Assessments
    Su, Ja-Hwung
    Liao, Yi-Wen
    Xu, Jia-Zhen
    Zhao, Yu-Wei
    SUSTAINABILITY, 2021, 13 (07)
  • [7] End-to-End Space-Efficient Pipeline for Natural Language Query based Spacecraft Health Data Analytics using Large Language Model (LLM)
    Ram, Gummuluri Venkata Ravi
    Ashinee, Kesanam
    Kumar, M. Anand
    2024 5TH INTERNATIONAL CONFERENCE ON INNOVATIVE TRENDS IN INFORMATION TECHNOLOGY, ICITIIT 2024, 2024,