Ontology Version: 3.1.0

cacontology-usa-federal:EventParticipationValidationShape leaf node


URI

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

Label

EventParticipationValidationShape

Targets (1)

Property Constraints (1)

Focus nodes of this shape (cac-core:Event) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
(cacontology-usa-federal:prosecutedBy | cacontology-usa-federal:investigatedBy | cacontology-usa-federal:defendedBy | cacontology-usa-federal:victimizedBy)
sh:message Every federal criminal event must have at least one participant
1 *

Implementation

@prefix cac-core: <https://cacontology.projectvic.org/core#> .
@prefix cacontology-usa-federal: <https://cacontology.projectvic.org/usa-federal-law#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-usa-federal:EventParticipationValidationShape a sh:NodeShape ;
    sh:property [ sh:message "Every federal criminal event must have at least one participant"@en ;
            sh:minCount 1 ;
            sh:path [ sh:alternativePath ( cacontology-usa-federal:prosecutedBy cacontology-usa-federal:investigatedBy cacontology-usa-federal:defendedBy cacontology-usa-federal:victimizedBy ) ] ] ;
    sh:targetClass cac-core:Event .