--- 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 [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![GitHub](https://img.shields.io/badge/GitHub-salaamalykum-black)](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 ``` **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)