diff --git a/systems/quran-sura-verse.yaml b/systems/quran-sura-verse.yaml new file mode 100644 index 00000000..2e6176b3 --- /dev/null +++ b/systems/quran-sura-verse.yaml @@ -0,0 +1,24 @@ +key: quran-sura-verse +preferred_label: Sura and verse (Qurʾān) +description: >- + Sura and verse (āya) numbering of the Qurʾān, in the Kufan counting that the + 1924 Cairo edition fixed and that modern citation follows. 114 suras, 6,236 + verses. Canonical form: two positive integers without leading zeros, + separated by a colon. +# Named capture groups expose `{sura}` and `{verse}` to URL templates, plus the +# compiler's zero-padded variants (`{sura02}`, `{sura03}`, `{verse02}`, …) and +# Roman-numeral suras (`{suraRoman}`). +# +# No `chapter_sizes:`. It gates one thing only, the cumulative `{verseGlobal}` +# counter, and only for systems whose capture groups are named `chapter` and +# `verse`. This system names them `sura` and `verse`, so the field would be +# inert. The 114 verse counts live on the work, under `references_range`, where +# they bound the reference set. +# +# The separator is a colon, not the dot every other system in this registry +# uses. `2:255` is how the Qurʾān is cited; a locator may not contain `/`, but +# a colon is safe end to end. +locator_regex: '^(?[1-9]|[1-9][0-9]|10[0-9]|11[0-4]):(?[1-9][0-9]{0,2})$' +status: draft +created: 2026-08-25 +modified: 2026-08-25 diff --git a/works/quran.yaml b/works/quran.yaml new file mode 100644 index 00000000..3cf668a6 --- /dev/null +++ b/works/quran.yaml @@ -0,0 +1,176 @@ +work: + key: quran + preferred_label: Qurʾān + alternative_labels: + - 'Quran' + - 'Koran' + - 'al-Qurʾān' + - 'القرآن' + status: draft + created: 2026-08-25 + modified: 2026-08-25 + # No `creators:`. An anonymous or revealed corpus takes no creator entry; the + # absence is the correct CSL signal. + +citation_system: quran-sura-verse + +mappings: + - relation: alternateOf + conforms_to: 'https://www.wikidata.org/' + identifier: 'https://www.wikidata.org/entity/Q428' + source: manual-curation + status: draft + created: 2026-08-25 + modified: 2026-08-25 + - relation: isReferencedBy + conforms_to: 'https://en.wikipedia.org/' + identifier: 'https://en.wikipedia.org/wiki/Quran' + source: 'wikidata:Q428' + status: draft + created: 2026-08-25 + modified: 2026-08-25 + +resolvers: + - provider: Corpus Coranicum + edition: 'Druckausgabe des Korans, Kairo 1924 (Ägyptisches Katasteramt, Gizeh)' + language: de + access: open + # No `license:`. The BBAW imprint states "Alle Rechte vorbehalten" and + # "Lizensiert unter einer Creative Commons Namensnennung 3.0 Lizenz" in the + # same paragraph. That contradiction is not an SPDX identifier, so record + # the page and let a reader judge (the BHS precedent in #19). + license_url: 'https://corpuscoranicum.de/de/imprint' + # The `/print` view of the verse navigator. Checked 2026-08-25 in a browser: + # 1:1, 2:255, 18:10, 55:13, 78:1, 112:1 and 114:6 all render "Sure N Vers M" + # against the Cairo 1924 print. Controls: 999:999 and 2:9999 both render + # "Error 404. The requested resource could not be found", so the view + # rejects an out-of-range verse. The `/commentary` view does not, which is + # why this resolver uses `/print`. + # + # Routing is entirely client-side: the server returns byte-identical HTML + # for every path under this route, so no automated link check can validate + # one of these URLs. Re-check by hand. + url: 'https://corpuscoranicum.de/de/verse-navigator/sura/{sura}/verse/{verse}/print' + last_checked: '2026-08-25' + +# Verse counts per sura, in the Kufan counting. Taken from the Tanzil Quran +# metadata (https://tanzil.net/res/text/metadata/quran-data.xml, CC BY), which +# documents sura, juzʾ, rukūʿ and sajda structure. Only the numbering is used. +# 114 suras, 6,236 verses. +references_range: + - kind: chapter_verse + counts: + - 7 + - 286 + - 200 + - 176 + - 120 + - 165 + - 206 + - 75 + - 129 + - 109 + - 123 + - 111 + - 43 + - 52 + - 99 + - 128 + - 111 + - 110 + - 98 + - 135 + - 112 + - 78 + - 118 + - 64 + - 77 + - 227 + - 93 + - 88 + - 69 + - 60 + - 34 + - 30 + - 73 + - 54 + - 45 + - 83 + - 182 + - 88 + - 75 + - 85 + - 54 + - 53 + - 89 + - 59 + - 37 + - 35 + - 38 + - 29 + - 18 + - 45 + - 60 + - 49 + - 62 + - 55 + - 78 + - 96 + - 29 + - 22 + - 24 + - 13 + - 14 + - 11 + - 11 + - 18 + - 12 + - 12 + - 30 + - 52 + - 52 + - 44 + - 28 + - 28 + - 20 + - 56 + - 40 + - 31 + - 50 + - 40 + - 46 + - 42 + - 29 + - 19 + - 36 + - 25 + - 22 + - 17 + - 19 + - 26 + - 30 + - 20 + - 15 + - 21 + - 11 + - 8 + - 8 + - 19 + - 5 + - 8 + - 8 + - 11 + - 11 + - 8 + - 3 + - 9 + - 5 + - 4 + - 7 + - 3 + - 6 + - 3 + - 5 + - 4 + - 5 + - 6