An Intelligent Natural Language Interface for Querying Databases based on Deep Learning.

Saved in:
Bibliographic Details
Title: An Intelligent Natural Language Interface for Querying Databases based on Deep Learning.
Authors: Khadija, MAJHADI1 Khadija.majhadi@gmail.com, Mustapha, MACHKOUR1
Source: International Journal on Electrical Engineering & Informatics. Mar2026, Vol. 18 Issue 1, p1-22. 22p.
Subjects: Deep learning, SQL, Knowledge representation (Information theory), Information retrieval, Language models
Abstract: Natural Language Interfaces to Databases (NLIDBs) aim to simplify access to structured data by allowing users to express database queries in natural language. Despite significant progress in this field, many existing approaches still struggle with handling complex queries, adapting to diverse database schemas, and generalizing across domains. Recent advances in deep learning offer promising solutions by learning effective mappings between natural language expressions and structured query languages. In this work, we first review and analyze recent encoder-decoder-based approaches, highlighting their strengths and limitations. We then introduce Chat-SQL, an intelligent deep learning-based NLIDB framework designed to translate natural language questions into executable SQL queries. The proposed system employs a modular architecture that integrates natural language preprocessing, semantic representation, schema-aware encoding, and structured SQL query generation. By framing the task as a Text-to-SQL translation problem, Chat-SQL enhances robustness to linguistic variability and reduces user's reliance on technical knowledge of database schemas. Our approach leverages a hybrid architecture that combines sketch-based query representations with large language models (LLMs). The system architecture is detailed, including its sketch selection module, LLM-based slot-filling mechanism, and dialogue state tracking component, which together enable accurate and context-aware query construction. Experimental evaluations on standard benchmark datasets, complemented by user-centered studies, demonstrate that Chat-SQL outperforms baseline methods and conventional single-turn systems in terms of query correctness, multi-turn contextual understanding, and overall user satisfaction. Its modular design and strong generalization capabilities make it a flexible and effective solution for natural language database querying. [ABSTRACT FROM AUTHOR]
Copyright of International Journal on Electrical Engineering & Informatics is the property of School of Electrical Engineering & Informatics, Bandung Institute of Technology and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Database: Engineering Source
FullText Links:
  – Type: pdflink
Text:
  Availability: 0
Header DbId: egs
DbLabel: Engineering Source
An: 193696492
AccessLevel: 6
PubType: Academic Journal
PubTypeId: academicJournal
PreciseRelevancyScore: 0
IllustrationInfo
Items – Name: Title
  Label: Title
  Group: Ti
  Data: An Intelligent Natural Language Interface for Querying Databases based on Deep Learning.
– Name: Author
  Label: Authors
  Group: Au
  Data: <searchLink fieldCode="AR" term="%22Khadija%2C+MAJHADI%22">Khadija, MAJHADI</searchLink><relatesTo>1</relatesTo><i> Khadija.majhadi@gmail.com</i><br /><searchLink fieldCode="AR" term="%22Mustapha%2C+MACHKOUR%22">Mustapha, MACHKOUR</searchLink><relatesTo>1</relatesTo>
– Name: TitleSource
  Label: Source
  Group: Src
  Data: <searchLink fieldCode="JN" term="%22International+Journal+on+Electrical+Engineering+%26+Informatics%22">International Journal on Electrical Engineering & Informatics</searchLink>. Mar2026, Vol. 18 Issue 1, p1-22. 22p.
– Name: Subject
  Label: Subjects
  Group: Su
  Data: <searchLink fieldCode="DE" term="%22Deep+learning%22">Deep learning</searchLink><br /><searchLink fieldCode="DE" term="%22SQL%22">SQL</searchLink><br /><searchLink fieldCode="DE" term="%22Knowledge+representation+%28Information+theory%29%22">Knowledge representation (Information theory)</searchLink><br /><searchLink fieldCode="DE" term="%22Information+retrieval%22">Information retrieval</searchLink><br /><searchLink fieldCode="DE" term="%22Language+models%22">Language models</searchLink>
– Name: Abstract
  Label: Abstract
  Group: Ab
  Data: Natural Language Interfaces to Databases (NLIDBs) aim to simplify access to structured data by allowing users to express database queries in natural language. Despite significant progress in this field, many existing approaches still struggle with handling complex queries, adapting to diverse database schemas, and generalizing across domains. Recent advances in deep learning offer promising solutions by learning effective mappings between natural language expressions and structured query languages. In this work, we first review and analyze recent encoder-decoder-based approaches, highlighting their strengths and limitations. We then introduce Chat-SQL, an intelligent deep learning-based NLIDB framework designed to translate natural language questions into executable SQL queries. The proposed system employs a modular architecture that integrates natural language preprocessing, semantic representation, schema-aware encoding, and structured SQL query generation. By framing the task as a Text-to-SQL translation problem, Chat-SQL enhances robustness to linguistic variability and reduces user's reliance on technical knowledge of database schemas. Our approach leverages a hybrid architecture that combines sketch-based query representations with large language models (LLMs). The system architecture is detailed, including its sketch selection module, LLM-based slot-filling mechanism, and dialogue state tracking component, which together enable accurate and context-aware query construction. Experimental evaluations on standard benchmark datasets, complemented by user-centered studies, demonstrate that Chat-SQL outperforms baseline methods and conventional single-turn systems in terms of query correctness, multi-turn contextual understanding, and overall user satisfaction. Its modular design and strong generalization capabilities make it a flexible and effective solution for natural language database querying. [ABSTRACT FROM AUTHOR]
– Name: AbstractSuppliedCopyright
  Label:
  Group: Ab
  Data: <i>Copyright of International Journal on Electrical Engineering & Informatics is the property of School of Electrical Engineering & Informatics, Bandung Institute of Technology and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract.</i> (Copyright applies to all Abstracts.)
PLink https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=egs&AN=193696492
RecordInfo BibRecord:
  BibEntity:
    Identifiers:
      – Type: doi
        Value: 10.15676/ijeei.2026.18.1.1
    Languages:
      – Code: eng
        Text: English
    PhysicalDescription:
      Pagination:
        PageCount: 22
        StartPage: 1
    Subjects:
      – SubjectFull: Deep learning
        Type: general
      – SubjectFull: SQL
        Type: general
      – SubjectFull: Knowledge representation (Information theory)
        Type: general
      – SubjectFull: Information retrieval
        Type: general
      – SubjectFull: Language models
        Type: general
    Titles:
      – TitleFull: An Intelligent Natural Language Interface for Querying Databases based on Deep Learning.
        Type: main
  BibRelationships:
    HasContributorRelationships:
      – PersonEntity:
          Name:
            NameFull: Khadija, MAJHADI
      – PersonEntity:
          Name:
            NameFull: Mustapha, MACHKOUR
    IsPartOfRelationships:
      – BibEntity:
          Dates:
            – D: 01
              M: 03
              Text: Mar2026
              Type: published
              Y: 2026
          Identifiers:
            – Type: issn-print
              Value: 20856830
          Numbering:
            – Type: volume
              Value: 18
            – Type: issue
              Value: 1
          Titles:
            – TitleFull: International Journal on Electrical Engineering & Informatics
              Type: main
ResultId 1