NATURAL LANGUAGE DATABASE QUERY AND ANALYTICS AGENT

Colleges record semester results in spreadsheets, and answering even a simple question about them, such as how one section performed compared with another, usually means filtering and calculating by hand or writing SQL. This paper presents the Natural Language Database Query and Analytics Agent, a system that lets non-technical users ask such questions in plain English. The agent supplies the schema of a relational database to a large language model, which writes a SQL query. The query is checked, executed in read-only mode, corrected using the database error message if it fails, and the result is returned as text, a table or a chart. The design is applied to the Information Science and Engineering result sheets of 206 students over three semesters (IV, V and VI). Example questions are run against the prepared database, and their answers are reported as ground truth for future testing, along with data-quality problems found in the source sheets. The measured accuracy of the model-generated queries is left for future work.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-10-16
DOI
https://doi.org/10.5281/zenodo.23422248
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

NATURAL LANGUAGE DATABASE QUERY AND ANALYTICS AGENT

Veeresh, Sambram S, Sai Mohan S M, Mrs. Bhavya B V et al.
Zenodo (CERN European Organization for Nuclear Research)
Natural Language Processing Techniques
article

NATURAL LANGUAGE DATABASE QUERY AND ANALYTICS AGENT

Veeresh, Sambram S, Sai Mohan S M, Mrs. Bhavya B V, Prajwal G K
article en

Abstract

Colleges record semester results in spreadsheets, and answering even a simple question about them, such as how one section performed compared with another, usually means filtering and calculating by hand or writing SQL. This paper presents the Natural Language Database Query and Analytics Agent, a system that lets non-technical users ask such questions in plain English. The agent supplies the schema of a relational database to a large language model, which writes a SQL query. The query is checked, executed in read-only mode, corrected using the database error message if it fails, and the result is returned as text, a table or a chart. The design is applied to the Information Science and Engineering result sheets of 206 students over three semesters (IV, V and VI). Example questions are run against the prepared database, and their answers are reported as ground truth for future testing, along with data-quality problems found in the source sheets. The measured accuracy of the model-generated queries is left for future work.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 13%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.