https://cacontology.projectvic.org/custodial#PositionOfTrustGUFOShape
Validates position of trust with gUFO anti-rigid role constraints.
Instances of cacontology-custodial:PositionOfTrust can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-custodial:PositionOfTrust | ||||
| cacontology-custodial:hasRoleBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-custodial:hasRoleEndPoint | 1 |
xsd:dateTimeStamp
|
||
| 1 | ||||
| gufo:Role | ||||
| cacontology-infrastructure:hasRoleBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-infrastructure:hasRoleEndPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-multi:hasRoleBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-multi:hasRoleEndPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-partnerships:hasRoleBeginPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-partnerships:hasRoleEndPoint | 1 |
xsd:dateTimeStamp
|
||
| cacontology-production:hasRoleBeginPoint | 0 | 1 |
xsd:dateTimeStamp
|
|
| cacontology-production:hasRoleEndPoint | 0 | 1 |
xsd:dateTimeStamp
|
|
@prefix cacontology-custodial: <https://cacontology.projectvic.org/custodial#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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:hasValue gufo:Role ;
sh:message "Position of trust must be typed as gUFO Role (anti-rigid sortal)"@en ;
sh:minCount 1 ;
sh:path rdf:type ],
[ 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 .