sub:assertion {
<
http://www.w3.org/ns/shacl#NodeShape>
rdfs:label "node shape" .
<
http://www.w3.org/ns/shacl#maxCount>
rdfs:label "has max count" .
<
http://www.w3.org/ns/shacl#minCount>
rdfs:label "has min count" , "is a" .
<
http://www.w3.org/ns/shacl#path>
rdfs:label "has the path" .
<
http://www.w3.org/ns/shacl#property>
rdfs:label "has the property" .
<
http://www.w3.org/ns/shacl#targetClass>
rdfs:label "has the target class" .
sub:assertion dct:description "This template defines a simple SHACL node shape." ;
a nt:AssertionTemplate ;
rdfs:label "Defining a simple SHACL node shape" ;
nt:hasStatement sub:st01 ,
sub:st02 ,
sub:st03 ,
sub:st04 ,
sub:st05 ,
sub:st06 ;
nt:hasTag "Validation" .
sub:maxCount a nt:LiteralPlaceholder ;
rdfs:label "maximum property count" .
sub:maxCountPropertyShape a nt:RestrictedChoicePlaceholder ;
rdfs:label "select property shape" ;
nt:possibleValue sub:propertyShape .
sub:minCount a nt:LiteralPlaceholder ;
rdfs:label "mimum property count" .
sub:minCountPropertyShape a nt:RestrictedChoicePlaceholder ;
rdfs:label "select property shape" ;
nt:possibleValue sub:propertyShape .
sub:nodeShape a nt:IntroducedResource ,
nt:LocalResource ,
nt:UriPlaceholder ;
rdfs:label "short ID suffix of node shape" .
sub:pathPredicate a nt:ExternalUriPlaceholder ;
rdfs:label "path predicate URI" .
sub:pathPropertyShape a nt:RestrictedChoicePlaceholder ;
rdfs:label "select property shape" ;
nt:possibleValue sub:propertyShape .
sub:propertyShape a nt:LocalResource ,
nt:UriPlaceholder ;
rdfs:label "short ID suffix for property shape" .
sub:st01 rdf:object <
http://www.w3.org/ns/shacl#NodeShape> ;
rdf:predicate rdf:type ;
rdf:subject sub:nodeShape .
sub:st02 rdf:object sub:targetClass ;
rdf:predicate <
http://www.w3.org/ns/shacl#targetClass> ;
rdf:subject sub:nodeShape .
sub:st03 rdf:object sub:propertyShape ;
rdf:predicate <
http://www.w3.org/ns/shacl#property> ;
rdf:subject sub:nodeShape ;
a nt:RepeatableStatement .
sub:st04 rdf:object sub:pathPredicate ;
rdf:predicate <
http://www.w3.org/ns/shacl#path> ;
rdf:subject sub:pathPropertyShape ;
a nt:RepeatableStatement .
sub:st05 rdf:object sub:maxCount ;
rdf:predicate <
http://www.w3.org/ns/shacl#maxCount> ;
rdf:subject sub:maxCountPropertyShape ;
a nt:OptionalStatement ,
nt:RepeatableStatement .
sub:st06 rdf:object sub:minCount ;
rdf:predicate <
http://www.w3.org/ns/shacl#minCount> ;
rdf:subject sub:minCountPropertyShape ;
a nt:OptionalStatement ,
nt:RepeatableStatement .
sub:targetClass a nt:ExternalUriPlaceholder ;
rdfs:label "target class URI" .
}