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

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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.

Original languageEnglish
Title of host publication31st International Conference on Computational Linguistics, COLING 2025 - WACL 2025, 4th Workshop on Arabic Corpus Linguistics - Proceedings of the Workshop
EditorsSaad Ezzini, Hamza Alami, Ismail Berrada, Abdessamad Benlahbib, Abdelkader El Mahdaouy, Salima Lamsiyah, Hatim Derrouz, Amal Haddad, Mustafa Jarrar, Mo El-Haj, Ruslan Mitkov, Paul Rayson
PublisherAssociation for Computational Linguistics (ACL)
Pages86-92
Number of pages7
ISBN (Electronic)9798891762206
StatePublished - 2025
Externally publishedYes
Event4th Workshop on Arabic Corpus Linguistics, WACL 2025 - Abu Dhabi, United Arab Emirates
Duration: 20 Jan 2025 → …

Publication series

Name31st International Conference on Computational Linguistics, COLING 2025 - WACL 2025, 4th Workshop on Arabic Corpus Linguistics - Proceedings of the Workshop

Conference

Conference4th Workshop on Arabic Corpus Linguistics, WACL 2025
Country/TerritoryUnited Arab Emirates
CityAbu Dhabi
Period20/01/25 → …

Bibliographical note

Publisher Copyright:
© 2024 Association for Computational Linguistics.

Keywords

  • Low Resource Language
  • Moroccan Dialect
  • Text-to-SQL

ASJC Scopus subject areas

  • Language and Linguistics
  • Linguistics and Language

Fingerprint

Dive into the research topics of 'Dialect2SQL: A Novel Text-to-SQL Dataset for Arabic Dialects with a Focus on Moroccan Darija'. Together they form a unique fingerprint.

Cite this