What is SHACL and what do I use it for?
The Shapes Constraint Language (SHACL) is a language for validating RDF graphs against a set of conditions [1]. It consists of a set of constraints that lets you describe a schema (shapes graph) for your RDF instance data (data graph). The shapes graph together with your data graph is the input for an SHACL engine, which will perform closed world validation. The engine will return a validation report, as a RDF graph, containing either conforms true or false. Iff the validation report conforms false, a validation result, as a graph, is created containing information about the triple(s) that caused the error.
1 Like