Towards Enhancing Database Education: Natural Language Generation Meets Query Execution Plans

被引:11
|
作者
Wang, Weiguo [1 ,2 ]
Bhowmick, Sourav S. [1 ]
Li, Hui [2 ]
Joty, Shafiq [1 ]
Liu, Siyuan [1 ]
Chen, Peng [2 ]
机构
[1] Nanyang Technol Univ, Sch Comp Sci & Engn, Singapore, Singapore
[2] Xidian Univ, Sch Cyber Engn, Xian, Peoples R China
基金
中国国家自然科学基金;
关键词
REPETITION; BOREDOM;
D O I
10.1145/3448016.3452822
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The database systems course is offered as part of an undergraduate computer science degree program in many major universities. A key learning goal of learners taking such a course is to understand how SQL queries are processed in a RDBMS in practice. Since a query execution plan (QEP) describes the execution steps of a query, learners can acquire the understanding by perusing the QEPS generated by a RDBMS. Unfortunately, in practice, it is often daunting for a learner to comprehend these QEPS containing vendor-specific implementation details, hindering her learning process. In this paper, we present a novel, end-to-end, generic system called LANTERN that generates a natural language description of a QEP to facilitate understanding of the query execution steps. It takes as input an SQL query and its QEP, and generates a natural language description of the execution strategy deployed by the underlying RDBMS. Specifically, it deploys a declarative framework called POOL that enables subject matter experts to efficiently create and maintain natural language descriptions of physical operators used in QEPS. A rule-based framework called RULE-LANTERN is proposed that exploits POOL to generate natural language descriptions of QEPS. Despite the high accuracy of RULE-LANTERN, our engagement with learners reveal that, consistent with existing psychology theories, perusing such rule-based descriptions lead to boredom due to repetitive statements across different QEPS. To address this issue, we present a novel deep learning-based language generation framework called NEURAL-LANTERN that infuses language variability in the generated description by exploiting a set of paraphrasing tools and word embedding. Our experimental study with real learners shows the effectiveness of LANTERN in facilitating comprehension of QEPS.
引用
收藏
页码:1933 / 1945
页数:13
相关论文
共 50 条
  • [31] Indonesian Text Translator into Database Structured Query Language with Multi Parameters using Natural Language Processing
    Hermawan, G.
    Faturohman, I
    Isharmawan, N.
    2ND INTERNATIONAL CONFERENCE ON INFORMATICS, ENGINEERING, SCIENCE, AND TECHNOLOGY (INCITEST 2019), 2019, 662
  • [32] TOWARDS A NATURAL-LANGUAGE USER-INTERFACE - AN APPROACH OF FUZZY QUERY
    WANG, FJ
    INTERNATIONAL JOURNAL OF GEOGRAPHICAL INFORMATION SYSTEMS, 1994, 8 (02): : 143 - 162
  • [33] Extending Montague semantics for use in natural-language database-query processing
    Roy, M
    Frost, R
    ADVANCES IN ARTIFICIAL INTELLIGENCE, 2004, 3060 : 567 - 568
  • [34] Data Agnostic RoBERTa-based Natural Language to SQL Query Generation
    Pal, Debaditya
    Sharma, Harsh
    Chaudhuri, Kaustubh
    2021 6TH INTERNATIONAL CONFERENCE FOR CONVERGENCE IN TECHNOLOGY (I2CT), 2021,
  • [35] Semantic query graph based SPARQL generation from natural language questions
    Shengli Song
    Wen Huang
    Yulong Sun
    Cluster Computing, 2019, 22 : 847 - 858
  • [36] Semantic query graph based SPARQL generation from natural language questions
    Song, Shengli
    Huang, Wen
    Sun, Yulong
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2019, 22 (Suppl 1): : 847 - 858
  • [37] A Comprehensive Evaluation of Neural SPARQL Query Generation From Natural Language Questions
    Diallo, Papa Abdou Karim Karou
    Reyd, Samuel
    Zouaq, Amal
    IEEE ACCESS, 2024, 12 : 125057 - 125078
  • [38] SGPT: A Generative Approach for SPARQL Query Generation From Natural Language Questions
    Rony, Md Rashad Al Hasan
    Kumar, Uttam
    Teucher, Roman
    Kovriguina, Liubov
    Lehmann, Jens
    IEEE ACCESS, 2022, 10 : 70712 - 70723
  • [39] A Simple Guide to Implement Data Retrieval through Natural Language Database Query Interface (NLDQ)
    Ahmad, Tameem
    Ahmad, Nesar
    PROCEEDINGS OF THE 2019 8TH INTERNATIONAL CONFERENCE ON SYSTEM MODELING & ADVANCEMENT IN RESEARCH TRENDS (SMART-2019), 2019, : 37 - 41
  • [40] Natural Language Generation System for Knowledge Acquisition Based on Patent Database
    Rene, Antonio Oliveira Nzinga
    Okuhara, Koji
    Matsui, Takeshi
    JOURNAL OF ADVANCED COMPUTATIONAL INTELLIGENCE AND INTELLIGENT INFORMATICS, 2022, 26 (02) : 160 - 168