Ontology Version: 2.2.0

cacontology-temporal-shapes:PhaseTransitionEventShape leaf node


URI

https://cacontology.projectvic.org/temporal/shapes#PhaseTransitionEventShape

Label

Phase Transition Event Shape

Description

Ensures that every PhaseTransitionEvent has exactly one source and one target phase.

Shape Properties

Instances of cacontology-temporal:PhaseTransitionEvent can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-temporal:PhaseTransitionEvent
cacontology-temporal:transitionsFrom 1 1 gufo:Phase
cacontology-temporal:transitionsTo 1 1 gufo:Phase

Implementation

@prefix cacontology-temporal: <https://cacontology.projectvic.org/temporal#> .
@prefix cacontology-temporal-shapes: <https://cacontology.projectvic.org/temporal/shapes#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@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-temporal-shapes:PhaseTransitionEventShape a sh:NodeShape ;
    rdfs:label "Phase Transition Event Shape"@en ;
    rdfs:comment "Ensures that every PhaseTransitionEvent has exactly one source and one target phase."@en ;
    sh:property [ sh:class gufo:Phase ;
            sh:maxCount 1 ;
            sh:message "PhaseTransitionEvent must have exactly one transitionsFrom value of type gufo:Phase."@en ;
            sh:minCount 1 ;
            sh:path cacontology-temporal:transitionsFrom ],
        [ sh:class gufo:Phase ;
            sh:maxCount 1 ;
            sh:message "PhaseTransitionEvent must have exactly one transitionsTo value of type gufo:Phase."@en ;
            sh:minCount 1 ;
            sh:path cacontology-temporal:transitionsTo ] ;
    sh:targetClass cacontology-temporal:PhaseTransitionEvent .