Ontology Version: 3.0.0

cacontology-physical-shapes:ForensicRoleParticipationShape leaf node


URI

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

Label

Forensic Role Participation Shape

Description

Validates gUFO participation constraints for forensic roles.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-physical:ForensicAnalystRole
cacontology-physical:hasAnalysisAccuracy 1 xsd:double
cacontology-physical:hasAnalysisReliability 1 xsd:string
cacontology-physical:hasMethodValidation 1 xsd:string
0 1 xsd:string
cac-core:Role
cacontology-infrastructure:hasRoleBeginPoint 1 xsd:dateTimeStamp
cacontology-infrastructure:hasRoleEndPoint 1 xsd:dateTimeStamp
cacontology-multi:hasRoleBeginPoint 1 xsd:dateTimeStamp
cacontology-multi:hasRoleEndPoint 1 xsd:dateTimeStamp
cacontology-partnerships:hasRoleBeginPoint 1 xsd:dateTimeStamp
cacontology-partnerships:hasRoleEndPoint 1 xsd:dateTimeStamp
cacontology-physical:hasRoleBeginPoint 1 xsd:dateTimeStamp
cacontology-physical:hasRoleEndPoint 1 xsd:dateTimeStamp
cacontology-production:hasRoleBeginPoint 0 1 xsd:dateTimeStamp
cacontology-production:hasRoleEndPoint 0 1 xsd:dateTimeStamp
cacontology:hasRoleBeginPoint 1 xsd:dateTimeStamp
cacontology:hasRoleEndPoint 1 xsd:dateTimeStamp
0 cacontology:CACInvestigation

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: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-physical:ForensicAnalystRole .