Omar-youssef/QA_LAW_Egyptian_dataset
Egyptian Arabic Legal QA Dataset Dataset Description This dataset contains 3,725 question-answer pairs in Egyptian Arabic focused on legal topics. The dataset serves as a valuable resource for developing Arabic natural language processing models, particularly for legal domain applications in Egyptian Arabic dialect. Key Features Language: Egyptian Arabic (العامية المصرية) Domain: Legal/Law (القانون) Size: 3,725 examples Topics: 745 unique legal… See the full description on the dataset page: https://huggingface.co/datasets/Omar-youssef/QA_LAW_Egyptian_dataset.
Egyptian Arabic Legal QA Dataset
Dataset Description
This dataset contains 3,725 question-answer pairs in Egyptian Arabic focused on legal topics. The dataset serves as a valuable resource for developing Arabic natural language processing models, particularly for legal domain applications in Egyptian Arabic dialect.
Key Features
- Language: Egyptian Arabic (العامية المصرية)
- Domain: Legal/Law (القانون)
- Size: 3,725 examples
- Topics: 745 unique legal categories
- Format: Question-Answer pairs with topic categorization
Dataset Structure
Data Fields
- `question`: Legal questions written in Egyptian Arabic dialect
- `answer`: Corresponding comprehensive answers in Egyptian Arabic
- `source_topics`: Legal topic categories that classify the content
Example
{
"question": "مين اللي يقدر يبلغ عن النصب ده أو ياخد إجراءات قانونية لحماية القاصر؟",
"answer": "أي شخص ليه مصلحة في حماية القاصر، زي أقاربه من الدرجة الأولى (زي الأم لو الوصي الأب، أو العم والخال)، أو النيابة العامة نفسها ممكن تتدخل لو وصلها بلاغ أو اشتبهت في وجود نصب. كمان المجلس الحسبي اللي بيشرف على أموال القصر ممكن يتدخل. ممكن يرفعوا دعوى قضائية للمطالبة بعزل الوصي أو الولي واسترداد حقوق القاصر.",
"source_topics": "النصب من الوصي أو الولي على القاصر"
}Loading the Dataset
from datasets import load_dataset
# Load the dataset
dataset = load_dataset("Omar-youssef/QA_LAW_Egyptian_dataset")
# Access the training split
train_data = dataset['train']
# Example of accessing data
for example in train_data.select(range(3)):
print(f"Question: {example['question']}")
print(f"Answer: {example['answer']}")
print(f"Topic: {example['source_topics']}")
print("-" * 50)Dataset Statistics
- Total Examples: 3,725
- Unique Legal Topics: 738
- Average Question Length: Varies (natural conversational Egyptian Arabic)
- Average Answer Length: Comprehensive explanations in Egyptian dialect
- File Size: ~2.2MB uncompressed, ~871KB compressed
Data Quality
The dataset features:
- Natural Egyptian Arabic dialect usage
- Comprehensive legal explanations
- Diverse legal topic coverage
- Real-world legal scenarios and questions
Citation
If you use this dataset in your research, please cite:
@dataset{omar_youssef_egyptian_legal_qa,
author = {Omar Youssef},
title = {Egyptian Arabic Legal QA Dataset},
year = {2025},
publisher = {Hugging Face},
url = {https://huggingface.co/datasets/Omar-youssef/QA_LAW_Egyptain_dataset}
}License
This dataset is released under the Apache 2.0 license.
Contributing
For questions, issues, or contributions related to this dataset, please contact the dataset author or open an issue on the dataset repository.
