MirathQA: A dataset for evaluating large language models on Hanbali Islamic inheritance reasoning tasks

Islamic inheritance (Muwārīth/مواريث) refers to the distribution of a deceased person's estate among qualified heirs in accordance with Sharia laws derived from the Qur'an and Sunnah. This dataset focuses specifically on the Hanbali school of jurisprudence (المذهب الحنبلي), one of the four major Sunni schools, which has distinct rulings on residuary heirs (ta'sīb/التعصيب) and blocking mechanisms (al-ḥajb/الحجب). Despite recent advances, Arabic large language models (LLMs) often struggle with tasks requiring exact arithmetic, multi-step reasoning, and strict adherence to domain-specific rules. These challenges are particularly evident in Islamic inheritance law ('ilm al-farā'iḍ/علم الفرائض), where case resolution demands sequential rule application, identification of heirs and blocked heirs (ḥijb/حجب), handling of proportional reduction ('awl/عول) and return (radd/رد), and accounting for juristic differences. The lack of well-structured Arabic datasets further restricts systematic evaluation in this area. To address this gap, we introduce the MirathQA, comprising over 1394 questions derived from 242 real-life inheritance cases collected from different Arabic sources. Each case includes a textual description, verified solution, heirs and their corresponding shares, and annotations for blocked or modified heirs. Additional multiple-choice and true/false questions assess reasoning skills such as exclusion and proportional reduction. The dataset is divided into training (70%), validation (15%), and test (15%) splits at the case level to prevent leakage and ensure reproducibility. It is also provided in both CSV and Excel formats. This resource establishes a benchmark for evaluating Arabic LLM reasoning, while also serving education, interdisciplinary research, and legal AI applications.

Authors

Institutions

Publication Details

Journal
Data in Brief
Published
2026-02-14
DOI
https://doi.org/10.1016/j.dib.2026.112589
Primary Topic
Artificial Intelligence in Law
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MirathQA: A dataset for evaluating large language models on Hanbali Islamic inheritance reasoning tasks

Reem Alqifari, Sharefah A. Al-Ghamdi, Hend Al-Khalifa, Ameera Almasoud et al.
Data in Brief
Artificial Intelligence in Law
article

MirathQA: A dataset for evaluating large language models on Hanbali Islamic inheritance reasoning tasks

Reem Alqifari, Sharefah A. Al-Ghamdi, Hend Al-Khalifa, Ameera Almasoud, Noof Alfear
article en

Abstract

Islamic inheritance (Muwārīth/مواريث) refers to the distribution of a deceased person's estate among qualified heirs in accordance with Sharia laws derived from the Qur'an and Sunnah. This dataset focuses specifically on the Hanbali school of jurisprudence (المذهب الحنبلي), one of the four major Sunni schools, which has distinct rulings on residuary heirs (ta'sīb/التعصيب) and blocking mechanisms (al-ḥajb/الحجب). Despite recent advances, Arabic large language models (LLMs) often struggle with tasks requiring exact arithmetic, multi-step reasoning, and strict adherence to domain-specific rules. These challenges are particularly evident in Islamic inheritance law ('ilm al-farā'iḍ/علم الفرائض), where case resolution demands sequential rule application, identification of heirs and blocked heirs (ḥijb/حجب), handling of proportional reduction ('awl/عول) and return (radd/رد), and accounting for juristic differences. The lack of well-structured Arabic datasets further restricts systematic evaluation in this area. To address this gap, we introduce the MirathQA, comprising over 1394 questions derived from 242 real-life inheritance cases collected from different Arabic sources. Each case includes a textual description, verified solution, heirs and their corresponding shares, and annotations for blocked or modified heirs. Additional multiple-choice and true/false questions assess reasoning skills such as exclusion and proportional reduction. The dataset is divided into training (70%), validation (15%), and test (15%) splits at the case level to prevent leakage and ensure reproducibility. It is also provided in both CSV and Excel formats. This resource establishes a benchmark for evaluating Arabic LLM reasoning, while also serving education, interdisciplinary research, and legal AI applications.

Data in BriefVol. 65
King Saud University (SA)
Reduced inequalities
Openalex Percentile: Top 60%
Artificial Intelligence in Law
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.