https://cacontology.projectvic.org/trafficking/shapes#TraffickingVictimRoleShape
Validates temporal role properties for trafficking victim roles.
Focus nodes of this shape (cacontology-trafficking:TraffickingVictimRole) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-trafficking:hasRoleBeginPoint | Temporal begin point for trafficking role. sh:message Victim roles can have at most one role begin point as xsd:dateTimeStamp. |
0 | 1 | xsd:dateTimeStamp | |
| cacontology-trafficking:hasRoleEndPoint | Temporal end point for trafficking role. sh:message Victim roles can have at most one role end point as xsd:dateTimeStamp. |
0 | 1 | xsd:dateTimeStamp |
@prefix cacontology-trafficking: <https://cacontology.projectvic.org/trafficking#> .
@prefix cacontology-trafficking-shapes: <https://cacontology.projectvic.org/trafficking/shapes#> .
@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-trafficking-shapes:TraffickingVictimRoleShape a sh:NodeShape ;
rdfs:label "Trafficking Victim Role Shape"@en ;
rdfs:comment "Validates temporal role properties for trafficking victim roles."@en ;
sh:property [ sh:datatype xsd:dateTimeStamp ;
sh:maxCount 1 ;
sh:message "Victim roles can have at most one role begin point as xsd:dateTimeStamp."@en ;
sh:path cacontology-trafficking:hasRoleBeginPoint ],
[ sh:datatype xsd:dateTimeStamp ;
sh:maxCount 1 ;
sh:message "Victim roles can have at most one role end point as xsd:dateTimeStamp."@en ;
sh:path cacontology-trafficking:hasRoleEndPoint ] ;
sh:targetClass cacontology-trafficking:TraffickingVictimRole .