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

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

4 Citations (Scopus)

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.

Original languageEnglish
Title of host publication2020 2nd International Multidisciplinary Information Technology and Engineering Conference, IMITEC 2020
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9781728195209
DOIs
Publication statusPublished - 25 Nov 2020
Event2nd International Multidisciplinary Information Technology and Engineering Conference, IMITEC 2020 - Kimberley, South Africa
Duration: 25 Nov 202027 Nov 2020

Publication series

Name2020 2nd International Multidisciplinary Information Technology and Engineering Conference, IMITEC 2020

Conference

Conference2nd International Multidisciplinary Information Technology and Engineering Conference, IMITEC 2020
Country/TerritorySouth Africa
CityKimberley
Period25/11/2027/11/20

Keywords

  • Relational database
  • SQL tutoring
  • Speech recognition
  • Verbal Specification

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Networks and Communications
  • Computer Science Applications
  • Hardware and Architecture
  • Information Systems
  • Information Systems and Management

Fingerprint

Dive into the research topics of 'TalkSQL: A Tool for the Synthesis of SQL Queries from Verbal Specifications'. Together they form a unique fingerprint.

Cite this