Efficient Validation of SHACL Shapes with Reasoning
Abstract
As the usage of knowledge graphs (KGs) becomes more pervasive in practical applications, there is a burgeoning need for high-quality data. The SHApes Constraint Language (SHACL) allows for expressing certain types of quality constraints that define sub-structures and correct values in KGs modelled with RDF. Nevertheless, performing SHACL validation without entailment often yields onesided outcomes, as it falls short of validating crucial implicit data encoded in the KG ontology. Current solutions that incorporate entailment into SHACL validation are inefficient, due to the time-intensive process of applying inference rules to the entire dataset. Moreover, applying entailment for SHACL validation can generate large amounts of redundant triples, exacerbating the validation workload and resulting in erroneous or redundant validation results. In light of these challenges, we propose Re-SHACL, an approach that combines targeted reasoning and entity merging techniques to generate a concise, consolidated RDF graph devoid of redundancy. Re-SHACL significantly reduces execution time and improves the accuracy of the validation reports. Our experiments demonstrate that Re-SHACL can be combined with state-of-the-art validators to deliver accurate validation reports efficiently.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on3
- Extraction of Validating Shapes from very large Knowledge GraphsKashif Rabbani, Matteo Lissandrini, Katja HoseVLDB 2023 · 48 citations
- Pattern Functional Dependencies for Data CleaningAbdulhakim Ali Qahtan, Nan Tang, Mourad Ouzzani, Yang Cao et al.VLDB 2020 · 42 citations
- Trav-SHACL: Efficiently Validating Networks of SHACL ConstraintsMónica Figuera, Philipp D. Rohde, Maria-Esther VidalWWW 2021 · 39 citations
Related papers
- Magic Shapes for SHACL ValidationShqiponja Ahmetaj, Bianca Löhnert, Magdalena Ortiz, Mantas SimkusVLDB 2022 · 7 citations
- Stable Model Semantics for Recursive SHACLMedina Andresel, Julien Corman, Magdalena Ortiz, Juan L. Reutter et al.WWW 2020 · 47 citations
- Transforming RDF Graphs to Property Graphs using Standardized SchemasKashif Rabbani, Matteo Lissandrini, Angela Bonifati, Katja HoseSIGMOD 2025 · 13 citations
- From Shapes to Shapes: Inferring SHACL Shapes for Results of SPARQL CONSTRUCT QueriesPhilipp Seifer, Daniel Hernández, Ralf Lämmel, Steffen StaabWWW 2024 · 3 citations
- Common Foundations for SHACL, ShEx, and PG-SchemaShqiponja Ahmetaj, Iovka Boneva, Jan Hidders, Katja Hose et al.WWW 2025 · 10 citations
