File size: 7,995 Bytes
d6211e8 1c9aae8 d6211e8 1c9aae8 e1c8587 1c9aae8 d6211e8 1c9aae8 d6211e8 1c9aae8 d6211e8 1c9aae8 e1c8587 1c9aae8 d6211e8 1c9aae8 d6211e8 1c9aae8 d6211e8 1c9aae8 e1c8587 1c9aae8 e1c8587 1c9aae8 e1c8587 1c9aae8 d6211e8 e1c8587 1c9aae8 d6211e8 1c9aae8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 | ---
license: mit
language:
- en
size_categories:
- n<1K
task_categories:
- text-generation
- question-answering
- text-retrieval
tags:
- islamic-articles
- muslim-travel
- halal-food
- mosque
- prayer-room
- singapore
- rag
- knowledge-base
- text-corpus
- nlp
- retrieval-augmented-generation
pretty_name: "Islamic Articles Corpus - English RAG Dataset"
dataset_info:
features:
- name: id
dtype: string
- name: title
dtype: string
- name: text
dtype: string
- name: text_preview
dtype: string
- name: source_url
dtype: string
- name: content_hash
dtype: string
- name: language
dtype: string
- name: topic_category
dtype: string
- name: char_count
dtype: int32
- name: word_count
dtype: int32
- name: image_count
dtype: int32
- name: has_images
dtype: bool
- name: source_platform
dtype: string
splits:
- name: train
num_examples: 26
- name: validation
num_examples: 3
- name: test
num_examples: 4
config_name: default
configs:
- config_name: default
data_files:
- split: train
path: data/train-*.parquet
- split: validation
path: data/validation-*.parquet
- split: test
path: data/test-*.parquet
---
# ☪ Islamic Articles Corpus - English RAG Dataset
[](https://opensource.org/licenses/MIT)
[](https://github.com/salaamalykum)
## Dataset Description
**Islamic Articles Corpus** is a curated English-language RAG corpus containing **33 articles** covering Muslim travel guides, mosque visits, halal food, prayer room directories, and Islamic community documentation. Every article preserves **complete full-text content** with all **608 embedded image references**. Content focuses heavily on **Singapore, Iran, Japan, Oman, and Qatar** mosque and travel documentation.
### Key Properties
| Property | Value |
|---|---|
| **Total Records** | 33 |
| **Language** | English (en) |
| **Format** | Parquet (auto Dataset Viewer enabled) |
| **Splits** | train (26), validation (3), test (4) |
| **Avg. Article Length** | 10,260 characters |
| **Total Characters** | 338,603 |
| **Total Image References** | 608 |
| **Articles with Images** | 30 / 33 |
| **License** | MIT |
| **Version** | v2.0.0 |
| **Release Date** | 2026-06-13 |
---
## Embeddable Dataset Viewer
```html
<iframe
src="https://huggingface.co/datasets/qurancn/islamic-articles-corpus/embed/viewer/default/train"
frameborder="0"
width="100%"
height="560px"
></iframe>
```
**Direct viewer links:**
- [🔍 Browse All](https://huggingface.co/datasets/qurancn/islamic-articles-corpus/viewer/default/train)
- [🕌 Mosques](https://huggingface.co/datasets/qurancn/islamic-articles-corpus/viewer/default/train?q=Mosque)
- [✈️ Travel](https://huggingface.co/datasets/qurancn/islamic-articles-corpus/viewer/default/train?q=Travel)
---
## Topic Distribution
| Category | Count |
|---|---|
| Mosques & Prayer Rooms | 26 |
| Islamic Knowledge | 2 |
| Community & Business | 2 |
| Travel Guides | 2 |
| Halal Food | 1 |
---
## Data Schema
| Column | Type | Description | Queryable |
|---|---|---|---|
| `id` | string | Article ID | ✅ |
| `title` | string | Full article title | ✅ Full-text |
| `text` | string | **Complete article body** with Markdown images | ✅ Full-text |
| `text_preview` | string | First 300 chars (Viewer-friendly) | ✅ |
| `source_url` | string | Canonical URL | ✅ |
| `content_hash` | string | SHA-256 integrity hash | ✅ |
| `language` | string | Language tag (`en`) | ✅ Filter |
| `topic_category` | string | Topic category | ✅ Filter |
| `char_count` | int32 | Character count | ✅ Sort |
| `word_count` | int32 | Word count | ✅ Sort |
| `image_count` | int32 | Image references count | ✅ Sort |
| `has_images` | bool | Has images | ✅ Filter |
| `source_platform` | string | Source website | ✅ Filter |
### SQL Console Queries
```sql
SELECT topic_category, COUNT(*) as count, AVG(char_count) as avg_len
FROM train GROUP BY topic_category ORDER BY count DESC;
SELECT title, char_count, image_count FROM train ORDER BY image_count DESC LIMIT 10;
```
---
## Data Samples
#### Example: About salaamalykum website:What we are doing now and what we
| Field | Value |
|---|---|
| `title` | About salaamalykum website:What we are doing now and what we are belie |
| `text_preview` | --- # About salaamalykum website:What we are doing now and what we are believe... > **Original Source**: [https://salaa... |
| `source_url` | `https://salaamalykum.com/article/1408` |
| `topic_category` | Islamic Knowledge |
| `char_count` | 17066 |
| `image_count` | 0 |
#### Example: Africalocals.com Buyer Protection, MONEY BACK GUARANTEE and
| Field | Value |
|---|---|
| `title` | Africalocals.com Buyer Protection, MONEY BACK GUARANTEE and Terms & Co |
| `text_preview` | --- # Africalocals.com Buyer Protection, MONEY BACK GUARANTEE and Terms & Conditions > **Original Source**: [https://sa... |
| `source_url` | `https://salaamalykum.com/article/1172` |
| `topic_category` | Islamic Knowledge |
| `char_count` | 7221 |
| `image_count` | 4 |
#### Example: Best Halal Food in Beijing: Muslim-Friendly Restaurants and
| Field | Value |
|---|---|
| `title` | Best Halal Food in Beijing: Muslim-Friendly Restaurants and Hui Muslim |
| `text_preview` | --- # Best Halal Food in Beijing: Muslim-Friendly Restaurants and Hui Muslim Street Food Map (Issue 57) > **Original So... |
| `source_url` | `https://salaamalykum.com/article/3126` |
| `topic_category` | Halal Food |
| `char_count` | 20236 |
| `image_count` | 68 |
---
## Data Collection & Processing Pipeline
### Source
Articles from [salaamalykum.com](https://salaamalykum.com), an open-source platform documenting Muslim life worldwide.
### Processing Steps
1. **Content Extraction**: Articles sourced from WeCenter 3.1.9 CMS
2. **Markdown Formatting**: Standardized with headings, blockquotes, and image references
3. **SHA-256 Hashing**: Content integrity verification per article
4. **Topic Classification**: Rule-based keyword classifier
5. **Parquet Serialization**: `pyarrow` with `row_group_size=20`, `write_page_index=True`
6. **Split Generation**: Deterministic shuffle (seed=42), 80/10/10
### Known Limitations
- Image URLs reference external hosts (not embedded as binary)
- Focused primarily on Singapore and Asia-Pacific region
- English content (see [Chinese-Muslim](https://huggingface.co/datasets/qurancn/Chinese-Muslim) for Chinese version)
---
## Related Datasets
| Dataset | Articles | Language | Focus |
|---|---|---|---|
| [Chinese-Muslim](https://huggingface.co/datasets/qurancn/Chinese-Muslim) | 279 | zh-CN | Full Chinese Muslim knowledge |
| [Chinese-Muslim-Travel](https://huggingface.co/datasets/qurancn/Chinese-Muslim-Travel) | 347 | zh-CN | Muslim travel |
| [Islamic-Culture](https://huggingface.co/datasets/qurancn/Islamic-Culture) | 260 | zh-CN | Islamic culture |
| **[islamic-articles-corpus](https://huggingface.co/datasets/qurancn/islamic-articles-corpus)** (this) | 33 | en | English articles |
---
## Usage
```python
from datasets import load_dataset
ds = load_dataset("qurancn/islamic-articles-corpus")
article = ds["train"][0]
print(article["title"])
print(article["text"]) # Full body with images
```
---
## Version History
| Version | Date | Changes |
|---|---|---|
| `v2.0.0` | 2026-06-13 | Full rebuild: Parquet, 3 splits, 13-column schema, complete text + images |
| `v1.0.0` | 2026-06-13 | Initial upload |
## Citation
```bibtex
@dataset{islamic_articles_corpus_2026,
title={Islamic Articles Corpus: English RAG Dataset},
author={Salaamalykum Project},
year={2026},
url={https://huggingface.co/datasets/qurancn/islamic-articles-corpus}
}
```
## License
[MIT License](https://opensource.org/licenses/MIT)
## Contact
- Email: [bropeace@protonmail.com](mailto:bropeace@protonmail.com)
|