Ontology Version: 2.2.0

cacontology-usa-federal:FederalVictimRoleShape leaf node


URI

https://cacontology.projectvic.org/usa-federal-law#FederalVictimRoleShape

Label

FederalVictimRoleShape

Shape Properties

Instances of cacontology-usa-federal:FederalVictimRole can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-usa-federal:FederalVictimRole
cacontology-usa-federal:hasRoleBeginPoint 1 1 xsd:dateTimeStamp
cacontology-usa-federal:victimizedBy 1 gufo:Event

Implementation

@prefix cacontology-usa-federal: <https://cacontology.projectvic.org/usa-federal-law#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-usa-federal:FederalVictimRoleShape a sh:NodeShape ;
    sh:property [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Federal victim role must have exactly one begin point"@en ;
            sh:minCount 1 ;
            sh:path cacontology-usa-federal:hasRoleBeginPoint ],
        [ sh:class gufo:Event ;
            sh:message "Victim role must be linked to at least one criminal event"@en ;
            sh:minCount 1 ;
            sh:path cacontology-usa-federal:victimizedBy ] ;
    sh:targetClass cacontology-usa-federal:FederalVictimRole .