Open main menu

Shapes Constraint Language (SHACL) [1] is a World Wide Web Consortium (W3C) specification for validating graph-based data against a set of conditions. Among others, SHACL includes features to express conditions that constrain the number of values that a property may have, the type of such values, numeric ranges, string matching patterns, and logical combinations of such constraints. SHACL also includes an extension mechanism to express more complex conditions in languages such as SPARQL.

Shapes Constraint Language
StatusPublished W3C Recommendation (20 July 2017)
Year started2015
EditorsHolger Knublauch, Dimitris Kontokostas
Base standardsRDF, SPARQL, JSON-LD
Related standardsRDFS, OWL, ShEx
DomainSemantic Web
AbbreviationSHACL
Websitewww.w3.org/TR/shacl/

A SHACL validation engine takes as input a data graph and a graph containing shapes declarations and produces a validation report that can be consumed by tools. All these graphs can be represented in any Resource Description Framework (RDF) serialization formats including JSON-LD or Turtle. The adoption of SHACL may influence the future of linked data.[2]

Further readingEdit

ReferencesEdit