Author
Listed:
- Fabio Clarizia
(University of Salerno, Italy)
- Massimo De Santo
(University of Salerno, Italy)
- Rosario Gaeta
(University of Salerno, Italy)
- Rocco Loffredo
(University of Salerno, Italy)
Abstract
Large Language Models (LLMs) show strong performance in natural language tasks but are prone to hallucinations, limiting reliability in knowledge-intensive fields such as cultural heritage. This paper presents an Ontology-Based Retrieval-Augmented Generation (OB-RAG) framework that embeds subject–predicate–object triples from domain ontologies into a vector space, retrieving relevant knowledge via semantic search to ground LLM outputs. Unlike traditional RAG using unstructured text, the framework integrates manually and semiautomatically generated ontologies for explicit contextual grounding. A cultural heritage case study illustrates implementation and evaluation. Performance is assessed with quantitative metrics (Faithfulness and Answer Relevancy) and expert validation. Results show the OB prototype outperforms baseline LLMs, reducing hallucinations and improving factual accuracy and contextual alignment. The study offers both an architectural framework and empirical evidence that ontology-based RAG strengthens trustworthiness and user acceptance of LLMs in specialized domains.
Suggested Citation
Fabio Clarizia & Massimo De Santo & Rosario Gaeta & Rocco Loffredo, 2025.
"Enhancement Large Language Models Domain Through Ontology-Based Retrieval-Augmented Generation,"
International Journal on Semantic Web and Information Systems (IJSWIS), IGI Global Scientific Publishing, vol. 21(1), pages 1-29, January.
Handle:
RePEc:igg:jswis0:v:21:y:2025:i:1:p:1-29
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:igg:jswis0:v:21:y:2025:i:1:p:1-29. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Journal Editor (email available below). General contact details of provider: https://www.igi-global.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.