valueShape
By specifing the Shape to which the Description of the resource represented by the Value — ie, the object of a Statement in the Instance Data — is expected to conform, the valueShape element connects the shapes of a profile.
A value shape identifier may be a literal, blank node, or IRI, so no checks are performed on the value of this element.
The example below says:
A book, as described according to the “:book” shape, has a creator.
The creator of the book must be described in accordance with the “:person” shape.
The “:person” shape says that the description of a person must include their name.
shapeID |
propertyID |
valueShape |
---|---|---|
:book |
dct:creator |
:person |
:person |
foaf:name |
Interpreted as:
DCTAP instance
Shape
shapeID :book
Statement Template
propertyID dct:creator
valueShape :person
Shape
shapeID :person
Statement Template
propertyID foaf:name