Publish validated open Sunni Quran tafsir collection v1.40.0
Browse files- QUALITY_REPORT.md +2 -2
- README.md +112 -8
- metadata/build_manifest.json +2 -2
- metadata/quality_report.json +2 -2
QUALITY_REPORT.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# Quran Tafsir Dataset — Quality Report
|
| 2 |
|
| 3 |
-
- Validated: `2026-08-
|
| 4 |
- Status: **PASS**
|
| 5 |
- Configs: **109**
|
| 6 |
- Rows: **679,724**
|
|
@@ -13,7 +13,7 @@
|
|
| 13 |
| dataset-card default | PASS | default=['tafsir-ibnkathir-ar'] |
|
| 14 |
| dataset-card languages | PASS | declared=['ar', 'as', 'az', 'bn', 'bs', 'en', 'es', 'fa', 'ff', 'fil', 'fr', 'hi', 'id', 'it', 'ja', 'km', 'ku', 'ky', 'ml', 'ps', 'ru', 'si', 'sr', 'sw', 'ta', 'te', 'th', 'tr', 'ug', 'ur', 'uz', 'vi', 'zh'] expected=['ar', 'as', 'az', 'bn', 'bs', 'en', 'es', 'fa', 'ff', 'fil', 'fr', 'hi', 'id', 'it', 'ja', 'km', 'ku', 'ky', 'ml', 'ps', 'ru', 'si', 'sr', 'sw', 'ta', 'te', 'th', 'tr', 'ug', 'ur', 'uz', 'vi', 'zh'] |
|
| 15 |
| dataset-card concise terms guidance | PASS | mixed terms declared once with row-level and LICENSES.md guidance |
|
| 16 |
-
| dataset-card concise user-facing content | PASS | body_chars=
|
| 17 |
| tafsir-ibnkathir-ar row count | PASS | 6,236 == 6,236 |
|
| 18 |
| tafsir-ibnkathir-ar schema | PASS | 22 ordered columns |
|
| 19 |
| tafsir-ibnkathir-ar key uniqueness | PASS | unique=6,236 |
|
|
|
|
| 1 |
# Quran Tafsir Dataset — Quality Report
|
| 2 |
|
| 3 |
+
- Validated: `2026-08-07T16:45:57.568088+00:00`
|
| 4 |
- Status: **PASS**
|
| 5 |
- Configs: **109**
|
| 6 |
- Rows: **679,724**
|
|
|
|
| 13 |
| dataset-card default | PASS | default=['tafsir-ibnkathir-ar'] |
|
| 14 |
| dataset-card languages | PASS | declared=['ar', 'as', 'az', 'bn', 'bs', 'en', 'es', 'fa', 'ff', 'fil', 'fr', 'hi', 'id', 'it', 'ja', 'km', 'ku', 'ky', 'ml', 'ps', 'ru', 'si', 'sr', 'sw', 'ta', 'te', 'th', 'tr', 'ug', 'ur', 'uz', 'vi', 'zh'] expected=['ar', 'as', 'az', 'bn', 'bs', 'en', 'es', 'fa', 'ff', 'fil', 'fr', 'hi', 'id', 'it', 'ja', 'km', 'ku', 'ky', 'ml', 'ps', 'ru', 'si', 'sr', 'sw', 'ta', 'te', 'th', 'tr', 'ug', 'ur', 'uz', 'vi', 'zh'] |
|
| 15 |
| dataset-card concise terms guidance | PASS | mixed terms declared once with row-level and LICENSES.md guidance |
|
| 16 |
+
| dataset-card concise user-facing content | PASS | body_chars=6086; usage, popular configs, and main columns present; audit internals omitted |
|
| 17 |
| tafsir-ibnkathir-ar row count | PASS | 6,236 == 6,236 |
|
| 18 |
| tafsir-ibnkathir-ar schema | PASS | 22 ordered columns |
|
| 19 |
| tafsir-ibnkathir-ar key uniqueness | PASS | unique=6,236 |
|
README.md
CHANGED
|
@@ -39,14 +39,35 @@ language:
|
|
| 39 |
task_categories:
|
| 40 |
- text-generation
|
| 41 |
- question-answering
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
tags:
|
| 43 |
- quran
|
| 44 |
- tafsir
|
| 45 |
- islam
|
| 46 |
- multilingual
|
| 47 |
- ahl-sunnah
|
| 48 |
-
|
| 49 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
configs:
|
| 51 |
- config_name: tafsir-ibnkathir-ar
|
| 52 |
default: true
|
|
@@ -539,10 +560,13 @@ Switch the config name to load another tafsir or language.
|
|
| 539 |
|
| 540 |
- `verse_key`: ayah key such as `2:255`
|
| 541 |
- `text`: tafsir text, or translation with notes for annotated configs
|
| 542 |
-
- `lang`: language
|
| 543 |
-
- `
|
| 544 |
-
- `
|
| 545 |
-
|
|
|
|
|
|
|
|
|
|
| 546 |
|
| 547 |
Every config uses the same ayah order, from `1:1` to `114:6`. It can be joined
|
| 548 |
with [`quranlab/quran`](https://huggingface.co/datasets/quranlab/quran) using
|
|
@@ -554,7 +578,87 @@ Annotated-translation configs are clearly named with `annotated`. If a source
|
|
| 554 |
does not provide commentary for an ayah, the row remains present and
|
| 555 |
`coverage_status` explains it.
|
| 556 |
|
| 557 |
-
Different configs have different reuse terms
|
| 558 |
-
|
| 559 |
|
| 560 |
Questions and corrections are welcome in the dataset's **Community** tab.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
task_categories:
|
| 40 |
- text-generation
|
| 41 |
- question-answering
|
| 42 |
+
- text-retrieval
|
| 43 |
+
- summarization
|
| 44 |
+
annotations_creators:
|
| 45 |
+
- expert-generated
|
| 46 |
+
language_creators:
|
| 47 |
+
- expert-generated
|
| 48 |
+
- found
|
| 49 |
+
multilinguality:
|
| 50 |
+
- multilingual
|
| 51 |
+
source_datasets:
|
| 52 |
+
- original
|
| 53 |
+
size_categories:
|
| 54 |
+
- 100K<n<1M
|
| 55 |
tags:
|
| 56 |
- quran
|
| 57 |
- tafsir
|
| 58 |
- islam
|
| 59 |
- multilingual
|
| 60 |
- ahl-sunnah
|
| 61 |
+
- exegesis
|
| 62 |
+
- classical-arabic
|
| 63 |
+
- verse-aligned
|
| 64 |
+
- religious-text
|
| 65 |
+
- low-resource-languages
|
| 66 |
+
- text
|
| 67 |
+
- datasets
|
| 68 |
+
- pandas
|
| 69 |
+
- dask
|
| 70 |
+
- mlcroissant
|
| 71 |
configs:
|
| 72 |
- config_name: tafsir-ibnkathir-ar
|
| 73 |
default: true
|
|
|
|
| 560 |
|
| 561 |
- `verse_key`: ayah key such as `2:255`
|
| 562 |
- `text`: tafsir text, or translation with notes for annotated configs
|
| 563 |
+
- `lang`, `tafsir_id`: language and config identity
|
| 564 |
+
- `has_commentary`, `coverage_status`: whether this ayah actually has commentary
|
| 565 |
+
- structural fields: `surah`, `ayah`, `juz`, `page`, `surah_name_ar/en`, …
|
| 566 |
+
|
| 567 |
+
The work's author, title, school, source and terms are the same for every ayah,
|
| 568 |
+
so they live once per config in
|
| 569 |
+
[`metadata/tafsirs.csv`](metadata/tafsirs.csv) instead of on all 6,236 rows.
|
| 570 |
|
| 571 |
Every config uses the same ayah order, from `1:1` to `114:6`. It can be joined
|
| 572 |
with [`quranlab/quran`](https://huggingface.co/datasets/quranlab/quran) using
|
|
|
|
| 578 |
does not provide commentary for an ayah, the row remains present and
|
| 579 |
`coverage_status` explains it.
|
| 580 |
|
| 581 |
+
Different configs have different reuse terms; they are listed per config in
|
| 582 |
+
[`metadata/tafsirs.csv`](metadata/tafsirs.csv) and [`LICENSES.md`](LICENSES.md).
|
| 583 |
|
| 584 |
Questions and corrections are welcome in the dataset's **Community** tab.
|
| 585 |
+
|
| 586 |
+
## For agents and pipelines
|
| 587 |
+
|
| 588 |
+
Deterministic facts an automated consumer needs, so nothing has to be inferred
|
| 589 |
+
from a sample.
|
| 590 |
+
|
| 591 |
+
- **Config naming:** `tafsir-{work}-{lang}`
|
| 592 |
+
- **Join key:** `verse_key` — identical order in every config, and the same key used by `quranlab/quran`
|
| 593 |
+
- **Default config:** `tafsir-ibnkathir-ar`
|
| 594 |
+
- **Format:** Parquet, one directory per config, split `train`.
|
| 595 |
+
- **Terms and credit** are per config in `metadata/`, never per row — join on the
|
| 596 |
+
config name when you need them.
|
| 597 |
+
- **`coverage_status` is the honesty flag.** A row whose source has no commentary for that ayah is present with empty `text` and a status explaining why — never back-filled from a neighbouring ayah.
|
| 598 |
+
- Configs ending in `annotated` are translations carrying explanatory notes, not standalone commentaries.
|
| 599 |
+
|
| 600 |
+
Inspect it without downloading the data:
|
| 601 |
+
|
| 602 |
+
```bash
|
| 603 |
+
# every config and split
|
| 604 |
+
curl https://datasets-server.huggingface.co/splits?dataset=quranlab/quran-tafsir
|
| 605 |
+
|
| 606 |
+
# a first page of rows
|
| 607 |
+
curl "https://datasets-server.huggingface.co/first-rows?dataset=quranlab/quran-tafsir&config=tafsir-ibnkathir-ar&split=train"
|
| 608 |
+
|
| 609 |
+
# machine-readable schema and provenance (Croissant JSON-LD)
|
| 610 |
+
curl https://huggingface.co/api/datasets/quranlab/quran-tafsir/croissant
|
| 611 |
+
```
|
| 612 |
+
|
| 613 |
+
Query it in place with SQL — no full download:
|
| 614 |
+
|
| 615 |
+
```bash
|
| 616 |
+
hf datasets sql quranlab/quran-tafsir "SELECT * FROM 'tafsir-ibnkathir-ar' LIMIT 5"
|
| 617 |
+
```
|
| 618 |
+
|
| 619 |
+
```python
|
| 620 |
+
import duckdb
|
| 621 |
+
duckdb.sql("SELECT count(*) FROM 'hf://datasets/quranlab/quran-tafsir/tafsir-ibnkathir-ar/*.parquet'")
|
| 622 |
+
```
|
| 623 |
+
|
| 624 |
+
## Quality, and how to check it yourself
|
| 625 |
+
|
| 626 |
+
Nothing is released until the integrity gate passes. Every claim below is
|
| 627 |
+
something you can re-run rather than take on trust — here on the published data,
|
| 628 |
+
not in our build tree:
|
| 629 |
+
|
| 630 |
+
| What is guaranteed | Evidence |
|
| 631 |
+
|---|---|
|
| 632 |
+
| Every config is ayah-complete | 6,236 rows per config in canonical order, 109 configs — no config is published partial |
|
| 633 |
+
| Source text is not paraphrased | each config declares its exact transformation in `text_fidelity`; most are verbatim, and every deviation is a documented, deterministic rendering |
|
| 634 |
+
| Sources are pinned, not loosely scraped | every source witness is fixed to an exact revision and checksum-verified before each build, so a silent upstream edit cannot slip in |
|
| 635 |
+
| Gaps are declared, never invented | missing ayahs are published empty with `coverage_status = source-unavailable`, and the expected gap count and key digest are pinned in the registry |
|
| 636 |
+
| Theology is classified per work | school and Ahl-al-Sunnah status recorded per config, with cautions (Isra'iliyyat, weak narrations) carried in the card rather than hidden |
|
| 637 |
+
| Release gate | 1,781 automated checks — including live re-verification against the original publishers — must pass before anything is published |
|
| 638 |
+
|
| 639 |
+
```python
|
| 640 |
+
from datasets import load_dataset
|
| 641 |
+
|
| 642 |
+
ds = load_dataset("quranlab/quran-tafsir", "tafsir-ibnkathir-ar", split="train")
|
| 643 |
+
|
| 644 |
+
assert len(ds) == 6236
|
| 645 |
+
assert ds[0]["verse_key"] == "1:1" and ds[-1]["verse_key"] == "114:6"
|
| 646 |
+
# gaps are labelled, not silently empty
|
| 647 |
+
assert all(r or s for r, s in zip(ds["text"], ds["coverage_status"]))
|
| 648 |
+
```
|
| 649 |
+
|
| 650 |
+
Where a source is genuinely missing, the row is published **empty and labelled**
|
| 651 |
+
rather than filled by guessing from a neighbouring entry. Coverage numbers in
|
| 652 |
+
this card count only real content.
|
| 653 |
+
|
| 654 |
+
## Citation
|
| 655 |
+
|
| 656 |
+
```bibtex
|
| 657 |
+
@misc{quranlab_quran_tafsir_2026,
|
| 658 |
+
title = {QuranLab — Multilingual Quran Tafsir Dataset},
|
| 659 |
+
author = {QuranLab},
|
| 660 |
+
year = {2026},
|
| 661 |
+
publisher = {Hugging Face},
|
| 662 |
+
howpublished = {\url{https://huggingface.co/datasets/quranlab/quran-tafsir}}
|
| 663 |
+
}
|
| 664 |
+
```
|
metadata/build_manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"schema_version": "1.40.0",
|
| 3 |
-
"built_at_utc": "2026-08-
|
| 4 |
"source_dataset": "quranlab/quran (local canonical build)",
|
| 5 |
"config_count": 109,
|
| 6 |
"expected_rows_per_config": 6236,
|
|
@@ -118,7 +118,7 @@
|
|
| 118 |
],
|
| 119 |
"payload_sha256": {
|
| 120 |
"LICENSES.md": "140d0534f3b59e47785baf09133b5dfd9f1c31f81ad5a60fc2ecaffa562aff56",
|
| 121 |
-
"README.md": "
|
| 122 |
"metadata/candidate_review_audit.json": "54cd907bce53b66c4b2ac6d75a32d1c70a3f48518baabf24c04fb8f10f49216a",
|
| 123 |
"metadata/openiti_tafsir_audit.json": "3cb3bed81e5298c5e891b56428f969de63b56abbb407ea077e96cd703399570d",
|
| 124 |
"metadata/qul_api_tafsir_audit.json": "b9d7f31f32fda9c57b4021f9be00733bd9c8c26b10e9dcc5f23a434faa5868b1",
|
|
|
|
| 1 |
{
|
| 2 |
"schema_version": "1.40.0",
|
| 3 |
+
"built_at_utc": "2026-08-07T16:40:12.153014+00:00",
|
| 4 |
"source_dataset": "quranlab/quran (local canonical build)",
|
| 5 |
"config_count": 109,
|
| 6 |
"expected_rows_per_config": 6236,
|
|
|
|
| 118 |
],
|
| 119 |
"payload_sha256": {
|
| 120 |
"LICENSES.md": "140d0534f3b59e47785baf09133b5dfd9f1c31f81ad5a60fc2ecaffa562aff56",
|
| 121 |
+
"README.md": "baa50aaa94338ed95ad2c88dd4e1c3751b1cc609e78b0dbd86262002721405c9",
|
| 122 |
"metadata/candidate_review_audit.json": "54cd907bce53b66c4b2ac6d75a32d1c70a3f48518baabf24c04fb8f10f49216a",
|
| 123 |
"metadata/openiti_tafsir_audit.json": "3cb3bed81e5298c5e891b56428f969de63b56abbb407ea077e96cd703399570d",
|
| 124 |
"metadata/qul_api_tafsir_audit.json": "b9d7f31f32fda9c57b4021f9be00733bd9c8c26b10e9dcc5f23a434faa5868b1",
|
metadata/quality_report.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"schema_version": "1.40.0",
|
| 3 |
-
"validated_at_utc": "2026-08-
|
| 4 |
"status": "pass",
|
| 5 |
"config_count": 109,
|
| 6 |
"row_count": 679724,
|
|
@@ -33,7 +33,7 @@
|
|
| 33 |
{
|
| 34 |
"name": "dataset-card concise user-facing content",
|
| 35 |
"status": "pass",
|
| 36 |
-
"detail": "body_chars=
|
| 37 |
},
|
| 38 |
{
|
| 39 |
"name": "tafsir-ibnkathir-ar row count",
|
|
|
|
| 1 |
{
|
| 2 |
"schema_version": "1.40.0",
|
| 3 |
+
"validated_at_utc": "2026-08-07T16:45:57.568088+00:00",
|
| 4 |
"status": "pass",
|
| 5 |
"config_count": 109,
|
| 6 |
"row_count": 679724,
|
|
|
|
| 33 |
{
|
| 34 |
"name": "dataset-card concise user-facing content",
|
| 35 |
"status": "pass",
|
| 36 |
+
"detail": "body_chars=6086; usage, popular configs, and main columns present; audit internals omitted"
|
| 37 |
},
|
| 38 |
{
|
| 39 |
"name": "tafsir-ibnkathir-ar row count",
|