The University of Southampton
University of Southampton Institutional Repository

Satisfiability and containment of recursive SHACL

Satisfiability and containment of recursive SHACL
Satisfiability and containment of recursive SHACL
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, while 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.
1570-8268
Pareti, Paolo
c4337eaa-f206-4639-afd2-3bcbfe734cdb
Konstantinidis, George
f174fb99-8434-4485-a7e4-bee0fef39b42
Mogavero, Fabio
8a05b57c-db22-4216-95d1-7c35d5975ee1
Pareti, Paolo
c4337eaa-f206-4639-afd2-3bcbfe734cdb
Konstantinidis, George
f174fb99-8434-4485-a7e4-bee0fef39b42
Mogavero, Fabio
8a05b57c-db22-4216-95d1-7c35d5975ee1

Pareti, Paolo, Konstantinidis, George and Mogavero, Fabio (2022) Satisfiability and containment of recursive SHACL. Journal of Web Semantics, 74, [100721]. (doi:10.1016/j.websem.2022.100721).

Record type: Article

Abstract

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, while 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.

Text
1-s2.0-S1570826822000130-main - Version of Record
Available under License Creative Commons Attribution.
Download (725kB)

More information

Accepted/In Press date: 15 May 2022
e-pub ahead of print date: 14 June 2022
Published date: 27 June 2022

Identifiers

Local EPrints ID: 500972
URI: http://eprints.soton.ac.uk/id/eprint/500972
ISSN: 1570-8268
PURE UUID: e371e3a8-fcac-4ed0-b1be-26ff29027fc7
ORCID for Paolo Pareti: ORCID iD orcid.org/0000-0002-2502-0011

Catalogue record

Date deposited: 20 May 2025 16:34
Last modified: 10 Sep 2025 09:25

Export record

Altmetrics

Contributors

Author: Paolo Pareti ORCID iD
Author: George Konstantinidis
Author: Fabio Mogavero

Download statistics

Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.

View more statistics

Atom RSS 1.0 RSS 2.0

Contact ePrints Soton: eprints@soton.ac.uk

ePrints Soton supports OAI 2.0 with a base URL of http://eprints.soton.ac.uk/cgi/oai2

This repository has been built using EPrints software, developed at the University of Southampton, but available to everyone to use.

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.

×