|国家预印本平台
首页|xpSHACL: Explainable SHACL Validation using Retrieval-Augmented Generation and Large Language Models

xpSHACL: Explainable SHACL Validation using Retrieval-Augmented Generation and Large Language Models

xpSHACL: Explainable SHACL Validation using Retrieval-Augmented Generation and Large Language Models

来源:Arxiv_logoArxiv
英文摘要

Shapes Constraint Language (SHACL) is a powerful language for validating RDF data. Given the recent industry attention to Knowledge Graphs (KGs), more users need to validate linked data properly. However, traditional SHACL validation engines often provide terse reports in English that are difficult for non-technical users to interpret and act upon. This paper presents xpSHACL, an explainable SHACL validation system that addresses this issue by combining rule-based justification trees with retrieval-augmented generation (RAG) and large language models (LLMs) to produce detailed, multilanguage, human-readable explanations for constraint violations. A key feature of xpSHACL is its usage of a Violation KG to cache and reuse explanations, improving efficiency and consistency.

Gustavo Correa Publio、José Emilio Labra Gayo

计算技术、计算机技术

Gustavo Correa Publio,José Emilio Labra Gayo.xpSHACL: Explainable SHACL Validation using Retrieval-Augmented Generation and Large Language Models[EB/OL].(2025-07-11)[2025-08-02].https://arxiv.org/abs/2507.08432.点此复制

评论