TalkSQL: A Tool for the Synthesis of SQL Queries from Verbal Specifications

George Obaido, Abejide Ade-Ibijola, Hima Vadapalli
{"title":"TalkSQL: A Tool for the Synthesis of SQL Queries from Verbal Specifications","authors":"George Obaido, Abejide Ade-Ibijola, Hima Vadapalli","doi":"10.1109/IMITEC50163.2020.9334088","DOIUrl":null,"url":null,"abstract":"Recent advances in the field of Natural Language Processing (NLP) have led to many robust user interfaces (UIs) designed as intelligent tutoring systems (ITS) that help students learn, query and access data in relational databases. Such tools are generally referred to as Natural Language Interfaces to Databases (NLIDBs). Many of these UIs rely on voice or typewritten for further processing. Research has shown that typewritten remains the preferred input method used by database UIs designers for querying relational databases due to its flexibility. Still, there is a dearth of tools that require voice-based inputs for querying relational databases. Despite the scarcity of these tools, many of them fail to provide a comprehensive feedback to a user. In this paper, we introduce a voice-based query system named TalkSQL that takes voice inputs from a user, converts these words into SQL queries and returns a feedback to the user. Automatic feedback generation is of immense importance. To achieve this, we have used regular expressions, a representation of regular languages for the recognition of the Create, Read, Update, Delete (CRUD) operations in SQL and automatically generate a feedback using pre-defined templates. A survey on 53 participants showed that 91.2% agreed that they were able to understand the CRUD command using TalkSQL. The expected contributions are in two-fold: this work may assist a special (e.g. visually impaired) learner to understand SQL queries, and show that a voice-based interface can assist users in understanding SQL queries.","PeriodicalId":349926,"journal":{"name":"2020 2nd International Multidisciplinary Information Technology and Engineering Conference (IMITEC)","volume":" 10","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-11-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 2nd International Multidisciplinary Information Technology and Engineering Conference (IMITEC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IMITEC50163.2020.9334088","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

Recent advances in the field of Natural Language Processing (NLP) have led to many robust user interfaces (UIs) designed as intelligent tutoring systems (ITS) that help students learn, query and access data in relational databases. Such tools are generally referred to as Natural Language Interfaces to Databases (NLIDBs). Many of these UIs rely on voice or typewritten for further processing. Research has shown that typewritten remains the preferred input method used by database UIs designers for querying relational databases due to its flexibility. Still, there is a dearth of tools that require voice-based inputs for querying relational databases. Despite the scarcity of these tools, many of them fail to provide a comprehensive feedback to a user. In this paper, we introduce a voice-based query system named TalkSQL that takes voice inputs from a user, converts these words into SQL queries and returns a feedback to the user. Automatic feedback generation is of immense importance. To achieve this, we have used regular expressions, a representation of regular languages for the recognition of the Create, Read, Update, Delete (CRUD) operations in SQL and automatically generate a feedback using pre-defined templates. A survey on 53 participants showed that 91.2% agreed that they were able to understand the CRUD command using TalkSQL. The expected contributions are in two-fold: this work may assist a special (e.g. visually impaired) learner to understand SQL queries, and show that a voice-based interface can assist users in understanding SQL queries.
TalkSQL:一个从口头说明合成SQL查询的工具
自然语言处理(NLP)领域的最新进展导致许多强大的用户界面(ui)被设计为智能辅导系统(ITS),帮助学生学习,查询和访问关系数据库中的数据。这些工具通常被称为数据库的自然语言接口(nlidb)。许多这些ui依赖于语音或打字来进行进一步处理。研究表明,由于打字的灵活性,它仍然是数据库ui设计人员查询关系数据库时使用的首选输入法。但是,仍然缺乏需要基于语音的输入来查询关系数据库的工具。尽管这些工具稀缺,但它们中的许多都无法向用户提供全面的反馈。在本文中,我们介绍了一个名为TalkSQL的语音查询系统,它从用户那里获取语音输入,将这些单词转换为SQL查询并返回给用户一个反馈。自动反馈生成是非常重要的。为了实现这一点,我们使用了正则表达式,这是一种正则语言的表示形式,用于识别SQL中的Create、Read、Update、Delete (CRUD)操作,并使用预定义模板自动生成反馈。对53名参与者的调查显示,91.2%的人同意他们能够使用TalkSQL理解CRUD命令。预期的贡献有两方面:这项工作可以帮助特殊(例如视障人士)学习者理解SQL查询,并显示基于语音的界面可以帮助用户理解SQL查询。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信