https://cacontology.projectvic.org/physical-evidence/shapes#ComputerEquipmentCompositionShape
Validates gUFO part-whole relationships for computer equipment composition.
@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:ComputerEquipmentCompositionShape a sh:NodeShape ;
rdfs:label "Computer Equipment Composition Shape"@en ;
rdfs:comment "Validates gUFO part-whole relationships for computer equipment composition."@en ;
sh:sparql [ sh:message "Computer equipment must have consistent component relationships (gUFO part-whole constraint)."@en ;
sh:select """
SELECT $this
WHERE {
$this rdf:type cacontology-physical:ComputerEquipment .
$this cacontology-physical:containsItem ?storage .
?storage rdf:type cacontology-physical:StorageMedia .
FILTER NOT EXISTS {
?storage cacontology-physical:storageCapacity ?capacity .
FILTER (?capacity > 0)
}
}
""" ] ;
sh:targetClass cacontology-physical1:ComputerEquipment .