Shapes Constraint Language (SHACL)  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.
|Status||Published W3C Recommendation (20 July 2017)|
|Editors||Holger Knublauch, Dimitris Kontokostas|
|Base standards||RDF, SPARQL, JSON-LD|
|Related standards||RDFS, OWL, ShEx|
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.