SHACL Play ontology

IRI: https://shacl-play.sparna.fr/ontology
Documentation:
  • Label: SHACL Play ontology@en
  • Description: The SHACL Play ontology extends SHACL with custom properties to 1/ annotate shapes graphs 2/ extend the content of a validation report 3/ express detailled statistics of a dataset linked to a shapes graph.
  • Note: the machine-readable description of the ontology is encoded using RDFa annotations inside this page. To retrieve it, parse the content of this page with an RDFa parser.
Specification:

Classes

No classes are defined in this ontology.

Properties

background-color (datatype property)

IRI: https://shacl-play.sparna.fr/ontology#background-color
Documentation:
  • Label: background color@en
  • Definition: Indicates the background color of a resource.
  • Usage note: Can be used on property shapes to color lines in the table or node shapes to color boxes in the diagrams.
  • See also: shacl-play:color
Specification:

color (datatype property)

IRI: https://shacl-play.sparna.fr/ontology#color
Documentation:
  • Label: color@en
  • Definition: Indicates the color of a resource.
  • Usage note: Can be used to indicate the text color to be used to display a resource.
  • See also: shacl-play:background-color
Specification:

embed (object property)

IRI: https://shacl-play.sparna.fr/ontology#embed
Documentation:
  • Label: embed@en
  • Definition: Indicates the embedding policy that a property shape should follow, that is whether in hierarchical output the value of the corresponding path of the property should be hierarchically embedded below.
  • Usage note: This is used in JSON schema generation. Embedding is assumed by default, unless the value of this property is shacl-play:EmbedNever.
  • See also: shacl-play:EmbedNever and JSON-LD framing @embed
Specification:

hasFocusNode (object or datatype property)

IRI: https://shacl-play.sparna.fr/ontology#hasFocusNode
Documentation:
  • Label: has focus node@en
  • Definition: Links a SHACL node shape to a focus node it is targeting.
  • Usage note: This is computed by SHACL Play by resolving the shape targets.
Specification:
  • Domain: sh:NodeShape
  • Range: none (can be either IRI or Literals depending on the shape target specification)

hasMatched (datatype property)

IRI: https://shacl-play.sparna.fr/ontology#hasMatched
Documentation:
  • Label: has matched@en
  • Definition: Boolean flag on the validation report itself indicating if at least one shape matched a focus node.
  • Usage note: This is added by SHACL Play in the validation report.
Specification:

isRoot (datatype property)

IRI: https://shacl-play.sparna.fr/ontology#isRoot
Documentation:
  • Label: is root@en
  • Definition: Indicates if a Node Shape is one of the root node shape in a Shapes graph, that is if it should be considered as a top-level entry point, compared to other node shapes.
  • Usage note: This is used to separate sections between "main entities" and "supportive entities" in the documentation, and to help flagging the root node shapes when generating JSON schema. By default, a Node Shape is considered a root shape if it has a target. This property can be used to override this default behavior.
  • See also: hanami:isRoot
Specification:

shortname (datatype property)

IRI: https://shacl-play.sparna.fr/ontology#shortname
Documentation:
  • Label: short name@en
  • Definition: Indicates the key or technical identifier corresponding to a resource. This is deprecated in favor of sh:codeIdentifier.
  • Usage note: To be used to indicate the JSON key to use in JSON context generation
Specification:

targetMatched (datatype property)

IRI: https://shacl-play.sparna.fr/ontology#targetMatched
Documentation:
  • Label: target matched@en
  • Definition: Boolean flag on a SHACL shape indicating if it matched at least focus node after validation.
  • Usage note: This is added by SHACL Play in the validation report.
Specification:

value (object or datatype)

IRI: https://shacl-play.sparna.fr/ontology#value
Documentation:
  • Label: value@en
  • Definition: Specifies the value for which this value partition is defined.
  • Usage note: This is used to further subdivide property partitions based on specific values.
  • See also: shacl-play:valuePartition, void:propertyPartition
Specification:

value partition (object property)

IRI: https://shacl-play.sparna.fr/ontology#valuePartition
Documentation:
  • Label: value partition@en
  • Definition: A dataset that is the shacl-play:valuePartition of another dataset must have exactly one shacl-play:value property. This partition dataset contains all triples that have the specified value as their object.
  • Usage note: This is used to further subdivide property partitions based on specific values of the property. Each value partition can then express the number of triples that have the corresponding value.
  • See also: shacl-play:value, void:propertyPartition
Specification:

Individuals

EmbedNever

IRI: https://shacl-play.sparna.fr/ontology#EmbedNever
Documentation:
  • Label: Never embed@en
  • Definition: Indicates that embedding should never be applied.
  • Usage note: To be used as a value for shacl-play:embed.
  • See also: shacl-play:embed