Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1705,6 +1705,7 @@ The following algorithms define a library of functions referenced in the above
<div class="opdetails">

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
Expand Down
8 changes: 8 additions & 0 deletions shapetrees.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ PREFIX owl: <http://www.w3.org/2002/07/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
Expand Down