Satisfiability and Containment of Recursive SHACL
Not on the map. Why?
Abstract (arXiv)
The Shapes Constraint Language (SHACL) is the recent W3C recommendation language for validating RDF data, by verifying certain shapes on graphs. Previous work has largely focused on the validation problem and the standard decision problems of satisfiability and containment, crucial for design and optimisation purposes, have only been investigated for simplified versions of SHACL. Moreover, the SHACL specification does not define the semantics of recursively-defined constraints, which led to several alternative recursive semantics being proposed in the literature. The interaction between these different semantics and important decision problems has not been investigated yet. In this article we provide a comprehensive study of the different features of SHACL, by providing a translation to a new first-order language, called SCL, that precisely captures the semantics of SHACL. We also present MSCL, a second-order extension of SCL, which allows us to define, in a single formal logic framework, the main recursive semantics of SHACL. Within this language we also provide an effective treatment of filter constraints which are often neglected in the related literature. Using this logic we provide a detailed map of (un)decidability and complexity results for the satisfiability and containment decision problems for different SHACL fragments. Notably, we prove that both problems are undecidable for the full language, but we present decidable combinations of interesting features, even in the face of recursion.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 4 of its 59 references that are in the map. First posted on arXiv 30 Aug 2021.
Builds on
4 of 59 references.
References · 4
- 2020Deciding SHACL Shape Containment through Description Logics Reasoning (Extended Version)cited by 7
- 2019SHACL Constraints with Inference Rulescited by 5
- 2013Unary negationcited by 4
- 2018Finite Satisfiability of Unary Negation Fragment with Transitivitycited by 3
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 0; 2024: 0; 2025: 2; 2026: 1.
4 papers.
- 2021A Review of SHACL: From Data Validation to Schema Reasoning for RDF Graphscited by 7
- 2025Common Foundations for SHACL, ShEx, and PG-Schemacited by 4
- 2025SHACL Validation under Graph Updates (Extended Paper)cited by 0
- 2026Static Analysis of Recursive SHACLcited by 0
- 2026Static Analysis of Recursive SHACL4 May 2026
- 2025SHACL Validation under Graph Updates (Extended Paper)31 Jul 2025
- 2025Common Foundations for SHACL, ShEx, and PG-Schema3 Feb 2025
- 2021A Review of SHACL: From Data Validation to Schema Reasoning for RDF Graphs2 Dec 2021