arXiv:2610.12064cs.CLOct 2026

Manuscript Offprint

arXiv:2610.12064

ILM: An AI-Powered Storytelling Educational Tool

Suhaila Mohammed, Abdelaziz Serour, Allison Lahnala

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Digital technologies have made Islamic narratives more accessible, but existing platforms provide limited support for structured learning and comprehension of these stories, particularly in Arabic and multilingual settings. We present ILM, an interactive educational platform for Stories of the Prophets that combines Arabic natural language processing, structured knowledge representation, and retrieval-based question generation. Admin-approved Arabic narratives are processed by a Knowledge Graph (KG) Constructor Engine that identifies entities and narrative relationships and stores them as structured knowledge, enabling learners to explore stories through a visual story map and answer entity- and relation-based questions generated from the KG. Separately, a multilingual retrieval pipeline retrieves relevant passages from the original narratives to generate multiple-choice and open-ended comprehension questions. For open-ended questions, an LLM-as-a-Judge evaluates learners' answers against the retrieved passages and reference answers to determine correctness. The platform also incorporates Quranic content as a separate enrichment layer, allowing selected narratives to be supplemented with source-supported information. By combining structured knowledge with passage-based retrieval, ILM supports narrative exploration, comprehension, and assessment across Arabic and multilingual content. The system demonstrates the feasibility of combining structured knowledge representation and retrieval-based generation to support interactive learning of Islamic narratives. A demo is available at anonymous.4open.science/r/mml-5FCF.

1 Introduction

Knowledge, or ilm, holds an important position in Islam and is highly valued by Muslims. Islamic knowledge has historically been passed from one generation to the next through teaching, study, narration, and direct engagement between teachers and learners. Narration has an important role in Islamic knowledge transmission, particularly through a framework and method called qasas (Qur'anic narratives). The Qur'an uses narrative to convey guidance and lessons, highlighting its pedagogical significance within Islamic education [27].

In today's world, the way knowledge is transmitted has changed significantly with the rise of digital technologies where information is now more widely available and accessible than before. On the other hand, digital platforms have become an increasingly common medium through which people learn. However, the availability of information through digital platforms does not necessarily ensure meaningful engagement or learning. Recent studies have shown that digital storytelling of prophetic narratives can support moral and religious character formation, as well as learner motivation and engagement, particularly when stories are well designed and appropriately mediated by adults [4,20,21][4, 20, 21].

Therefore, we developed a storytelling platform for children and young adults that combines reading, visualization, and interactive learning. We begin by focusing on prophetic stories. Through an

Preprint.

interactive story map, users can visualize key entities in each story, such as the prophets and other people, locations, and important objects, and explore the relationships between them. They can also evaluate their understanding of the stories through quizzes that assess both factual knowledge and story comprehension.