Ontology Version: 3.0.0

cacontology:RoleShape leaf node


URI

https://cacontology.projectvic.org#RoleShape

Label

gUFO Role Shape

Target Classes (1)

Shape Properties

Instances of cac-core:Role can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

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 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:RoleShape a sh:NodeShape ;
    rdfs:label "gUFO Role Shape"@en ;
    sh:property [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Role can have at most one begin point"@en ;
            sh:path cacontology:hasRoleBeginPoint ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Role can have at most one end point"@en ;
            sh:path cacontology:hasRoleEndPoint ],
        [ sh:class cacontology:CACInvestigation ;
            sh:message "Role must participate in at least one investigation"@en ;
            sh:minCount 0 ;
            sh:path cacontology:participatesInInvestigation ] ;
    sh:targetClass cac-core:Role .