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 条
  • [21] Edgebase: A Cooperative Query Answering Database System With A Natural Language Interface
    Sowah, Edmund
    Xu, Jianqiu
    2018 INTERNATIONAL CONFERENCE ON ALGORITHMS, COMPUTING AND ARTIFICIAL INTELLIGENCE (ACAI 2018), 2018,
  • [22] Robot Plan Model Generation and Execution with Natural Language Interface
    Yang, Kyon-Mo
    Seo, Kap-Ho
    Kang, Sang Hoon
    Lim, Yoonseob
    2020 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION (ICRA), 2020, : 6973 - 6978
  • [23] Intelligent SPARQL Query Generation for Natural Language Processing Systems
    Chen, Yi-Hui
    Lu, Eric Jui-Lin
    Ou, Ting-An
    IEEE ACCESS, 2021, 9 : 158638 - 158650
  • [24] Domain Specific Query Generation from Natural Language Text
    Iftikhar, Anum
    Iftikhar, Erum
    Mehmood, Muhammad Khalid
    2016 SIXTH INTERNATIONAL CONFERENCE ON INNOVATIVE COMPUTING TECHNOLOGY (INTECH), 2016, : 502 - 506
  • [25] Bridging language to visuals: towards natural language query-to-chart image retrieval
    Verma, Neelu
    De, Anik
    Mishra, Anand
    INTERNATIONAL JOURNAL OF MULTIMEDIA INFORMATION RETRIEVAL, 2024, 13 (03)
  • [26] NATURAL-LANGUAGE GENERATION FROM PLANS (EXTENDED ABSTRACT)
    MELLISH, C
    INTERNATIONAL FORUM ON INFORMATION AND DOCUMENTATION, 1992, 17 (02): : 13 - 14
  • [27] Field-embedded database query system based on natural language processing
    Long, Fei
    INTERNATIONAL JOURNAL OF EMBEDDED SYSTEMS, 2023, 16 (5-6) : 331 - 342
  • [28] QUANTRA - Query understander and translator a natural language interface to relational database systems
    Srinivasa, D
    8TH WORLD MULTI-CONFERENCE ON SYSTEMICS, CYBERNETICS AND INFORMATICS, VOL V, PROCEEDINGS: COMPUTER SCIENCE AND ENGINEERING, 2004, : 266 - 271
  • [29] Using a logic programming framework to control database query dialogues in natural language
    Quintano, Luis
    Rodrigues, Irene
    LOGIC PROGRAMMING, PROCEEDINGS, 2006, 4079 : 406 - 420
  • [30] RULE-BASED INFERENCE SYSTEM FOR NATURAL LANGUAGE DATABASE QUERY.
    Mark, William S.
    Research Publication - General Motors Research Laboratories, 1980, (GMR-3290):