Ontology Version: 3.1.0

cacontology-forensics:ForensicAcquisitionCrossReferenceShape leaf node


URI

https://cacontology.projectvic.org/forensics#ForensicAcquisitionCrossReferenceShape

Label

Forensic Acquisition Cross Reference Shape

Description

Validates cross-references between forensic acquisition and related entities.

Implementation

@prefix cacontology-forensics: <https://cacontology.projectvic.org/forensics#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-forensics:ForensicAcquisitionCrossReferenceShape a sh:NodeShape ;
    rdfs:label "Forensic Acquisition Cross Reference Shape"@en ;
    rdfs:comment "Validates cross-references between forensic acquisition and related entities."@en ;
    sh:sparql [ sh:message "Forensic acquisition must have tool, evidence seized, and forensic copy."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this a cacontology-forensics:ForensicAcquisitionAction .
                FILTER NOT EXISTS {
                    $this uco-action:usesTool ?tool ;
                          cacontology-forensics:evidenceSeized ?evidence ;
                          cacontology-forensics:forensicCopy ?copy .
                }
            }
        """ ] ;
    sh:targetClass cacontology-forensics:ForensicAcquisitionAction .