SpiritRAG: A Q&A System for Religion and Spirituality in the United Nations Archive
Authors:
- Yingqiang GaoYGYingqiang Gao
- Fabian WinigerFWFabian Winiger
- Patrick MontjouridesPMPatrick Montjourides
- Anastassia ShaitarovaASAnastassia Shaitarova
- Nianlong GuNGNianlong Gu
- Simon Peng-KellerSPSimon Peng-Keller
- Gerold SchneiderGSGerold Schneider
Preprint
Abstract
Religion and spirituality (R/S) are complex and highly domain-dependent concepts which have long confounded researchers and policymakers. Due to their context-specificity, R/S are difficult to operationalize in conventional archival search strategies, particularly when datasets are very large, poorly accessible, and marked by information noise. As a result, considerable time investments and specialist knowledge is often needed to extract actionable insights related to R/S from general archival sources, increasing reliance on published literature and manual desk reviews. To address this challenge, we present SpiritRAG, an interactive Question Answering (Q&A) system based on Retrieval-Augmented Generation (RAG). Built using 7,500 United Nations (UN) resolution documents related to R/S in the domains of health and education, SpiritRAG allows researchers and policymakers to conduct complex, context-sensitive database searches of very large datasets using an easily accessible, chat-based web interface. SpiritRAG is lightweight to deploy and leverages both UN documents and user provided documents as source material. A pilot test and evaluation with domain experts on 100 manually composed questions demonstrates the practical value and usefulness of SpiritRAG.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- Randomness, Not Representation: The Unreliability of Evaluating Cultural Alignment in LLMs2025
- The ‘Spiritual’ and the ‘Religious’ in the Twittersphere: A Topic Model and Semantic MapJournal of Religion, Media and Digital Culture, 2025
- Performance and biases of Large Language Models in public opinion simulationHumanities and Social Sciences Communications, 2024
- The synchronic and diachronic evolution of key themes around SDG 4 before and after 2015: From a quantitative analysis of web-downloaded textsInternational Review of Education, 2024
- UNESCO practices under the SDG4 and COVID-19 response framework: Topic modeling from 2003 to 2021International Journal of Innovative Research and Scientific Studies, 2023
- Talking About Education: How Topics Vary Between International Organizations2021
- Text analysis using deep neural networks in digital humanities and information scienceJournal of the Association for Information Science and Technology, 2021
- Doing God in Digital Culture: How Digitality is Shaping Theology2020
- Dimensions of Religion and Spirituality: A Longitudinal Topic Modeling ApproachJournal for the Scientific Study of Religion, 2020
- The case for—and challenges of—faith-sensitive psychosocial programmingIntervention, 2019