SHACL

From Semantic Web Standards
sw-rdf-blue.png

SHapes And Constraints Language (SHACL)

Overview

SHACL is a standard language for describing shape of RDF data. SHACL is used to validate graph-based data against a set of conditions and to infer new triples based on existing triple.

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.