mlsanityData to 14 Oct 2026

Prompt Engineering Techniques for Context-dependent Text-to-SQL in Arabic

arXiv 2511.20677 ↗First posted 16 Nov 2025cs.CL cs.DBcited by 0

Not on the map. Why?

Abstract (arXiv)

In recent years, the task of cross-domain, context-dependent text-to-SQL has received significant attention. Enables users with no prior knowledge of SQL to have a conversation with databases using natural language. However, most of the available datasets and research have been conducted in English, along with some work in Chinese. To this date, no effort has been made to address this task in the Arabic language. In this paper, we introduce Ar-SParC, the first Arabic cross-domain, context-dependent text-to-SQL dataset. The dataset consists of 3,450 sequences of interrelated questions, each sequence containing an average of approximately three questions, which results in a total of 10225 questions along with their corresponding SQL queries. We conducted 40 experiments on the Ar-SParC dataset using two large language models, GPT-3.5-turbo and GPT-4.5-turbo, applying 10 different prompt engineering techniques, including four question representation methods and six in-context learning techniques. Furthermore, we developed a novel approach named GAT corrector, which enhanced the performance across all 40 experiments, yielding an average improvement of 1.9% in execution accuracy (EX) and 1.9% in interaction accuracy (IX) under zero-shot settings, and an average increase of 1.72% EX and 0.92% IX under in-context learning settings. Finally, we conducted an ablation study with two more experiments to explain why the GAT corrector outperformed the previous GAT verifier technique, particularly for the Arabic language.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 28 of its 44 references that are in the map. First posted on arXiv 16 Nov 2025.

Builds on

28 of 44 references.

References · 28

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  4. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
  5. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  6. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  7. 2019Cross-lingual Language Model Pretrainingcited by 1,090
  8. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
  9. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 687
  10. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 477
  11. 2018Massively Multilingual Sentence Embeddings for Zero-Shot Cross-Lingual Transfer and Beyondcited by 434
  12. 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 385
16 more
  1. 2020Multilingual Translation with Extensible Multilingual Pretraining and Finetuningcited by 287
  2. 2019CoSQL: A Conversational Text-to-SQL Challenge Towards Cross-Domain Natural Language Interfaces to Databasescited by 185
  3. 2020PhoBERT: Pre-trained language models for Vietnamesecited by 149
  4. 2019SParC: Cross-Domain Semantic Parsing in Contextcited by 144
  5. 2021LGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relationscited by 119
  6. 2018NL2Bash: A Corpus and Semantic Parser for Natural Language Interface to the Linux Operating Systemcited by 98
  7. 2020Recent Advances and Challenges in Task-oriented Dialog Systemcited by 78
  8. 2023How to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settingscited by 58
  9. 2022A Survey on Text-to-SQL Parsing: Concepts, Methods, and Future Directionscited by 52
  10. 2022S2SQL: Injecting Syntax to Question-Schema Interaction Graph Encoder for Text-to-SQL Parserscited by 41
  11. 2020A Pilot Study of Text-to-SQL Semantic Parsing for Vietnamesecited by 36
  12. 2019A Pilot Study for Chinese SQL Semantic Parsingcited by 33
  13. 2022MultiSpider: Towards Benchmarking Multilingual Text-to-SQL Semantic Parsingcited by 22
  14. 2021mRAT-SQL+GAP:A Portuguese Text-to-SQL Transformercited by 15
  15. 2024Ar-Spider: Text-to-SQL in Arabiccited by 5
  16. 2025Sigma: A dataset for text-to-code semantic parsing with statistical analysiscited by 1

Built on by

Not cited yet.