Ontology Version: 3.0.0

cacontology-trafficking-shapes:TraffickingVictimRoleShape leaf node


URI

https://cacontology.projectvic.org/trafficking/shapes#TraffickingVictimRoleShape

Label

Trafficking Victim Role Shape

Description

Validates temporal role properties for trafficking victim roles.

Shape Properties

Instances of cacontology-trafficking:TraffickingVictimRole can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-trafficking:TraffickingVictimRole
cacontology-trafficking:hasRoleBeginPoint 1 xsd:dateTimeStamp
cacontology-trafficking:hasRoleEndPoint 1 xsd:dateTimeStamp
cac-core: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-physical:hasRoleBeginPoint 1 xsd:dateTimeStamp
cacontology-physical:hasRoleEndPoint 1 xsd:dateTimeStamp
cacontology-production:hasRoleBeginPoint 0 1 xsd:dateTimeStamp
cacontology-production:hasRoleEndPoint 0 1 xsd:dateTimeStamp
cacontology:hasRoleBeginPoint 1 xsd:dateTimeStamp
cacontology:hasRoleEndPoint 1 xsd:dateTimeStamp
0 cacontology:CACInvestigation

Implementation

@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 .