A system to transform natural language queries into SQL queries

被引:0
|
作者
Solanki A. [1 ]
Kumar A. [1 ]
机构
[1] Department of Computer Science and Engineering, Gautam Buddha University, UP, Greater Noida
关键词
Database; NLP; NLQ; SQL;
D O I
10.1007/s41870-018-0095-2
中图分类号
学科分类号
摘要
In the present scenario, every user is not familiar with the use of Structured Query Language (SQL). So, user is not able to understand or write complex queries in SQL. An enhanced application with intelligent interface is needed to improve communication between the naïve user and the databases application. The database is an efficient structure for handling data. To understand the structure of the database, a user has to learn SQL. The non-expert users who are not familiar with the use of SQL, need a system by which the user can interact with the database in their natural language. The system must have the ability to understand the natural language and interact with the database accordingly. In this research, an improved system with three-tier architecture is developed. Pattern matching and semantic matching techniques are used to develop the system which transforms natural language into SQL queries. The SQL query is generated with the production rules and the predefined data dictionary. The predefined data dictionary contains semantics for attributes and relation among attributes. The input given by the user is transformed by the system into SQL query by passing through steps like tokenization, escape word removal, classification of elements and query formation. Finally, the output is in the form of a SQL query. The results are compared with the existing system. The results given by the proposed system are better than the existing system. The proposed system has better recall value, accuracy, and precision in comparison to existing systems. © 2018, Bharati Vidyapeeth's Institute of Computer Applications and Management.
引用
收藏
页码:437 / 446
页数:9
相关论文
共 50 条
  • [1] Learning to Transform Vietnamese Natural Language Queries into SQL Commands
    Thi-Hai-Yen Vuong
    Thi-Thu-Trang Nguyen
    Nhu-Thuat Tran
    [J]. PROCEEDINGS OF 2019 11TH INTERNATIONAL CONFERENCE ON KNOWLEDGE AND SYSTEMS ENGINEERING (KSE 2019), 2019, : 410 - 414
  • [2] Translating natural language questions to SQL queries (nested queries)
    Swamidorai, Sindhuja
    Murthy, T. Satyanarayana
    Sriharsha, K., V
    [J]. MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 83 (15) : 45391 - 45405
  • [3] Translating natural language questions to SQL queries (nested queries)
    Sindhuja Swamidorai
    T Satyanarayana Murthy
    K V Sriharsha
    [J]. Multimedia Tools and Applications, 2024, 83 : 45391 - 45405
  • [4] Extending the UML concepts to transform natural language queries with fuzzy semantics into SQL
    Tseng, Frank S. C.
    Chen, Chun-Ling
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2006, 48 (09) : 901 - 914
  • [5] QUESTION PATTERNS FOR NATURAL LANGUAGE TRANSLATION IN SQL QUERIES
    Zhekova, Mariya
    Totkov, George
    [J]. INTERNATIONAL JOURNAL ON INFORMATION TECHNOLOGIES AND SECURITY, 2021, 13 (02): : 43 - 54
  • [6] ACL-SQL: Generating SQL Queries from Natural Language
    Kaoshik, Ronak
    Patil, Rohit
    Prakash, R.
    Agarawal, Shaurya
    Jain, Naman
    Singh, Mayank
    [J]. CODS-COMAD 2021: PROCEEDINGS OF THE 3RD ACM INDIA JOINT INTERNATIONAL CONFERENCE ON DATA SCIENCE & MANAGEMENT OF DATA (8TH ACM IKDD CODS & 26TH COMAD), 2021, : 423 - 423
  • [7] Natural Language Processing Technique for Generation of SQL Queries Dynamically
    Sanyal, Hrithik
    Shukla, Sagar
    Agrawal, Rajneesh
    [J]. 2021 6TH INTERNATIONAL CONFERENCE FOR CONVERGENCE IN TECHNOLOGY (I2CT), 2021,
  • [8] Using natural language processing in order to create SQL queries
    djahantighi, F. Siasar
    Norouzifard, M.
    Davarpanah, S. H.
    Shenassa, M. H.
    [J]. 2008 INTERNATIONAL CONFERENCE ON COMPUTER AND COMMUNICATION ENGINEERING, VOLS 1-3, 2008, : 600 - +
  • [9] Observing SQL Queries in their Natural Habitat
    Grust, Torsten
    Rittinger, Jan
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 2013, 38 (01):
  • [10] Corpora for Automatically Learning to Map Natural Language Questions into SQL Queries
    Giordani, Alessandra
    Moschitti, Alessandro
    [J]. LREC 2010 - SEVENTH INTERNATIONAL CONFERENCE ON LANGUAGE RESOURCES AND EVALUATION, 2010, : 2336 - 2339