Ontology Version: 2.2.0

cacontology-physical-shapes:EvidenceCompositionShape leaf node


URI

https://cacontology.projectvic.org/physical-evidence/shapes#EvidenceCompositionShape

Label

Evidence Composition Shape

Description

Validates gUFO part-whole relationships for evidence composition.

Implementation

@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:EvidenceCompositionShape a sh:NodeShape ;
    rdfs:label "Evidence Composition Shape"@en ;
    rdfs:comment "Validates gUFO part-whole relationships for evidence composition."@en ;
    sh:sparql [ sh:message "Evidence containment relationships must be consistent with gUFO part-whole constraints."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-physical:containsItem ?part .
                ?part cacontology-physical:containsItem $this .
            }
        """ ] ;
    sh:targetClass cacontology-physical1:PhysicalEvidence .