https://cacontology.projectvic.org/case-management#CaseInitiationPhaseShape
SHACL shape for case initiation phases with anti-rigid gUFO Phase validation.
Instances of cacontology-case:CaseInitiationPhase can have the following properties:
@prefix cacontology-case: <https://cacontology.projectvic.org/case-management#> .
@prefix cacontology-gufo: <https://cacontology.projectvic.org/gufo#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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-case:CaseInitiationPhaseShape a sh:NodeShape ;
rdfs:label "Case Initiation Phase Shape"@en ;
rdfs:comment "SHACL shape for case initiation phases with anti-rigid gUFO Phase validation."@en ;
sh:property [ sh:hasValue gufo:Phase ;
sh:message "Case initiation phases must be instances of anti-rigid gUFO Phase"@en ;
sh:path rdf:type ],
[ sh:datatype xsd:dateTime ;
sh:message "Phase may specify transition times"@en ;
sh:minCount 0 ;
sh:path cacontology-gufo:phaseTransitionTime ] ;
sh:rule [ a sh:SPARQLRule ;
sh:construct """
INSERT { $this a cacontology-case:AntiRigidityError . }
WHERE {
$this a cacontology-case:CaseInitiationPhase .
FILTER NOT EXISTS {
$this cacontology-gufo:hasAntiRigidityConstraint ?constraint .
}
}
""" ;
sh:message "Case initiation phases must demonstrate anti-rigidity (duration varies based on case complexity)"@en ;
sh:prefixes cacontology-case: ;
sh:severity sh:Violation ] ;
sh:targetClass cacontology-case:CaseInitiationPhase .