Get Started
Home
Topics
Search
Library
Research questionHow can natural-language database interfaces generate correct SQL or GraphQL queries over complex schemas?Natural-language database interfaces must map questions onto the relevant fields and relationships in a schema. Large, obscure, or deeply nested schemas make grounding and query planning difficult, and underspecified requests add ambiguity. Outputs can be syntactically valid yet logically wrong, and relying on an LLM for every query raises deployment cost.
AI Agents
Code Generation & Program Synthesis
Evaluation & Benchmarks
Information Retrieval
Natural Language Processing
Latest papersRecent research connected to this question, newest first.A Cost-Aware Agentic Architecture for NL-to-SQL over Nested Enterprise Schemas, with a New BenchmarkThe paper contributes an execution-verified enterprise benchmark and evaluates a cost-aware, single-generation agentic system on it and on a Snowflake setting from Spider 2.0. Its evidence is limited to the reported enterprise schemas, datasets, and operating point, so broader production behavior is not established.research paper · Sep 4, 2026text2ql: Multi-Target Natural Language Querying via a Language-Agnostic Intermediate RepresentationThe source describes text2ql, an open-source Python framework with a language-agnostic intermediate representation and renderers for SQL and GraphQL. It reports deterministic and LLM-backed modes plus runtime confidence scores, but its evidence is limited to 50-query random samples from each of the Spider and BIRD benchmarks; full-set evaluation is planned.research paper · Sep 2, 2026Reflect-SQL: A Self-Reflection Based Framework for Text-to-SQLThe source presents Reflect-SQL, a multi-stage self-reflection framework using a knowledge base, feedback-driven retrieval, LLM-as-a-judge scoring, SQL validation and correction, and entailment feedback. It reports 72.03% execution accuracy on the BIRD benchmark; the input does not establish broader enterprise deployment performance.research paper · Sep 1, 2026
Related questions
How can LLMs accurately answer questions over complex hierarchical tables?How can dense retrieval satisfy compositional, relational, and negative constraints in queries?How can LLMs reliably turn natural-language problem descriptions into correct optimization models?How can relational databases support isolated, reproducible branching and merging for AI agents through SQL?