Ontology Version: 3.0.0

cacontology-physical-shapes:ComputerEquipmentCompositionShape leaf node


URI

https://cacontology.projectvic.org/physical/shapes#ComputerEquipmentCompositionShape

Label

Computer Equipment Composition Shape

Description

Validates gUFO part-whole relationships for computer equipment composition.

Shape Properties

Instances of cacontology-physical:ComputerEquipment can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-physical:ComputerEquipment
cacontology-physical:deviceBrand 1 1 xsd:string
cacontology-physical:deviceModel 1 1 xsd:string
cacontology-physical:encryptionStatus 1 1 xsd:string
cacontology-physical:functionalStatus 1 1 xsd:string
cacontology-physical:PhysicalEvidence
1 1 xsd:dateTime
1 1 xsd:string
1 1 xsd:string
1 1 xsd:string
1 1 xsd:string
1 1 xsd:string
cacontology-physical:evidenceType 1 1 xsd:string
cacontology-physical:hasContaminationLevel 1 xsd:double
cacontology-physical:hasEvidenceBeginPoint 1 xsd:dateTimeStamp
cacontology-physical:hasEvidenceEndPoint 1 xsd:dateTimeStamp
cacontology-physical:hasEvidenceIntegrity 1 xsd:string
cacontology-physical:hasEvidenceReliability 1 xsd:double
cacontology-physical:hasForensicValue 1 xsd:string
cacontology-physical:hasPreservationQuality 1 xsd:string

Implementation

@prefix cacontology-physical: <https://cacontology.projectvic.org/physical#> .
@prefix cacontology-physical-shapes: <https://cacontology.projectvic.org/physical/shapes#> .
@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-physical:ComputerEquipment .