Ontology Version: 2.2.0

cacontology-physical-shapes:ForensicRoleParticipationShape leaf node


URI

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

Label

Forensic Role Participation Shape

Description

Validates gUFO participation constraints for forensic roles.

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:ForensicRoleParticipationShape a sh:NodeShape ;
    rdfs:label "Forensic Role Participation Shape"@en ;
    rdfs:comment "Validates gUFO participation constraints for forensic roles."@en ;
    sh:sparql [ sh:message "Forensic analyst roles must be associated with evidence analysis activities (gUFO participation constraint)."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this rdf:type cacontology-physical:ForensicAnalystRole .
                FILTER NOT EXISTS {
                    ?evidence cacontology-physical:forensicAnalysisRequired true .
                    ?evidence cacontology-physical:analyzedBy $this .
                }
            }
        """ ] ;
    sh:targetClass cacontology-physical1:ForensicAnalystRole .