OpenChristianData commited on
Commit
fa29ffa
·
verified ·
1 Parent(s): 211ab1a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +173 -187
README.md CHANGED
@@ -1,187 +1,173 @@
1
- ---
2
- license:
3
- - cc0-1.0
4
- language:
5
- - en
6
- task_categories:
7
- - text-retrieval
8
- - question-answering
9
- - feature-extraction
10
- size_categories:
11
- - 100K<n<1M
12
- configs:
13
- - config_name: bible_text
14
- data_files:
15
- - split: train
16
- path: data/bible_text.jsonl
17
- - config_name: catechism_qa
18
- data_files:
19
- - split: train
20
- path: data/catechism_qa.jsonl
21
- - config_name: church_fathers
22
- data_files:
23
- - split: train
24
- path: data/church_fathers.jsonl
25
- - config_name: commentary
26
- data_files:
27
- - split: train
28
- path: data/commentary.jsonl
29
- - config_name: devotional
30
- data_files:
31
- - split: train
32
- path: data/devotional.jsonl
33
- - config_name: doctrinal_document
34
- data_files:
35
- - split: train
36
- path: data/doctrinal_document.jsonl
37
- - config_name: prayer
38
- data_files:
39
- - split: train
40
- path: data/prayer.jsonl
41
- - config_name: reference_entry
42
- data_files:
43
- - split: train
44
- path: data/reference_entry.jsonl
45
- - config_name: sermon
46
- data_files:
47
- - split: train
48
- path: data/sermon.jsonl
49
- - config_name: structured_text
50
- data_files:
51
- - split: train
52
- path: data/structured_text.jsonl
53
- - config_name: topical_reference
54
- data_files:
55
- - split: train
56
- path: data/topical_reference.jsonl
57
- ---
58
-
59
- # Open Christian Data
60
-
61
- Public domain Christian literature as structured, machine-readable data — for developers and AI training.
62
-
63
- Commentary data is trapped in HTML and PDFs. No structured commentary dataset exists on HuggingFace. No per-chapter commentary JSON exists on GitHub.
64
-
65
- This dataset processes public domain Christian literature — commentaries, church fathers, confessions, catechisms, devotionals, prayers, sermons — into clean, schema-validated records with full provenance metadata.
66
-
67
- **GitHub:** [OpenChristianData/open-christian-data](https://github.com/OpenChristianData/open-christian-data)
68
-
69
- ## Schema types
70
-
71
- | Config | Records | Description |
72
- |---|---|---|
73
- | `commentary` | 109,774 | Verse-level commentary (Matthew Henry, Barnes, Calvin, Wesley, Adam Clarke, Gill, JFB, KD, Treasury of David) |
74
- | `church_fathers` | 70,191 | Patristic quotes indexed by scripture reference — 325 authors (Augustine, Chrysostom, Jerome, Origen, Aquinas...) |
75
- | `bible_text` | 31,086 | Berean Standard Bible — all 66 books, 31,086 verses, CC0 |
76
- | `structured_text` | 13,207 | Paragraph-level blocks from 11 works (Calvin's Institutes, Augustine's Confessions, Pilgrim's Progress, City of God, Chesterton, Thomas à Kempis, MacDonald, Underhill, Milton, Luther's Large Catechism) |
77
- | `topical_reference` | 5,945 | Nave's Topical Bible5,322 topics, 76,957 scripture references |
78
- | `reference_entry` | 11,145 | Easton's, Smith's, Hitchcock's Bible Dictionaries + Torrey's New Topical Textbook |
79
- | `catechism_qa` | 3,279 | Question-and-answer catechisms (Westminster Shorter/Larger, Heidelberg, Baltimore #1–3, Luther's Small, Keach's, and more) |
80
- | `doctrinal_document` | 1,331 | Confessions and creeds at clause level (Westminster, Nicene, Chalcedonian, Belgic, Dort, London Baptist 1689, Savoy, and 30+ more) |
81
- | `devotional` | 1,464 | Spurgeon's Morning and Evening (732 entries) + Daily Light on the Daily Path (732 entries) |
82
- | `sermon` | 36 | George MacDonald's Unspoken Sermons — 3 series, 36 sermons, 171k words |
83
- | `prayer` | 191 | BCP 1662 Collects (85), BCP 1928 Collects (102), Didache Prayers (4) |
84
- | **Total** | **247,649** | |
85
-
86
- ## Data format
87
-
88
- Every record is a flat JSON object. Six fields are inlined from the source file's metadata:
89
-
90
- | Field | Description |
91
- |---|---|
92
- | `_source_id` | Unique identifier for the source work |
93
- | `_source_title` | Title of the source work |
94
- | `_author` | Author name |
95
- | `_contributors` | Translators, editors, and digitizers (array, may be empty) |
96
- | `_schema_type` | Schema type (matches the config name) |
97
- | `_license` | License identifier (`cc0-1.0` or `public-domain`) |
98
- | `_source_url` | Canonical URL for the source |
99
-
100
- The remaining fields are schema-specific. All verse references use OSIS format (`Gen.1.1`, `Rom.9.1-Rom.9.5`).
101
-
102
- ### Commentary record example
103
-
104
- ```json
105
- {
106
- "_source_id": "matthew-henry-complete",
107
- "_source_title": "Matthew Henry's Complete Commentary",
108
- "_author": "Matthew Henry",
109
- "_schema_type": "commentary",
110
- "_license": "public-domain",
111
- "_source_url": "https://bible.helloao.org",
112
- "entry_id": "matthew-henry-complete.Ezek.1.1-3",
113
- "book": "Ezekiel",
114
- "book_osis": "Ezek",
115
- "chapter": 1,
116
- "verse_range": "1-3",
117
- "verse_range_osis": "Ezek.1.1-Ezek.1.3",
118
- "verse_text": "In the thirtieth year...",
119
- "commentary_text": "The circumstances of the vision which Ezekiel saw...",
120
- "word_count": 2042
121
- }
122
- ```
123
-
124
- ### Structured text record example
125
-
126
- ```json
127
- {
128
- "_source_id": "pilgrims-progress",
129
- "_source_title": "The Pilgrim's Progress",
130
- "_author": "John Bunyan",
131
- "_schema_type": "structured_text",
132
- "_license": "public-domain",
133
- "_source_url": "https://github.com/standardebooks/john-bunyan_the-pilgrims-progress",
134
- "work_id": "pilgrims-progress",
135
- "work_kind": "allegory",
136
- "section_type": "part",
137
- "section_label": "The First Part",
138
- "section_title": "",
139
- "section_path": ["The First Part"],
140
- "block_index": 0,
141
- "text": "As I walked through the wilderness of this world..."
142
- }
143
- ```
144
-
145
- ## Usage
146
-
147
- ```python
148
- from datasets import load_dataset
149
-
150
- # Load a specific schema type
151
- commentary = load_dataset("OpenChristianDataOrg/open-christian-data", "commentary")
152
- church_fathers = load_dataset("OpenChristianDataOrg/open-christian-data", "church_fathers")
153
- catechisms = load_dataset("OpenChristianDataOrg/open-christian-data", "catechism_qa")
154
-
155
- # Filter by source
156
- matthew_henry = [r for r in commentary["train"] if r["_source_id"] == "matthew-henry-complete"]
157
-
158
- # All commentary on a specific verse
159
- rom_8_28 = [
160
- r for r in commentary["train"]
161
- if "Rom.8.28" in (r.get("verse_range_osis") or "")
162
- ]
163
- ```
164
-
165
- ## Sources
166
-
167
- - **Bible text**: [Berean Standard Bible](https://berean.bible) — CC0 since April 2023
168
- - **Commentary**: [HelloAO Bible API](https://bible.helloao.org) — Matthew Henry, JFB, Gill, Adam Clarke, KD; [CrossWire SWORD](https://www.crosswire.org/sword/) — Barnes, Calvin, Wesley, Treasury of David; all public domain
169
- - **Church Fathers**: [HistoricalChristianFaith/Commentaries-Database](https://github.com/HistoricalChristianFaith/Commentaries-Database) — 325 authors, public domain
170
- - **Devotionals**: Christian Classics Ethereal Library (ccel.org) — Spurgeon's Morning and Evening (ThML XML); CrossWire SWORD — Daily Light on the Daily Path; public domain
171
- - **Structured texts**: [Standard Ebooks](https://standardebooks.org) — 9 titles in CC0-annotated XHTML; Project Gutenberg — Luther's Large Catechism, Calvin's Institutes, Augustine's Confessions; public domain
172
- - **Catechisms**: Project Gutenberg — Luther's Small Catechism, Baltimore Catechisms #1–3; additional catechisms (Westminster, Heidelberg, Keach's, and more); public domain
173
- - **Confessions & creeds**: Westminster Confession, Nicene Creed, Chalcedonian Definition, and 30+ more historic documents; public domain
174
- - **Prayers**: [eskimo.com BCP 1662](https://eskimo.com/~lhowell/bcp1662/) (Lynda M. Howell); [episcopalnet.org BCP 1928](https://www.episcopalnet.org/1928bcp/); [Wikisource Didache](https://en.wikisource.org/wiki/Didache_(Lake_translation)) (Kirsopp Lake 1912 translation); public domain
175
- - **Bible dictionaries**: Easton's (1893), Smith's (1863), Hitchcock's (1874), Torrey's (1897); public domain
176
- - **Topical reference**: [CrossWire SWORD](https://www.crosswire.org/sword/) — Nave's Topical Bible (1896); public domain
177
- - All authors died before 1928; texts are unambiguously public domain.
178
-
179
- ## Attribution
180
-
181
- Devotional text sourced from the Christian Classics Ethereal Library (ccel.org). ThML parsing permitted per correspondence with CCEL (April 2026).
182
-
183
- ## License
184
-
185
- This dataset is released under [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/) — dedicated to the public domain. You can use it for any purpose, including commercial AI training, without restriction or attribution.
186
-
187
- The underlying texts are public domain works by authors who died before 1928. The pipeline code, schemas, and tooling used to produce this dataset are licensed separately under CC BY-NC 4.0.
 
1
+ ---
2
+ license: cc0-1.0
3
+ language:
4
+ - en
5
+ pretty_name: Open Christian Data
6
+ size_categories:
7
+ - 100K<n<1M
8
+ task_categories:
9
+ - text-generation
10
+ - question-answering
11
+ - text-classification
12
+ - feature-extraction
13
+ tags:
14
+ - christian
15
+ - theology
16
+ - bible
17
+ - commentary
18
+ - sermon
19
+ - catechism
20
+ - confession
21
+ - church-fathers
22
+ - public-domain
23
+ - religion
24
+ configs:
25
+ - config_name: bible_text
26
+ data_files:
27
+ - path: data/bible_text.jsonl
28
+ split: train
29
+ - config_name: catechism_qa
30
+ data_files:
31
+ - path: data/catechism_qa.jsonl
32
+ split: train
33
+ - config_name: church_fathers
34
+ data_files:
35
+ - path: data/church_fathers.jsonl
36
+ split: train
37
+ - config_name: commentary
38
+ data_files:
39
+ - path: data/commentary.jsonl
40
+ split: train
41
+ - config_name: devotional
42
+ data_files:
43
+ - path: data/devotional.jsonl
44
+ split: train
45
+ - config_name: doctrinal_document
46
+ data_files:
47
+ - path: data/doctrinal_document.jsonl
48
+ split: train
49
+ - config_name: hymn_collection
50
+ data_files:
51
+ - path: data/hymn_collection.jsonl
52
+ split: train
53
+ - config_name: prayer
54
+ data_files:
55
+ - path: data/prayer.jsonl
56
+ split: train
57
+ - config_name: reference_entry
58
+ data_files:
59
+ - path: data/reference_entry.jsonl
60
+ split: train
61
+ - config_name: sermon
62
+ data_files:
63
+ - path: data/sermon.jsonl
64
+ split: train
65
+ - config_name: structured_text
66
+ data_files:
67
+ - path: data/structured_text.jsonl
68
+ split: train
69
+ - config_name: topical_reference
70
+ data_files:
71
+ - path: data/topical_reference.jsonl
72
+ split: train
73
+ ---
74
+
75
+ # Open Christian Data
76
+
77
+ A free, author/work-led dataset of public domain Christian literature Bible text, commentaries, sermons, catechisms, confessions, theology, prayer, and reference works, projected into clean records with full provenance metadata. Intentionally designed for developers and AI/LLM training.
78
+
79
+ All content is written by authors who died before 1928. All texts are in the public domain. The dataset is CC0.
80
+
81
+ ## Export shape
82
+
83
+ The live whole-corpus HuggingFace export is the per-schema JSONL export generated by
84
+ `build/scripts/export_huggingface.py`. The `original`/`modernised` export path in the source
85
+ repository is a separate NSH-style publish-projection path and is not the current whole-corpus
86
+ HuggingFace release.
87
+
88
+ ## What's included
89
+
90
+ The public inventory is counted by recognized work units: the title-level item a reader, library, citation, or source catalog would treat as present. Export records, verses, dictionary entries, topics, Q&A pairs, chapters, and quotations are subordinate technical units.
91
+
92
+ Generated from current `data/` with `py -3 build/tools/count_dataset_records.py`.
93
+
94
+ | Category | Work units | Top-level records |
95
+ |---|---:|---:|
96
+ | Bible text | 9 | 282,395 |
97
+ | Catechisms | 15 | 3,509 |
98
+ | Church Fathers quotation source | 1 | 70,164 |
99
+ | Commentaries | 34 | 113,903 |
100
+ | Devotionals | 2 | 1,464 |
101
+ | Doctrinal documents | 38 | 38 |
102
+ | Hymns | 1 | 34,904 |
103
+ | Lexicon | 1 | 0 |
104
+ | Prayers | 4 | 205 |
105
+ | Reference works | 7 | 26,305 |
106
+ | Sermons | 7 | 5,297 |
107
+ | Structured texts | 288 | 289 |
108
+ | Topical reference works | 1 | 5,322 |
109
+ | **Total** | **408** | **543,795** |
110
+
111
+ The live HuggingFace export flattens structured texts and doctrinal documents, so this release exports **803,985 JSONL rows**. The source repository includes the generated work metadata audit at `docs/WORK_CATALOG.md` and a browser-friendly review surface at `docs/WORK_CATALOG.html`.
112
+
113
+ ## Loading the data
114
+
115
+ ```python
116
+ from datasets import load_dataset
117
+
118
+ # Load a single config
119
+ original = load_dataset("OpenChristianData/open-christian-data", "original")
120
+ modernised = load_dataset("OpenChristianData/open-christian-data", "modernised")
121
+
122
+ # Filter to a specific author
123
+ wesley = [r for r in modernised["train"] if r["meta"]["author_slug"] == "wesley"]
124
+
125
+ # Filter to works with no modernised sibling by reading the coverage table above
126
+ ```
127
+
128
+ ## Data structure
129
+
130
+ Every record is a flattened row combining the resource-level metadata with entry-level fields. Key fields present on all records:
131
+
132
+ | Field | Description |
133
+ |---|---|
134
+ | `_source_id` | Unique identifier for the parent resource (e.g., `matthew-henry-complete`) |
135
+ | `entry_id` | Unique identifier for this entry (e.g., `matthew-henry-complete.Ezek.1.1-3`) |
136
+ | `author` | Author name |
137
+ | `tradition` | Array of theological tradition labels (e.g., `["reformed", "puritan"]`) |
138
+ | `era` | Historical era (`patristic`, `medieval`, `reformation`, `post-reformation`, `modern`) |
139
+ | `license` | `cc0-1.0` or `public-domain` |
140
+ | `schema_type` | Content type — one of the config names above |
141
+
142
+ Schema-specific fields vary by content type. Full field documentation is in the [source repository](https://github.com/OpenChristianData/open-christian-data/blob/main/docs/SCHEMA_SPEC.md).
143
+
144
+ ## Provenance
145
+
146
+ Every record carries full provenance — the source URL, source format, download date, processing script, and a SHA-256 hash of the source file. This is stored in the `provenance_*` fields in the flattened export.
147
+
148
+ ## Verse references
149
+
150
+ All verse references use [OSIS format](https://crosswire.org/osis/) (`Gen.1.1`, `Rom.9.1-Rom.9.5`). Where sources use non-standard reference formats, both the raw form and the normalized OSIS form are stored.
151
+
152
+ ## License
153
+
154
+ - **Data**: [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/) — all underlying texts are public domain; the structuring and provenance tracking are dedicated to the public domain
155
+ - **Bible text (BSB)**: [CC0 1.0](https://berean.bible/licensing.htm)
156
+ - **Code and schemas**: [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) — free for non-commercial use; commercial use requires a license (see [source repository](https://github.com/OpenChristianData/open-christian-data))
157
+
158
+ ## Citation
159
+
160
+ ```bibtex
161
+ @dataset{open_christian_data_2026,
162
+ title = {Open Christian Data},
163
+ author = {OpenChristianData},
164
+ year = {2026},
165
+ publisher = {HuggingFace},
166
+ url = {https://huggingface.co/datasets/OpenChristianData/open-christian-data},
167
+ license = {CC0-1.0}
168
+ }
169
+ ```
170
+
171
+ ## Source repository
172
+
173
+ [github.com/OpenChristianData/open-christian-data](https://github.com/OpenChristianData/open-christian-data)