https://cacontology.projectvic.org/physical-evidence/shapes#ContaminationPreventionRule
Advanced gUFO business rule: Low contamination requires excellent preservation and handling.
@prefix cacontology-physical-shapes: <https://cacontology.projectvic.org/physical-evidence/shapes#> .
@prefix cacontology-physical1: <https://cacontology.projectvic.org/physical-evidence#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-physical-shapes:ContaminationPreventionRule a sh:NodeShape ;
rdfs:label "Contamination Prevention Rule"@en ;
rdfs:comment "Advanced gUFO business rule: Low contamination requires excellent preservation and handling."@en ;
sh:sparql [ sh:message "Evidence with low contamination levels must have excellent preservation quality (gUFO business rule)."@en ;
sh:select """
SELECT $this
WHERE {
$this cacontology-physical:hasContaminationLevel ?contamination .
FILTER (?contamination <= 0.2)
FILTER NOT EXISTS {
$this cacontology-physical:hasPreservationQuality ?preservation .
FILTER (?preservation IN ("excellent", "optimal"))
}
}
""" ] ;
sh:targetClass cacontology-physical1:PhysicalEvidence .