paper-with-me

홈 › Papers

Satisfiability and Containment of Recursive SHACL

2021-08-30 · Paolo Pareti, George Konstantinidis, Fabio Mogavero

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.

📄 PDF Abstract BibTeX arXiv:2108.13063

Code (1)

paolo7/shacl2fol

Tasks

Formal Logic

Similar Papers 제목 키워드 기반

SHACL Satisfiability and Containment (Extended Paper)

2020-08-31 · Paolo Pareti, George Konstantinidis, Fabio Mogavero, Timothy J. Norman

The Shapes Constraint Language (SHACL) is a recent W3C recommendation language for validating RDF data. Specifically, SHACL documents are collections of constraints that enforce particular shapes on an RDF graph. Previou…

Translation

SHACL2FOL: An FOL Toolkit for SHACL Decision Problems

2024-06-12 · Paolo Pareti

Recent studies on the Shapes Constraint Language (SHACL), a W3C specification for validating RDF graphs, rely on translating the language into first-order logic in order to provide formally-grounded solutions to the vali…

Management

A Review of SHACL: From Data Validation to Schema Reasoning for RDF Graphs

2021-12-02 · Paolo Pareti, George Konstantinidis

We present an introduction and a review of the Shapes Constraint Language (SHACL), the W3C recommendation language for validating RDF data. A SHACL document describes a set of constraints on RDF nodes, and a graph is val…

valid

Static Analysis of Recursive SHACL

2026-05-04 · Anouk Oudshoorn, Magdalena Ortiz, Mantas Simkus arxiv

SHACL (Shapes Constraint Language) expresses constraints on RDF data by means of so-called shapes. Its central service is validation: verifying whether a data graph complies with a SHACL document. But so far, there are n…

Fixpoint Semantics for Recursive SHACL

2021-09-17 · Bart Bogaerts, Maxime Jakubowski

SHACL is a W3C-proposed language for expressing structural constraints on RDF graphs. The recommendation only specifies semantics for non-recursive SHACL; recently, some efforts have been made to allow recursive SHACL sc…