diff --git a/index.bs b/index.bs index 8ba125b..f5a2ce6 100644 --- a/index.bs +++ b/index.bs @@ -1705,6 +1705,7 @@ The following algorithms define a library of functions referenced in the above
1. Return a failing validation result if `ST st:expectedType` is set and is not the resource type of `R` +1. Return a failing validation result if `ST st:targetClass` is set and is not equal to the class of the resource 'R' 1. Return a failing validation result if `ST rdfs:label` is set and is not equal to the resource name of `R` 1. Return a failing validation result if `ST st:shape` is set and shape validation of the body content of `R` fails 1. Return a positive validation result diff --git a/shapetrees.ttl b/shapetrees.ttl index 5edd535..b08b07e 100644 --- a/shapetrees.ttl +++ b/shapetrees.ttl @@ -53,6 +53,14 @@ PREFIX owl: rdfs:isDefinedBy <> ; rdfs:label "Shape"@en . +:targetClass + a owl:ObjectProperty ; + rdfs:domain :ShapeTree ; + rdfs:range rdfs:Class ; + rdfs:comment "Specifies the class of the managed resource"@en ; + rdfs:isDefinedBy <> ; + rdfs:label "targetClass"@en . + # Container IRI (maps to ldp:Container) ############################################################################# # An IRI that represents a generalized container used in a ShapeTree