Skip to main content
QUICK REVIEW

[Paper Review] Frameworks for Querying Databases Using Natural Language: A Literature Review

Hafsa Shareef Dar, M. Ikram Ullah Lali|arXiv (Cornell University)|Sep 3, 2019
Semantic Web and OntologiesComputer Science32 references6 citations
TL;DR

This literature review analyzes 47 frameworks for natural language to database query translation from 2008 to 2018, categorizing SQL-based systems into statistical, symbolic, and connectionist approaches, and NoSQL-based systems into semantic and pattern matching methods. It finds that 70% of research focuses on SQL, with English being the dominant supported language, and highlights gaps in multilingual support and interoperability across frameworks.

ABSTRACT

A Natural Language Interface (NLI) facilitates users to pose queries to retrieve information from a database without using any artificial language such as the Structured Query Language (SQL). Several applications in various domains including healthcare, customer support and search engines, require elaborating structured data having information on text. Moreover, many issues have been explored including configuration complexity, processing of intensive algorithms, and popularity of relational databases, due to which translating natural language to database query has become a secondary area of investigation. The emerging trend of querying systems and speech-enabled interfaces revived natural language to database queries research area., The last survey published on this topic was six years ago in 2013. To best of our knowledge, there is no recent study found which discusses the current state of the art translations frameworks for natural language for structured and non-structured query languages. In this paper, we have reviewed 47 frameworks from 2008 to 2018. Out of 47, 35 were closely relevant to our work. SQL based frameworks have been categorized as statistical, symbolic and connectionist approaches. Whereas, NoSQL based frameworks have been categorized as semantic matching and pattern matching. These frameworks are then reviewed based on their supporting language, scheme of their heuristic rule, interoperability support, dataset scope and their overall performance score. The findings stated that 70% of the work in natural language to database querying has been carried out for SQL, and NoSQL share 15%, 10% and 5% of languages like SPAROL, CYPHER and GREMLIN respectively. It has also been observed that most of the frameworks support English language only.

Motivation & Objective

  • To provide a current, comprehensive survey of frameworks enabling natural language querying of databases, addressing a gap since the last major review in 2013.
  • To categorize and analyze 47 frameworks based on their underlying approaches, including statistical, symbolic, connectionist, semantic matching, and pattern matching techniques.
  • To evaluate frameworks across dimensions such as supported languages, heuristic rule schemes, interoperability, dataset scope, and performance scores.
  • To identify trends and research gaps, particularly in multilingual support and the balance between SQL and NoSQL query language frameworks.
  • To offer a structured overview of the state of the art in natural language interfaces for databases, focusing on recent advancements and limitations.

Proposed method

  • The study conducts a systematic literature review of 47 frameworks published between 2008 and 2018, with 35 deemed closely relevant to the research focus.
  • Frameworks are classified into three main categories: SQL-based (statistical, symbolic, connectionist) and NoSQL-based (semantic matching, pattern matching).
  • Each framework is evaluated on five criteria: supported language(s), heuristic rule scheme, interoperability support, dataset scope, and overall performance score.
  • The analysis includes quantitative assessment of language distribution, with 70% of works targeting SQL, 15% NoSQL, and 10% each for SPARQL, Cypher, and Gremlin.
  • The review uses a structured evaluation matrix to compare frameworks across key dimensions, emphasizing practical usability and technical design.
  • Findings are synthesized to identify dominant trends, limitations, and underexplored areas in natural language database querying.

Experimental results

Research questions

  • RQ1What are the dominant technical approaches used in natural language to database query frameworks from 2008 to 2018?
  • RQ2How is the research distributed across different database query languages, particularly SQL versus NoSQL languages like SPARQL, Cypher, and Gremlin?
  • RQ3To what extent do existing frameworks support multilingual input, especially beyond English?
  • RQ4What are the key performance and interoperability challenges in current NLI frameworks for databases?
  • RQ5How do heuristic rule schemes and dataset scope influence the effectiveness of natural language query translation systems?

Key findings

  • Seventy percent of the reviewed frameworks are designed for SQL, indicating a strong research and development focus on relational databases.
  • NoSQL-based frameworks account for 15% of the total, with SPARQL, Cypher, and Gremlin each receiving 5% of the research attention.
  • The majority of frameworks (over 70%) support only English, highlighting a significant limitation in multilingual natural language interface development.
  • Most frameworks rely on rule-based or statistical methods, with neural network-based (connectionist) approaches emerging as a growing but still minor category.
  • Interoperability support is limited across frameworks, with few systems designed to work across multiple database systems or query languages.
  • Performance scores vary widely, with no standardized benchmarking framework widely adopted, suggesting a need for unified evaluation protocols.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.