Ontology Version: 3.0.0

cacontology:CACInvestigationShape leaf node


URI

https://cacontology.projectvic.org#CACInvestigationShape

Label

CAC Investigation Shape

Target Classes (1)

Shape Properties

Instances of cacontology:CACInvestigation can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology:CACInvestigation
cacontology:currentPhase 1 cac-core:Phase
cac-core:Role

Implementation

@prefix cac-core: <https://cacontology.projectvic.org/core#> .
@prefix cacontology: <https://cacontology.projectvic.org#> .
@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:CACInvestigationShape a sh:NodeShape ;
    rdfs:label "CAC Investigation Shape"@en ;
    sh:property [ sh:class cac-core:Phase ;
            sh:maxCount 1 ;
            sh:message "Investigation phase must be a cac-core:Phase"@en ;
            sh:path cacontology:currentPhase ],
        [ sh:class cac-core:Role ;
            sh:message "Investigation roles must be cac-core:Role instances"@en ;
            sh:path cacontology:hasRole ] ;
    sh:targetClass cacontology:CACInvestigation .