Skip to main content

Module visible

Module visible 

Source
Expand description

Which SHACL shape documents apply to a document.

One rule, used by validation, shape templates, hover and completion: a shape document applies to a document when it is

  • global: configured in shapes (marked Global),
  • the document itself, or
  • linked: the document links to it, through a prefix it declares or an owl:imports (DocumentLinks).

Functions§

shapes_apply
Whether the shape document labelled shapes applies to document doc.
visible_shapes
Triples and prefixes of the shape documents that apply to doc.

Type Aliases§

ShapeDocs
Shape documents, with what visible_shapes needs.