Semantic Decomposition of Question and SQL for Text-to-SQL Parsing
Not on the map. Why?
Abstract (arXiv)
Text-to-SQL semantic parsing faces challenges in generalizing to cross-domain and complex queries. Recent research has employed a question decomposition strategy to enhance the parsing of complex SQL queries. However, this strategy encounters two major obstacles: (1) existing datasets lack question decomposition; (2) due to the syntactic complexity of SQL, most complex queries cannot be disentangled into sub-queries that can be readily recomposed. To address these challenges, we propose a new modular Query Plan Language (QPL) that systematically decomposes SQL queries into simple and regular sub-queries. We develop a translator from SQL to QPL by leveraging analysis of SQL server query optimization plans, and we augment the Spider dataset with QPL programs. Experimental results demonstrate that the modular nature of QPL benefits existing semantic-parsing architectures, and training text-to-QPL parsers is more effective than text-to-SQL parsing for semantically equivalent queries. The QPL approach offers two additional advantages: (1) QPL programs can be paraphrased as simple questions, which allows us to create a dataset of (complex question, decomposed questions). Training on this dataset, we obtain a Question Decomposer for data retrieval that is sensitive to database schemas. (2) QPL is more accessible to non-experts for complex queries, leading to more interpretable output from the semantic parser.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 39 of its 60 references that are in the map. First posted on arXiv 20 Oct 2023.
Builds on
39 of 60 references.
References · 39
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
- 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
- 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
- 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 280
27 more
- 2019Towards Complex Text-to-SQL in Cross-Domain Database with Intermediate Representationcited by 210
- 2023Large Language Models are Versatile Decomposers: Decompose Evidence and Questions for Table-based Reasoningcited by 177
- 2016Language to Logical Form with Neural Attentioncited by 158
- 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
- 2020Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsingcited by 133
- 2020Break It Down: A Question Understanding Benchmarkcited by 131
- 2019Multi-hop Reading Comprehension through Question Decomposition and Rescoringcited by 119
- 2020Unsupervised Question Decomposition for Question Answeringcited by 118
- 2023A comprehensive evaluation of ChatGPT's zero-shot Text-to-SQL capabilitycited by 118
- 2019A Comprehensive Exploration on WikiSQL with Table-Aware Word Contextualizationcited by 88
- 2020Span-based Semantic Parsing for Compositional Generalizationcited by 77
- 2019Text-to-SQL Generation for Question Answering on Electronic Medical Recordscited by 76
- 2020KQA Pro: A Dataset with Explicit Compositional Programs for Complex Question Answering over Knowledge Basecited by 76
- 2018SyntaxSQLNet: Syntax Tree Networks for Complex and Cross-DomainText-to-SQL Taskcited by 74
- 2019Representing Schema Structure with Graph Neural Networks for Text-to-SQL Parsingcited by 74
- 2021Natural SQL: Making SQL Easier to Infer from Natural Language Specificationscited by 66
- 2023Enhancing Few-shot Text-to-SQL Capabilities of Large Language Models: A Study on Prompt Design Strategiescited by 44
- 2022SeqZero: Few-shot Compositional Semantic Parsing with Sequential Prompts and Zero-shot Modelscited by 38
- 2021Decomposing Complex Questions Makes Multi-Hop QA Easier and More Interpretablecited by 35
- 2023Divide and Prompt: Chain of Thought Prompting for Text-to-SQLcited by 20
- 2022Measuring and Improving Compositional Generalization in Text-to-SQL via Component Alignmentcited by 16
- 2023Question Decomposition Tree for Answering Complex Questions over Knowledge Basescited by 15
- 2023UNITE: A Unified Benchmark for Text-to-SQL Evaluationcited by 14
- 2022Interpretable AMR-Based Question Decomposition for Multi-hop Question Answeringcited by 12
- 2023Reasoning over Hierarchical Question Decomposition Tree for Explainable Question Answeringcited by 11
- 2022Compositional Task-Oriented Parsing as Abstractive Question Answeringcited by 10
- 2021SPARQLing Database Queries from Intermediate Question Decompositionscited by 7
Built on by
Citing papers per year: 2024: 1; 2025: 8; 2026: 4.
13 papers.
Sort:
By area:
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?cited by 54
- 2025STaR-SQL: Self-Taught Reasoner for Text-to-SQLcited by 16
- 2025Disambiguate First, Parse Later: Generating Interpretations for Ambiguity Resolution in Semantic Parsingcited by 12
- 2026SQL-Trail: Multi-Turn Reinforcement Learning with Interleaved Feedback for Text-to-SQLcited by 7
- 2025Susceptibility of Large Language Models to User-Driven Factors in Medical Queriescited by 6
- 2025DB-Explore: Automated Database Exploration and Instruction Synthesis for Text-to-SQLcited by 5
- 2025Diverse In-Context Example Selection After Decomposing Programs and Aligned Utterances Improves Semantic Parsingcited by 1
- 2025Beyond Natural Language Plans: Structure-Aware Planning for Query-Focused Table Summarizationcited by 1
- 2025CRED-SQL: Enhancing Real-world Large Scale Database Text-to-SQL Parsing through Cluster Retrieval and Execution Descriptioncited by 1
- 2025DeKeyNLU: Enhancing Natural Language to SQL Generation through Task Decomposition and Keyword Extractioncited by 1
- 2026Bootstrapping Semantic Layer from Execution for Text-to-SQLcited by 0
- 2026DecoSearch: Complexity-Aware Routing and Plan-Level Repair for Text-to-SQLcited by 0
1 more
- 2026DecoSearch: Complexity-Aware Routing and Plan-Level Repair for Text-to-SQL16 Jun 2026
- 2026EvoSQL: Memory-Augmented Critic-Generator Co-Evolution for Text-to-SQL4 Jun 2026
- 2026Bootstrapping Semantic Layer from Execution for Text-to-SQL4 Jun 2026
- 2026SQL-Trail: Multi-Turn Reinforcement Learning with Interleaved Feedback for Text-to-SQL25 Jan 2026
- 2025DeKeyNLU: Enhancing Natural Language to SQL Generation through Task Decomposition and Keyword Extraction18 Sep 2025
- 2025CRED-SQL: Enhancing Real-world Large Scale Database Text-to-SQL Parsing through Cluster Retrieval and Execution Description18 Aug 2025
- 2025Beyond Natural Language Plans: Structure-Aware Planning for Query-Focused Table Summarization30 Jul 2025
- 2025Diverse In-Context Example Selection After Decomposing Programs and Aligned Utterances Improves Semantic Parsing4 Apr 2025
- 2025Susceptibility of Large Language Models to User-Driven Factors in Medical Queries26 Mar 2025
- 2025DB-Explore: Automated Database Exploration and Instruction Synthesis for Text-to-SQL6 Mar 2025
- 2025Disambiguate First, Parse Later: Generating Interpretations for Ambiguity Resolution in Semantic Parsing25 Feb 2025
- 2025STaR-SQL: Self-Taught Reasoner for Text-to-SQL19 Feb 2025
- 2025STaR-SQL: Self-Taught Reasoner for Text-to-SQLcited by 16
- 2025STaR-SQL: Self-Taught Reasoner for Text-to-SQL19 Feb 2025
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?cited by 54
- 2025Disambiguate First, Parse Later: Generating Interpretations for Ambiguity Resolution in Semantic Parsingcited by 12
- 2026SQL-Trail: Multi-Turn Reinforcement Learning with Interleaved Feedback for Text-to-SQLcited by 7
- 2025Susceptibility of Large Language Models to User-Driven Factors in Medical Queriescited by 6
- 2025Diverse In-Context Example Selection After Decomposing Programs and Aligned Utterances Improves Semantic Parsingcited by 1
- 2025Beyond Natural Language Plans: Structure-Aware Planning for Query-Focused Table Summarizationcited by 1
- 2025CRED-SQL: Enhancing Real-world Large Scale Database Text-to-SQL Parsing through Cluster Retrieval and Execution Descriptioncited by 1
- 2026Bootstrapping Semantic Layer from Execution for Text-to-SQLcited by 0
- 2026DecoSearch: Complexity-Aware Routing and Plan-Level Repair for Text-to-SQLcited by 0
- 2026EvoSQL: Memory-Augmented Critic-Generator Co-Evolution for Text-to-SQLcited by 0
- 2026DecoSearch: Complexity-Aware Routing and Plan-Level Repair for Text-to-SQL16 Jun 2026
- 2026EvoSQL: Memory-Augmented Critic-Generator Co-Evolution for Text-to-SQL4 Jun 2026
- 2026Bootstrapping Semantic Layer from Execution for Text-to-SQL4 Jun 2026
- 2026SQL-Trail: Multi-Turn Reinforcement Learning with Interleaved Feedback for Text-to-SQL25 Jan 2026
- 2025CRED-SQL: Enhancing Real-world Large Scale Database Text-to-SQL Parsing through Cluster Retrieval and Execution Description18 Aug 2025
- 2025Beyond Natural Language Plans: Structure-Aware Planning for Query-Focused Table Summarization30 Jul 2025
- 2025Diverse In-Context Example Selection After Decomposing Programs and Aligned Utterances Improves Semantic Parsing4 Apr 2025
- 2025Susceptibility of Large Language Models to User-Driven Factors in Medical Queries26 Mar 2025
- 2025Disambiguate First, Parse Later: Generating Interpretations for Ambiguity Resolution in Semantic Parsing25 Feb 2025
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?9 Aug 2024