https://cacontology.projectvic.org/temporal/shapes#PhaseTransitionEventShape
Ensures that every PhaseTransitionEvent has exactly one source and one target phase.
Focus nodes of this shape (cacontology-temporal:PhaseTransitionEvent) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-temporal:transitionsFrom | Links phase transition event to source phase. sh:message PhaseTransitionEvent must have exactly one transitionsFrom value of type gufo:Phase. |
1 | 1 | cac-core:Phase | |
| cacontology-temporal:transitionsTo | Links phase transition event to target phase. sh:message PhaseTransitionEvent must have exactly one transitionsTo value of type gufo:Phase. |
1 | 1 | cac-core:Phase |
@prefix cac-core: <https://cacontology.projectvic.org/core#> .
@prefix cacontology-temporal: <https://cacontology.projectvic.org/temporal#> .
@prefix cacontology-temporal-shapes: <https://cacontology.projectvic.org/temporal/shapes#> .
@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 cac-core: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 cac-core: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 .