id string | query string | task_id int64 | majority_label string | annotator_labels list | unanimous bool | agreement_ratio string |
|---|---|---|---|---|---|---|
2772 | Jazakallah khair for the help! | 812,471 | greeting | [
"greeting",
"dua_lookup",
"greeting"
] | false | 2/3 |
12767 | آية الدين | 812,472 | quran_retrieval | [
"quran_retrieval",
"general_islamic",
"quran_retrieval"
] | false | 2/3 |
4519 | How many days are in the month of Rajab this year? | 812,473 | islamic_calendar | [
"islamic_calendar",
"general_islamic",
"islamic_calendar"
] | false | 2/3 |
9051 | What are the primary differences between the four main schools of Sunni jurisprudence (Madhabs)? | 812,474 | general_islamic | [
"general_islamic",
"fiqh_ruling",
"general_islamic"
] | false | 2/3 |
6736 | What were the main contributions of Al-Andalus to Islamic civilization? | 812,475 | general_islamic | [
"general_islamic",
"general_islamic",
"general_islamic"
] | true | 3/3 |
79924 | ما هو الدعاء الذي يقال عند رؤية الهلال في بداية الشهر الهجري؟ | 812,476 | dua_lookup | [
"dua_lookup",
"dua_lookup",
"dua_lookup"
] | true | 3/3 |
3597 | Salam, hope you're having a blessed day. | 812,477 | greeting | [
"greeting",
"greeting",
"greeting"
] | true | 3/3 |
7341 | Does microblading eyebrows count as the forbidden type of tattooing in Islam? | 812,478 | fiqh_ruling | [
"fiqh_ruling",
"fiqh_ruling",
"fiqh_ruling"
] | true | 3/3 |
30363 | هل أذن العصر في الرياض؟ | 812,479 | prayer_times | [
"prayer_times",
"prayer_times",
"prayer_times"
] | true | 3/3 |
7399 | I feel a lot of anxiety and chest tightness, what should I recite to feel better? | 812,480 | dua_lookup | [
"dua_lookup",
"quran_retrieval",
"dua_lookup"
] | false | 2/3 |
46463 | ما هي السور التي تبدأ بـ 'سبح' أو 'يسبح'؟ | 812,481 | quran_retrieval | [
"quran_retrieval",
"quran_retrieval",
"quran_retrieval"
] | true | 3/3 |
43171 | السلام عليكم ورحمة الله وبركاته | 812,482 | greeting | [
"greeting",
"greeting",
"greeting"
] | true | 3/3 |
83123 | ما هو نصيب الأخت الشقيقة مع وجود ابنتين للمتوفى؟ هل تعتبر عصبة؟ | 812,483 | inheritance_calculation | [
"inheritance_calculation",
"inheritance_calculation",
"inheritance_calculation"
] | true | 3/3 |
83399 | عندي ذهب عياره 21 بوزن 150 جرام، كم الزكاة المطلوبة عليه وكيف أحسبها؟ | 812,484 | zakat_calculation | [
"zakat_calculation",
"zakat_calculation",
"zakat_calculation"
] | true | 3/3 |
87957 | مات شخص وترك جده من جهة الأب وأخ شقيق، كيف يتم تقسيم الميراث بينهما؟ | 812,485 | inheritance_calculation | [
"inheritance_calculation",
"inheritance_calculation",
"inheritance_calculation"
] | true | 3/3 |
8267 | I'm on a flight from London to Sydney; how do I determine the Qibla direction while moving? | 812,486 | general_islamic | [
"general_islamic",
"general_islamic",
"prayer_times"
] | false | 2/3 |
8672 | Explain the significance of the migration (Hijrah) to Madinah for the early Muslim community. | 812,487 | general_islamic | [
"general_islamic",
"general_islamic",
"islamic_calendar"
] | false | 2/3 |
5445 | Who was Bilal ibn Rabah and what was his role in early Islam? | 812,488 | general_islamic | [
"general_islamic",
"general_islamic",
"general_islamic"
] | true | 3/3 |
70311 | هل التاتو المؤقت الذي يدوم لستة أشهر يمنع صحة الوضوء؟ | 812,489 | fiqh_ruling | [
"fiqh_ruling",
"fiqh_ruling",
"fiqh_ruling"
] | true | 3/3 |
5382 | Full prayer schedule for Toronto for the month of Ramadan | 812,490 | prayer_times | [
"prayer_times",
"prayer_times",
"prayer_times"
] | true | 3/3 |
81526 | كم نصاب زكاة الفضة بالريال السعودي اليوم؟ وهل يختلف عن الذهب؟ | 812,491 | zakat_calculation | [
"zakat_calculation",
"zakat_calculation",
"zakat_calculation"
] | true | 3/3 |
10702 | Is it haram to work as a software developer for a bank that deals with interest if I am not directly handling loans? | 812,492 | fiqh_ruling | [
"fiqh_ruling",
"fiqh_ruling",
"fiqh_ruling"
] | true | 3/3 |
32191 | متى يصادف عيد الفطر سنة 2026؟ | 812,493 | islamic_calendar | [
"islamic_calendar",
"general_islamic",
"islamic_calendar"
] | false | 2/3 |
122919 | الأرض اللي زرعتها قمح وسقيتها بماء المطر، كم أطلع منها زكاة؟ وهل أحسب تكاليف البذور والسماد؟ | 812,494 | zakat_calculation | [
"zakat_calculation",
"zakat_calculation",
"zakat_calculation"
] | true | 3/3 |
49500 | دعاء لشخص مريض تعبان جداً في المستشفى | 812,495 | dua_lookup | [
"dua_lookup",
"dua_lookup",
"dua_lookup"
] | true | 3/3 |
4698 | What's the exact time for Maghrib in New York today? | 812,496 | prayer_times | [
"prayer_times",
"prayer_times",
"prayer_times"
] | true | 3/3 |
70175 | ما حكم استخدام بخاخ الربو أثناء الصيام في نهار رمضان؟ | 812,497 | fiqh_ruling | [
"fiqh_ruling",
"fiqh_ruling",
"fiqh_ruling"
] | true | 3/3 |
67113 | ماذا يقول المسلم إذا رأى شيئاً أعجبه وخشي أن يحسده؟ | 812,498 | dua_lookup | [
"dua_lookup",
"general_islamic",
"dua_lookup"
] | false | 2/3 |
11225 | I missed several years of prayer in my youth, do I have to make them all up individually or is sincere repentance enough? | 812,499 | fiqh_ruling | [
"fiqh_ruling",
"fiqh_ruling",
"fiqh_ruling"
] | true | 3/3 |
86078 | كيف أحسب زكاة الراتب الشهري إذا كنت أصرف جزء وأدخر جزء بشكل مستمر؟ | 812,500 | zakat_calculation | [
"zakat_calculation",
"zakat_calculation",
"zakat_calculation"
] | true | 3/3 |
38440 | تفسير الآية 'ووجدك ضالاً فهدى' | 812,501 | general_islamic | [
"general_islamic",
"general_islamic",
"quran_retrieval"
] | false | 2/3 |
78367 | كيفية حساب مواقيت الصلاة في المناطق التي لا تغيب فيها الشمس | 812,502 | prayer_times | [
"prayer_times",
"prayer_times",
"prayer_times"
] | true | 3/3 |
47997 | من هو الإمام البخاري وكيف جمع صحيحه؟ | 812,503 | general_islamic | [
"general_islamic",
"general_islamic",
"general_islamic"
] | true | 3/3 |
7246 | Find me the verse that mentions the expansion of the heavens or the universe. | 812,504 | quran_retrieval | [
"quran_retrieval",
"quran_retrieval",
"quran_retrieval"
] | true | 3/3 |
19212 | بارك الله فيكم | 812,505 | greeting | [
"greeting",
"greeting",
"greeting"
] | true | 3/3 |
9151 | What is the specific dua mentioned in the sunnah for when someone is facing a very difficult task? | 812,506 | dua_lookup | [
"dua_lookup",
"dua_lookup",
"dua_lookup"
] | true | 3/3 |
10048 | My father died and left a wife, a daughter, and a brother. Does the brother get anything if there is a daughter? | 812,507 | inheritance_calculation | [
"inheritance_calculation",
"inheritance_calculation",
"inheritance_calculation"
] | true | 3/3 |
5921 | I need the verse regarding the obligation of fasting in Ramadan. | 812,508 | quran_retrieval | [
"quran_retrieval",
"quran_retrieval",
"quran_retrieval"
] | true | 3/3 |
32108 | ما معنى اسم الله 'اللطيف'؟ | 812,509 | general_islamic | [
"general_islamic",
"general_islamic",
"general_islamic"
] | true | 3/3 |
94404 | توفى والدي وترك خلفه زوجة و3 أبناء و5 بنات وبيت واحد، كيف نوزع الإرث شرعاً؟ | 812,510 | inheritance_calculation | [
"inheritance_calculation",
"inheritance_calculation",
"inheritance_calculation"
] | true | 3/3 |
65540 | هل يجوز بيع وشراء العملات الرقمية مثل البيتكوين؟ | 812,511 | fiqh_ruling | [
"general_islamic",
"fiqh_ruling",
"fiqh_ruling"
] | false | 2/3 |
13230 | My crypto portfolio is down 40% but still above the Nisab. Do I calculate Zakat based on the initial investment or the current low market value? | 812,512 | zakat_calculation | [
"zakat_calculation",
"zakat_calculation",
"zakat_calculation"
] | true | 3/3 |
5964 | Is the concept of the 'Mahdi' agreed upon by both Sunnis and Shias? | 812,513 | general_islamic | [
"general_islamic",
"general_islamic",
"general_islamic"
] | true | 3/3 |
43233 | اكتب الآية رقم ١٠٠ من سورة النساء | 812,514 | quran_retrieval | [
"quran_retrieval",
"quran_retrieval",
"quran_retrieval"
] | true | 3/3 |
6465 | What is the concept of 'Tawakkul' and how does it differ from fatalism? | 812,515 | general_islamic | [
"general_islamic",
"general_islamic",
"general_islamic"
] | true | 3/3 |
51110 | أريد اتجاه القبلة من موقعي الحالي بدقة | 812,516 | prayer_times | [
"prayer_times",
"general_islamic",
"prayer_times"
] | false | 2/3 |
7312 | How does Islam view the prophets of the People of the Book, like Moses and Jesus? | 812,517 | general_islamic | [
"general_islamic",
"general_islamic",
"general_islamic"
] | true | 3/3 |
46345 | متى أذان الفجر في مكة المكرمة غداً؟ | 812,518 | prayer_times | [
"prayer_times",
"prayer_times",
"prayer_times"
] | true | 3/3 |
9378 | Calculate the inheritance for a woman who passed away leaving a husband, a mother, and a full brother. | 812,519 | inheritance_calculation | [
"inheritance_calculation",
"inheritance_calculation",
"inheritance_calculation"
] | true | 3/3 |
37252 | تحويل من هجري لميلادي: 14 شعبان 1410 | 812,520 | islamic_calendar | [
"islamic_calendar",
"islamic_calendar",
"islamic_calendar"
] | true | 3/3 |
47870 | ما هي أركان الإيمان الستة بالتفصيل؟ | 812,521 | general_islamic | [
"general_islamic",
"general_islamic",
"general_islamic"
] | true | 3/3 |
9011 | If I accidentally ate something during a voluntary fast, do I have to make it up or just continue? | 812,522 | fiqh_ruling | [
"general_islamic",
"fiqh_ruling",
"fiqh_ruling"
] | false | 2/3 |
8154 | What is the Shariah ruling on dropshipping where I don't own the inventory physically? | 812,523 | fiqh_ruling | [
"fiqh_ruling",
"fiqh_ruling",
"fiqh_ruling"
] | true | 3/3 |
7490 | Is it permissible to use gelatin-based medicine if no halal alternative exists? | 812,524 | fiqh_ruling | [
"fiqh_ruling",
"fiqh_ruling",
"fiqh_ruling"
] | true | 3/3 |
9558 | Can I combine Dhuhr and Asr prayers because I have back-to-back lectures at university and cannot leave? | 812,525 | fiqh_ruling | [
"fiqh_ruling",
"fiqh_ruling",
"fiqh_ruling"
] | true | 3/3 |
33614 | هل اليوم من الأيام البيض؟ | 812,526 | islamic_calendar | [
"general_islamic",
"islamic_calendar",
"islamic_calendar"
] | false | 2/3 |
150653 | عندي محل ملابس والبضاعة الموجودة قيمتها 100 ألف، بس علي ديون للموردين 30 ألف. أحسب الزكاة على المبلغ كامل ولا أخصم الدين؟ | 812,527 | zakat_calculation | [
"zakat_calculation",
"zakat_calculation",
"zakat_calculation"
] | true | 3/3 |
8397 | Is Zakat due on gold jewelry that is worn regularly or only on gold kept as an investment? | 812,528 | zakat_calculation | [
"fiqh_ruling",
"zakat_calculation",
"zakat_calculation"
] | false | 2/3 |
9787 | How do we split the money if the deceased left only a wife and a grandmother? Does the rest go to the state? | 812,529 | inheritance_calculation | [
"inheritance_calculation",
"inheritance_calculation",
"inheritance_calculation"
] | true | 3/3 |
12286 | I lent my brother $2,000 three years ago and I'm not sure if he'll ever pay it back. Do I include this in my Zakat calculation for this year? | 812,530 | zakat_calculation | [
"zakat_calculation",
"zakat_calculation",
"zakat_calculation"
] | true | 3/3 |
3576 | Is it time to pray Dhuhr yet in Chicago? | 812,531 | prayer_times | [
"prayer_times",
"prayer_times",
"prayer_times"
] | true | 3/3 |
6534 | Why does the date of Ramadan change every year in the Western calendar? | 812,532 | islamic_calendar | [
"general_islamic",
"islamic_calendar",
"islamic_calendar"
] | false | 2/3 |
6548 | Is there a special phrase to say if I lose my keys and want to find them? | 812,533 | dua_lookup | [
"general_islamic",
"dua_lookup",
"dua_lookup"
] | false | 2/3 |
10484 | Inheritance calculation for a man who died leaving a pregnant wife and his parents. Should we wait for the birth? | 812,534 | inheritance_calculation | [
"inheritance_calculation",
"inheritance_calculation",
"inheritance_calculation"
] | true | 3/3 |
5904 | How many times does the word 'Rahman' appear in the entire Quran? | 812,535 | quran_retrieval | [
"quran_retrieval",
"quran_retrieval",
"general_islamic"
] | false | 2/3 |
118418 | هل يرث القاتل من مقتوله إذا كان القتل خطأ؟ وكيف يؤثر ذلك على تقسيم الميراث على بقية الورثة؟ | 812,536 | inheritance_calculation | [
"inheritance_calculation",
"inheritance_calculation",
"inheritance_calculation"
] | true | 3/3 |
6588 | I am about to board a flight, is there a prayer specifically for travel? | 812,537 | dua_lookup | [
"dua_lookup",
"dua_lookup",
"prayer_times"
] | false | 2/3 |
5157 | What is the meaning of the word 'Samad' in Surah Al-Ikhlas? | 812,538 | general_islamic | [
"general_islamic",
"quran_retrieval",
"general_islamic"
] | false | 2/3 |
4681 | Is it true that tomorrow is the first of Muharram? | 812,539 | islamic_calendar | [
"islamic_calendar",
"islamic_calendar",
"islamic_calendar"
] | true | 3/3 |
5497 | Provide the translation for the 255th verse of the 2nd Surah. | 812,540 | quran_retrieval | [
"quran_retrieval",
"quran_retrieval",
"quran_retrieval"
] | true | 3/3 |
4223 | Which Hijri year corresponds to the year 622 AD? | 812,541 | islamic_calendar | [
"islamic_calendar",
"islamic_calendar",
"islamic_calendar"
] | true | 3/3 |
35176 | ما هو سبب نزول سورة الكوثر؟ | 812,542 | general_islamic | [
"general_islamic",
"quran_retrieval",
"general_islamic"
] | false | 2/3 |
3747 | Give me the text of Surah Al-Imran, ayah 190. | 812,543 | quran_retrieval | [
"quran_retrieval",
"quran_retrieval",
"quran_retrieval"
] | true | 3/3 |
105724 | ما حكم العمل في مطعم يقدم لحم الخنزير لكنني أعمل في المحاسبة فقط ولا ألمس الطعام؟ | 812,544 | fiqh_ruling | [
"fiqh_ruling",
"fiqh_ruling",
"fiqh_ruling"
] | true | 3/3 |
79924 | حكم الصلاة خلف إمام يلحن في قراءة الفاتحة لحناً يغير المعنى؟ | 812,545 | fiqh_ruling | [
"fiqh_ruling",
"fiqh_ruling",
"fiqh_ruling"
] | true | 3/3 |
9524 | A man died leaving a wife, two daughters, and a paternal uncle. How is the 100,000 USD distributed among them? | 812,546 | inheritance_calculation | [
"inheritance_calculation",
"inheritance_calculation",
"inheritance_calculation"
] | true | 3/3 |
6550 | Can you give me a list of the authentic morning adhkar for protection? | 812,547 | dua_lookup | [
"dua_lookup",
"dua_lookup",
"dua_lookup"
] | true | 3/3 |
11182 | What's the Zakat on a house I bought for investment purposes but haven't sold or rented out yet? It's just sitting there. | 812,548 | zakat_calculation | [
"zakat_calculation",
"zakat_calculation",
"zakat_calculation"
] | true | 3/3 |
64000 | هل يجوز للمرأة السفر للحج بدون محرم في رفقة آمنة؟ | 812,549 | fiqh_ruling | [
"fiqh_ruling",
"fiqh_ruling",
"fiqh_ruling"
] | true | 3/3 |
4330 | Show me the last two verses of Surah Al-Baqarah. | 812,550 | quran_retrieval | [
"quran_retrieval",
"quran_retrieval",
"quran_retrieval"
] | true | 3/3 |
6502 | I have $5,000 in my savings account for over a year. How much Zakat do I owe? | 812,551 | zakat_calculation | [
"zakat_calculation",
"zakat_calculation",
"zakat_calculation"
] | true | 3/3 |
7017 | How did Islamic ethics influence trade and commerce in the medieval period? | 812,552 | general_islamic | [
"general_islamic",
"general_islamic",
"general_islamic"
] | true | 3/3 |
73349 | أريد الأذكار التي تقال بعد الانتهاء من الصلاة المفروضة | 812,553 | dua_lookup | [
"dua_lookup",
"dua_lookup",
"dua_lookup"
] | true | 3/3 |
62472 | هل يوجد ذكر معين يقال عند سماع صوت الريح القوية؟ | 812,554 | dua_lookup | [
"dua_lookup",
"dua_lookup",
"dua_lookup"
] | true | 3/3 |
5126 | How many verses are in the shortest surah of the Quran? | 812,555 | quran_retrieval | [
"quran_retrieval",
"quran_retrieval",
"general_islamic"
] | false | 2/3 |
59141 | متى ينتهي وقت صلاة العشاء الليلة في القاهرة؟ | 812,556 | prayer_times | [
"prayer_times",
"prayer_times",
"prayer_times"
] | true | 3/3 |
71769 | هل يقع الطلاق عبر رسائل الواتساب إذا كان الزوج غاضباً؟ | 812,557 | fiqh_ruling | [
"fiqh_ruling",
"fiqh_ruling",
"fiqh_ruling"
] | true | 3/3 |
62401 | توفيت امرأة عن زوج وأم وأب، كم نصيب كل واحد منهم؟ | 812,558 | inheritance_calculation | [
"inheritance_calculation",
"inheritance_calculation",
"inheritance_calculation"
] | true | 3/3 |
46317 | ما هي قصة أصحاب الكهف والعبرة منها؟ | 812,559 | general_islamic | [
"general_islamic",
"general_islamic",
"general_islamic"
] | true | 3/3 |
21000 | متى ليلة القدر 2025؟ | 812,560 | islamic_calendar | [
"islamic_calendar",
"islamic_calendar",
"islamic_calendar"
] | true | 3/3 |
31955 | سورة الملك كاملة مكتوبة | 812,561 | quran_retrieval | [
"quran_retrieval",
"quran_retrieval",
"quran_retrieval"
] | true | 3/3 |
44666 | لماذا سمي عمر بن الخطاب بالفاروق؟ | 812,562 | general_islamic | [
"general_islamic",
"general_islamic",
"general_islamic"
] | true | 3/3 |
11824 | I own stocks worth $20k for long-term dividends, not for active trading. Do I pay on the total market value or just the dividends? | 812,563 | zakat_calculation | [
"zakat_calculation",
"zakat_calculation",
"fiqh_ruling"
] | false | 2/3 |
35119 | كم التاريخ اليوم بالهجري؟ | 812,564 | islamic_calendar | [
"islamic_calendar",
"islamic_calendar",
"islamic_calendar"
] | true | 3/3 |
30342 | كم عدد آيات سورة الكهف؟ | 812,565 | general_islamic | [
"general_islamic",
"quran_retrieval",
"general_islamic"
] | false | 2/3 |
92855 | ما الفرق بين المكي والمدني في القرآن الكريم من حيث الأسلوب والمواضيع؟ | 812,566 | general_islamic | [
"general_islamic",
"general_islamic",
"general_islamic"
] | true | 3/3 |
62383 | هل التصوف يعتبر جزءاً من السنة أم هو مذهب مستقل؟ | 812,567 | general_islamic | [
"general_islamic",
"general_islamic",
"general_islamic"
] | true | 3/3 |
55801 | صباح الخير، هل أنت متاح للرد على استفساري؟ | 812,568 | greeting | [
"greeting",
"greeting",
"greeting"
] | true | 3/3 |
4982 | How many minutes are left until the sunrise in Paris? | 812,569 | prayer_times | [
"prayer_times",
"prayer_times",
"general_islamic"
] | false | 2/3 |
5019 | What is the Hijri equivalent of my birthday, June 15, 1992? | 812,570 | islamic_calendar | [
"islamic_calendar",
"islamic_calendar",
"islamic_calendar"
] | true | 3/3 |
Fanar-Sadiq Classifier Datasets
Fanar-Sadiq Classifier Datasets is a bilingual Arabic/English collection of query-classification datasets released with the paper “Fanar-Sadiq: A Multi-Agent Architecture for Grounded Islamic QA.”
The datasets support the routing components of Fanar-Sadiq, a multi-agent Islamic question-answering system that routes user queries to specialized modules such as retrieval-grounded Islamic QA, Quran retrieval, du'a lookup, prayer-time computation, Islamic calendar tools, zakat calculators, and inheritance calculators.
This repository contains two classifier datasets:
- Prompt classifier: a binary dataset for deciding whether a user query is Islamic or non-Islamic.
- Intent classifier: a fine-grained Islamic intent dataset for routing Islamic queries to the appropriate specialized component.
Dataset Summary
| Subset | Rows | Task | Labels |
|---|---|---|---|
prompt classifier |
~1.72k | Binary Islamic query detection | islamic, non_islamic |
intent classifier |
700 | Fine-grained Islamic intent classification | 9 Islamic intent labels |
The data includes both Arabic and English queries, including naturally phrased, code-switched, short, long, factual, jurisprudential, conversational, and tool-oriented user requests.
Intended Use
This dataset is intended for research and development on:
- Islamic query classification
- Arabic/English text classification
- Query routing for multi-agent or tool-augmented QA systems
- Intent classification for religious-domain assistants
- Evaluation of bilingual Islamic QA routing pipelines
Typical use cases include training or evaluating models that decide:
- whether an incoming query should be handled by an Islamic QA system;
- which specialized Islamic QA module should answer the query;
- whether a query requires retrieval, deterministic computation, or structured tool use.
Dataset Subsets
1. Prompt Classifier
The prompt classifier subset is a binary classification dataset used to determine whether a query is related to Islamic content.
Schema
| Field | Type | Description |
|---|---|---|
id |
string | Unique example identifier |
query |
string | User query in Arabic or English |
label |
string | Binary label: islamic or non_islamic |
Labels
| Label | Description |
|---|---|
islamic |
Query is related to Islam, Islamic knowledge, Quran, Hadith, fiqh, Islamic history, worship, religious practice, or Islamic-domain reasoning |
non_islamic |
Query is general-purpose, unrelated to Islamic QA, or should be routed to a general assistant |
Example
{
"id": "268fe685",
"query": "قارن بين تنظيم الحياة العامة وفق الشريعة الإسلامية والثقافة الغربية .",
"label": "islamic"
}
{
"id": "9c5eae33",
"query": "لدي بنطالاً أبيض، ما لون القميص الذي يليق عليه؟",
"label": "non_islamic"
}
2. Intent Classifier
The intent classifier subset is a fine-grained Islamic intent classification dataset used to route Islamic queries to specialized components in Fanar-Sadiq.
The dataset was created from real user queries, anonymized and filtered to remove personally identifying information. Each query was annotated by three independent annotators, and the final label was determined by majority vote.
Schema
| Field | Type | Description |
|---|---|---|
id |
string | Unique example identifier |
query |
string | User query in Arabic or English |
task_id |
integer | Internal task/example identifier |
majority_label |
string | Final intent label selected by majority vote |
annotator_labels |
list[string] | Individual labels assigned by annotators |
unanimous |
bool | Whether all annotators agreed |
agreement_ratio |
string | Agreement ratio, such as 3/3 or 2/3 |
Intent Labels
| Label | Description |
|---|---|
fiqh_ruling |
Questions about Islamic legal rulings, permissibility, obligations, halal/haram, or jurisprudence |
quran_retrieval |
Requests for Quranic verses, ayahs, surahs, Quran text, or Quran-related retrieval |
general_islamic |
General Islamic knowledge, history, concepts, beliefs, personalities, events, or explanations |
greeting |
Greetings, pleasantries, and short conversational openings |
zakat_calculation |
Questions requiring zakat computation or zakat-related financial reasoning |
inheritance_calculation |
Islamic inheritance/faraid questions requiring structured calculation |
dua_lookup |
Requests for supplications, adhkar, or du'a for specific occasions |
islamic_calendar |
Hijri/Gregorian conversion, Islamic dates, Ramadan/Eid dates, or Islamic events |
prayer_times |
Prayer times, Qibla direction, sunrise/sunset, or location/time-based worship queries |
Example
{
"id": "2772",
"query": "Jazakallah khair for the help!",
"task_id": 812471,
"majority_label": "greeting",
"annotator_labels": ["greeting", "dua_lookup", "greeting"],
"unanimous": false,
"agreement_ratio": "2/3"
}
{
"id": "83123",
"query": "ما هو نصيب الأخت الشقيقة مع وجود ابنتين للمتوفى؟ هل تعتبر عصبة؟",
"task_id": 812483,
"majority_label": "inheritance_calculation",
"annotator_labels": ["inheritance_calculation", "inheritance_calculation", "inheritance_calculation"],
"unanimous": true,
"agreement_ratio": "3/3"
}
Loading the Dataset
You can load the dataset with the Hugging Face datasets library.
from datasets import load_dataset
# List available configurations
# from datasets import get_dataset_config_names
# print(get_dataset_config_names("QCRI/Fanar-Sadiq-Classifier-Datasets"))
intent_ds = load_dataset(
"QCRI/Fanar-Sadiq-Classifier-Datasets",
name="intent classifier"
)
prompt_ds = load_dataset(
"QCRI/Fanar-Sadiq-Classifier-Datasets",
name="prompt classifier"
)
print(intent_ds)
print(prompt_ds)
Each subset currently contains a test split.
print(intent_ds["test"][0])
print(prompt_ds["test"][0])
Baseline Task Formulations
Binary Classification
For the prompt classifier subset:
Input: query
Output: islamic | non_islamic
Example:
Query: ما حكم الزكاة في الإسلام؟
Label: islamic
Multi-Class Intent Classification
For the intent classifier subset:
Input: query
Output: one of the 9 Islamic intent labels
Example:
Query: متى أذان الفجر في مكة المكرمة غداً؟
Label: prayer_times
Relationship to Fanar-Sadiq
Fanar-Sadiq is a bilingual Arabic/English multi-agent Islamic QA architecture. Instead of sending every query through a single retrieve-then-generate pipeline, Fanar-Sadiq first classifies the query and routes it to specialized components.
Examples of routes include:
- retrieval-grounded fiqh and Islamic knowledge QA;
- exact Quran verse lookup and Quran-related routing;
- deterministic zakat and inheritance calculators;
- prayer-time and Qibla tools;
- Islamic calendar conversion and event lookup;
- du'a lookup and greeting handling.
These datasets are designed to evaluate and support the routing layer of that architecture.
Annotation
Intent Classifier
The intent-classification dataset was developed from anonymized real user queries. Each query was labeled by three independent annotators into one of nine intent categories. The final label was selected by majority vote, and examples without majority agreement were discarded.
The released intent subset includes 700 examples with majority labels.
Prompt Classifier
The binary prompt-classifier dataset supports the orchestrator that decides whether a query should be routed to Fanar-Sadiq or to a general-purpose assistant. Queries labeled as Islamic are routed to the Islamic QA system; other queries are handled by a general assistant.
Ethical Considerations and Limitations
This dataset is intended for classifier training and evaluation, not for issuing religious rulings.
Important limitations:
- The dataset contains user-style queries and may include sensitive religious, legal, social, or ethical topics.
- Labels reflect the routing schema used by Fanar-Sadiq and should not be interpreted as religious judgments.
- A query labeled
fiqh_rulingmeans that the query asks about jurisprudence; it does not imply any answer or ruling. - Models trained on this dataset may make routing errors, especially for ambiguous, multi-intent, or code-switched queries.
- Islamic legal questions may involve scholarly disagreement, madhhab-specific assumptions, local practice, and contextual details not present in the query.
- This dataset should not be used as a replacement for qualified scholarly expertise.
Citation
If you use this dataset, please cite the Fanar-Sadiq paper:
@inproceedings{abbas2026fanarsadiq,
title = {{Fanar-Sadiq}: A Multi-Agent Architecture for Grounded Islamic QA},
author = {Abbas, Ummar and Ouzzani, Mourad and Eltabakh, Mohamed Y. and Sinan, Omar and Bhatia, Gagan and Mubarak, Hamdy and Hawasly, Majd and Hashim, Mohammed Qusay and Darwish, Kareem and Alam, Firoj},
booktitle = {Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics},
month = jul,
year = {2026},
address = {San Diego, California, United States},
publisher = {Association for Computational Linguistics},
note = {Accepted to ACL 2026}
}
License
This dataset is released under the Apache License 2.0.
- Downloads last month
- 62