Competency Questions as Executable Plans: a Controlled RAG Architecture for Cultural Heritage Storytelling
Organizations: School of Computer Science and Informatics, University of Liverpool, Brownlow Hill, Liverpool, L69 7ZX, United Kingdom
Abstract
The preservation of intangible cultural heritage is a critical challenge as collective memory fades over time. While Large Language Models (LLMs) offer a promising avenue for generating engaging narratives, their propensity for factual inaccuracies or "hallucinations" makes them unreliable for heritage applications where veracity is a central requirement. To address this, we propose a novel neuro-symbolic architecture grounded in Knowledge Graphs (KGs) that establishes a transparent "plan-retrieve-generate" workflow for story generation. A key novelty of our approach is the repurposing of competency questions (CQs) - traditionally design-time validation artifacts - into run-time executable narrative plans. This approach bridges the gap between high-level user personas and atomic knowledge retrieval, ensuring that generation is evidence-closed and fully auditable. We validate this architecture using a new resource: the Live Aid KG, a multimodal dataset aligning 1985 concert data with the Music Meta Ontology and linking to external multimedia assets. We present a systematic comparative evaluation of three distinct Retrieval-Augmented Generation (RAG) strategies over this graph: a purely symbolic KG-RAG, a text-enriched Hybrid-RAG, and a structure-aware Graph-RAG. Our experiments reveal a quantifiable trade-off between the factual precision of symbolic retrieval, the contextual richness of hybrid methods, and the narrative coherence of graph-based traversal. Our findings offer actionable insights for designing personalised and controllable storytelling systems.
Figures & tables
| KG property | Value |
| Total Triples | 20,343 |
| Distinct Classes | 40 |
| Distinct Predicates (excl. rdf:type) | 109 |
| Typed Subjects | 3,547 |
| Subjects with Dual Typing | 398 |
| KG-RAG | Hybrid-RAG | Graph-RAG | |||||
|---|---|---|---|---|---|---|---|
| Persona | Length | Support% | Coverage% | Support% | Coverage% | Support% | Coverage% |
| Emma | Small | 71.95 | 83.40 | 69.96 | 89.56 | 22.36 | 14.60 |
| Medium | 73.59 | 88.57 | 67.79 | 89.58 | 17.15 | 14.78 | |
| Long | 75.65 | 87.88 | 69.64 | 92.17 | 16.26 | 14.72 | |
| Luca | Small | 74.65 | 90.00 | 75.92 | 89.71 | 22.89 | 13.47 |
| Medium | 76.21 | 90.11 | 66.44 | 90.06 | 32.64 | 19.05 | |
| KG-RAG | Hybrid-RAG | Graph-RAG | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Persona | Length | FRE | Glob | Loc | FRE | Glob | Loc | FRE | Glob | Loc |
| Emma | Small | 58.28 | 0.497 | 0.410 | 48.61 | 0.524 | 0.477 | 50.10 | 1.000 | 0.448 |
| Medium | 60.65 | 0.517 | 0.402 | 48.38 | 0.551 | 0.480 | 50.72 | 1.000 | 0.417 | |
| Long | 61.07 | 0.501 | 0.403 | 46.73 | 0.523 | 0.471 | 51.81 | 1.000 | 0.417 | |
| Luca | Small | 58.27 | 0.482 | 0.406 | 43.43 | 0.555 | 0.500 | 53.03 | 1.000 | 0.432 |
| Medium | 57.67 | 0.515 | 0.402 | 46.19 | 0.535 | 0.491 | 54.03 | 1.000 | 0.422 | |
Grounded Text Generation
Grounded text generation produces language tied to verifiable evidence, structured data, or perceptual context to limit unsupported claims.
See all 31 papers