Skip to content

GPS-Relational: Generative Problem Solving with Relational Databases

Jul 2026 · International Journal of Semantic Computing · 0 citations

TL;DR

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.

Abstract

Large language models (LLMs) have improved natural language to SQL translation, but evaluating their outputs remains difficult when queries become complex, deeply nested, or produced at scale. Existing evaluations often rely on standard benchmarks with limited structural complexity or on model-based judgments that may be inconsistent.We present GPS-Relational, an evaluation framework that validates LLM-generated SQL by constructing an executable reference SQL query from the same natural-language intent and database schema. GPS-Relational builds this reference through grammarguided decomposition, schema mapping, semantic validation, and SQL assembly. The reference SQL is executed to produce the expected result, which is then compared with the execution result of the LLM-generated SQL, allowing equivalent SQL forms to be accepted without requiring textual or structural matching. Additionally, GPS-Relational facilitates large-scale benchmark generation by systematically synthesizing extensive datasets of natural-language and SQL pairs with controlled nesting depth and relational complexity. These generated cases enable a systematic methodology to evaluate LLM performance across varied levels of structural complexity. 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.

View source

Similar papers

Jul 2026

LogNLQ: Natural-Language Log Querying with Parser-Induced and Semantically Grounded Schemas

LogNLQ is a framework that formulates natural-language log querying as executable SQL generation over parser-induced and semantically grounded schemas, and demonstrates that LogNLQ consistently outperforms all representative baselines by wide margins, with especially pronounced gains on analytically complex scenario qu...

Jue Wang, Jinyang Liu, Zhuang-Bin Chen et al. · 0 citations
Open access Jul 2026

Schema-Guided Prompt Strategies for Text-to-SQL over Relational Databases Using Local LLMs

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. · 0 citations
Open access Jul 2026

Schema-Aware Query Translation and Tabular Reasoning for Enterprise Databases

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.

Harshil Lodhiya · 0 citations
Preprint Aug 2026

Bounded Semantic Planning and Deterministic Compilation for Reliable Enterprise Text-to-SQL

This semantic path compilation (SPC) system against direct DDL-to-SQL generation on the ACME insurance benchmark supports an end-to-end systems result, not a causal claim that compilation alone produced the gain, because SPC receives governed semantic artifacts that the DDL baseline does not.

Yi Ai · 0 citations
Preprint Aug 2026

ACTS-SQL: Agentic and Critic-Oriented Tree-Structured SQL Correctness with Large Language Models

This work presents a training-free framework that formulates SQL correction as a plan-guided, tree-structured debugging process that mitigates error accumulation during iterative refinement and demonstrates the effectiveness and stability of the approach in real-world deployments.

Xinmei Huang, Jie Song, Peng Li et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.