SEAICLDBJan 20, 2025

Dialect2SQL: A Novel Text-to-SQL Dataset for Arabic Dialects with a Focus on Moroccan Darija

arXiv:2501.11498v120 citationsh-index: 4COLING Workshops
Originality Incremental advance
AI Analysis

This provides a benchmark for text-to-SQL research in low-resource Arabic dialects, addressing a gap in existing resources focused on high-resource languages.

The authors tackled the lack of text-to-SQL datasets for low-resource languages by introducing Dialect2SQL, a large-scale dataset with 9,428 NLQ-SQL pairs across 69 databases for the Moroccan Arabic dialect, incorporating linguistic complexities and SQL challenges.

The task of converting natural language questions (NLQs) into executable SQL queries, known as text-to-SQL, has gained significant interest in recent years, as it enables non-technical users to interact with relational databases. Many benchmarks, such as SPIDER and WikiSQL, have contributed to the development of new models and the evaluation of their performance. In addition, other datasets, like SEDE and BIRD, have introduced more challenges and complexities to better map real-world scenarios. However, these datasets primarily focus on high-resource languages such as English and Chinese. In this work, we introduce Dialect2SQL, the first large-scale, cross-domain text-to-SQL dataset in an Arabic dialect. It consists of 9,428 NLQ-SQL pairs across 69 databases in various domains. Along with SQL-related challenges such as long schemas, dirty values, and complex queries, our dataset also incorporates the complexities of the Moroccan dialect, which is known for its diverse source languages, numerous borrowed words, and unique expressions. This demonstrates that our dataset will be a valuable contribution to both the text-to-SQL community and the development of resources for low-resource languages.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes