Jul 2026· International Journal of Research in Engineering, Science and Management· 0 citations
TL;DR
Schema-Aware Query Translation and Tabular Reasoning for Enterprise Databases aka Inference-from-RDBMS is presented, an open-source framework designed for schema-aware query translation, dynamic context pruning, and execution-guided tabular inference over complex RDBMS structures.
Abstract
Relational Database Management Systems (RDBMS) hold the vast majority of structured enterprise data. However, applying Large Language Models (LLMs) to perform natural language querying and tabular reasoning directly over relational schemas presents major bottlenecks: full schema injection quickly exhausts context windows, complex join relationships lead to hallucinated SQL syntax, and security risks like invalid query execution constrain enterprise adoption. To overcome these limitations, we present Schema-Aware Query Translation and Tabular Reasoning for Enterprise Databases aka Inference-from-RDBMS, an open-source framework designed for schema-aware query translation, dynamic context pruning, and execution-guided tabular inference over complex RDBMS structures. The framework extracts database metadata to construct an interactive Schema Relationship Graph (SRG), prunes unreferenced tables and foreign-key joins using semantic distance metrics, and passes a minimal schema sub-graph to an execution-validated text-to-SQL generator. We evaluate Inference-from-RDBMS across standard enterprise benchmarks (including SPIDER and real-world multi-table schemas). The experimental results demonstrate that our framework achieves an 88.4% execution accuracy, reduces prompt token overhead by 52%, and cuts end-to-end query translation latency by 41% compared to standard schema-injected baseline models. These results position Inference-from-RDBMS as a robust, secure, and cost-efficient solution for natural language database interfaces in large-scale AI applications.
Experimental results demonstrate that GPS-Relational constructs executable reference SQL across existing benchmark and complex generated queries, and that LLM execution accuracy degrades significantly as nesting depth increases up to 15 levels.
Goli Vaisi, P. Sheu· International Journal of Sem...· 0 citations
SafeQL is proposed, a search-based refinement paradigm that redefines the role of the DBMS as an active guide in the refinement process, and significantly improves execution accuracy and efficiency compared to regeneration-based methods.
Geonho Lee, Min-Soo Kim· Proceedings of the VLDB Endo...· 0 citations
A design-oriented framework, an evaluation protocol, and a set of open problems for governed structured-data agents are proposed for retrieval semantics, authorization, intent recognition, entity resolution, evaluation, failure modes, and latency.
guided table retrieval is presented, a four-phase pipeline that combines deterministic grounding via hash-based predictors, structural exploration of join-graph reachability, LLM-powered disambiguation of sources and targets, and algorithmic merging into minimal, topologically ordered join trees.
Alekh Jindal, J. Pandey, C. Pavlopoulou et al.· 0 citations
It is suggested that structured prompt engineering provides a practical alternative to model fine-tuning for locally deployed LLMs, offering an effective balance between SQL generation accuracy, computational efficiency, and data privacy.
Nurjayanti Nurjayanti, A. Adiwijaya, A. Romadhony et al.· Jurnal RESTI (Rekayasa Siste...· 0 citations
A single regex defect in the evaluation post-processor silently suppressed accuracy and manufactured a false 4-10% cross-vendor gap that vanished when corrected, showing that benchmark code deserves the same scrutiny as the models it scores.
Sanjay Mishra, Divya Chukkapalli, Ganesh R. Naik· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.