https://cacontology.projectvic.org/custodial#PositionOfTrustGUFOShape
Validates position of trust with gUFO anti-rigid role constraints.
Focus nodes of this shape (cacontology-custodial:PositionOfTrust) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-custodial:hasRoleBeginPoint | Temporal begin point when authority role started. sh:message Position of trust can have at most one begin point |
0 | 1 | xsd:dateTimeStamp | |
| cacontology-custodial:hasRoleEndPoint | Temporal end point when authority role ended. sh:message Position of trust can have at most one end point |
0 | 1 | xsd:dateTimeStamp |
@prefix cacontology-custodial: <https://cacontology.projectvic.org/custodial#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-custodial:PositionOfTrustGUFOShape a sh:NodeShape ;
rdfs:label "gUFO Position of Trust Shape"@en ;
rdfs:comment "Validates position of trust with gUFO anti-rigid role constraints."@en ;
sh:property [ sh:datatype xsd:dateTimeStamp ;
sh:maxCount 1 ;
sh:message "Position of trust can have at most one begin point"@en ;
sh:path cacontology-custodial:hasRoleBeginPoint ],
[ sh:datatype xsd:dateTimeStamp ;
sh:maxCount 1 ;
sh:message "Position of trust can have at most one end point"@en ;
sh:path cacontology-custodial:hasRoleEndPoint ] ;
sh:sparql [ sh:message "Role begin point must precede end point"@en ;
sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/custodial#"^^xsd:anyURI ;
sh:prefix "cacontology-custodial" ] ] ;
sh:select """
PREFIX cacontology-custodial: <https://cacontology.projectvic.org/custodial#>
SELECT ?this
WHERE {
?this cacontology-custodial:hasRoleBeginPoint ?begin ;
cacontology-custodial:hasRoleEndPoint ?end .
FILTER (?begin >= ?end)
}
""" ] ;
sh:targetClass cacontology-custodial:PositionOfTrust .