https://cacontology.projectvic.org/custodial#TrustViolationGUFOShape
Validates trust violations as gUFO events with temporal boundaries.
Focus nodes of this shape (cacontology-custodial:TrustViolation) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-custodial:hasViolationBeginPoint | Temporal begin point when trust violation started. sh:message Trust violation can have at most one begin point |
0 | 1 | xsd:dateTimeStamp | |
| cacontology-custodial:hasViolationEndPoint | Temporal end point when trust violation ceased. sh:message Trust violation can have at most one end point |
0 | 1 | xsd:dateTimeStamp | |
| cacontology-custodial:perpetratedBy | Links trust violation to the authority figure who perpetrated it. Enhanced with gUFO event participation patterns. sh:message Trust violation must be perpetrated by authority figure |
1 | * | cacontology-custodial:AuthorityFigure |
@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:TrustViolationGUFOShape a sh:NodeShape ;
rdfs:label "gUFO Trust Violation Shape"@en ;
rdfs:comment "Validates trust violations as gUFO events with temporal boundaries."@en ;
sh:property [ sh:datatype xsd:dateTimeStamp ;
sh:maxCount 1 ;
sh:message "Trust violation can have at most one begin point"@en ;
sh:path cacontology-custodial:hasViolationBeginPoint ],
[ sh:datatype xsd:dateTimeStamp ;
sh:maxCount 1 ;
sh:message "Trust violation can have at most one end point"@en ;
sh:path cacontology-custodial:hasViolationEndPoint ],
[ sh:class cacontology-custodial:AuthorityFigure ;
sh:message "Trust violation must be perpetrated by authority figure"@en ;
sh:minCount 1 ;
sh:path cacontology-custodial:perpetratedBy ] ;
sh:sparql [ sh:message "Violation 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:hasViolationBeginPoint ?begin ;
cacontology-custodial:hasViolationEndPoint ?end .
FILTER (?begin >= ?end)
}
""" ] ;
sh:targetClass cacontology-custodial:TrustViolation .