Ontology Version: 2.2.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

Implementation

@prefix cacontology-trafficking: <https://cacontology.projectvic.org/trafficking#> .
@prefix cacontology-trafficking-shapes: <https://cacontology.projectvic.org/trafficking/shapes#> .
@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-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:hasValue gufo:Role ;
            sh:message "Trafficking victim roles should be typed as gufo:Role (anti-rigid sortal)."@en ;
            sh:path rdf:type ] ;
    sh:targetClass cacontology-trafficking:TraffickingVictimRole .