https://cacontology.projectvic.org#PhaseTransitionShape
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
|
||||
@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:PhaseTransitionShape a sh:NodeShape ;
rdfs:label "Phase Transition Shape"@en ;
sh:sparql [ sh:message "Investigation phases must follow valid transition sequence"@en ;
sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org#"^^xsd:anyURI ;
sh:prefix "cacontology" ] ] ;
sh:select """
SELECT ?this
WHERE {
?this cacontology:hasPhase ?phase1 ;
cacontology:hasPhase ?phase2 .
?phase1 cacontology:transitionsTo ?phase2 ;
cacontology:hasPhaseEndPoint ?end1 .
?phase2 cacontology:hasPhaseBeginPoint ?begin2 .
FILTER (?end1 > ?begin2)
}
""" ] ;
sh:targetClass cacontology:CACInvestigation .