ShEx.Schema (ShEx.ex v0.1.4) View Source

A ShEx schema is a collection of ShEx shape expressions that prescribes conditions that RDF data graphs must meet in order to be considered "conformant".

Usually a ShEx.Schema is not created by hand, but read from a ShExC or ShExJ representation via ShEx.ShExC.decode/2 or ShEx.ShExJ.decode/2.

Link to this section Summary

Functions

Validates that a RDF.Data structure conforms to a ShEx.Schema according to a ShEx.ShapeMap.

Link to this section Functions

Link to this function

validate(schema, data, shape_map, opts \\ [])

View Source

Validates that a RDF.Data structure conforms to a ShEx.Schema according to a ShEx.ShapeMap.