Learning to Transform Vietnamese Natural Language Queries into SQL Commands

被引:0
|
作者
Thi-Hai-Yen Vuong [1 ]
Thi-Thu-Trang Nguyen [1 ]
Nhu-Thuat Tran [1 ]
机构
[1] Vietnam Natl Univ, Univ Engn & Technol, Hanoi, Vietnam
关键词
Understanding natural language query; transform natural language query to SQL query; INTERFACE;
D O I
10.1109/kse.2019.8919393
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In the field of data management, users traditionally manipulates their data using structured query language (SQL). However, this method requires an understanding of relational database, data schema, and SQL syntax as well as the way it works. Database manipulation using natural language, therefore, is much more convenient since any normal user can interact with their data without a background of database and SQL. This is, however, really tough because transforming natural language commands into SQL queries is a challenging task in natural language processing and understanding. In this paper, we propose a novel two-phase approach to automatically analyzing and converting natural language queries into the corresponding SQL forms. In our approach, the first phase is component segmentation which identifies primary clauses in SQL such as SELECT, FROM, WHERE, ORDER BY, etc. The second phase is slot-filling that helps extract sub-components for each primary clause such as SELECT column(s), SELECT aggregation operation, etc. We carefully conducted an empirical evaluation for our method using conditional random fields (CRFs) on a medium-sized corpus of natural language queries in Vietnamese, and have achieved promising results with an average accuracy of more than 90%.
引用
收藏
页码:410 / 414
页数:5
相关论文
共 50 条
  • [1] A system to transform natural language queries into SQL queries
    Solanki A.
    Kumar A.
    [J]. International Journal of Information Technology, 2022, 14 (1) : 437 - 446
  • [2] 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
  • [3] 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
  • [4] 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
  • [5] 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
  • [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] 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
  • [8] 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,
  • [9] 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 - +
  • [10] An agent for learning new natural language commands
    Amos Azaria
    Shashank Srivastava
    Jayant Krishnamurthy
    Igor Labutov
    Tom M. Mitchell
    [J]. Autonomous Agents and Multi-Agent Systems, 2020, 34