Ontology Version: 2.2.0

hotline:ForwardToLEActionShape leaf node


URI

https://cacontology.projectvic.org/hotlines/core#ForwardToLEActionShape

Label

Forward to LE Action Shape

Description

Enhanced SHACL shape for law enforcement forwarding actions with gUFO Event validation and coordination requirements.

Target Classes (1)

Shape Properties

Instances of hotline:ForwardToLEAction can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

hotline:ForwardToLEAction
hotline:forwardsTo uco-identity:Organization

Implementation

@prefix hotline: <https://cacontology.projectvic.org/hotlines/core#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-identity: <https://ontology.unifiedcyberontology.org/uco/identity/> .
hotline:ForwardToLEActionShape a sh:NodeShape ;
    rdfs:label "Forward to LE Action Shape"@en ;
    rdfs:comment "Enhanced SHACL shape for law enforcement forwarding actions with gUFO Event validation and coordination requirements."@en ;
    sh:property [ sh:class uco-identity:Organization ;
            sh:message "Forward actions must specify target law enforcement organization"@en ;
            sh:path hotline:forwardsTo ] ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
            INSERT { $this a hotline:CoordinationError . }
            WHERE {
                $this a hotline:ForwardToLEAction .
                FILTER NOT EXISTS { 
                    ?report hotline:triggersAction $this .
                    ?report hotline:involvesCoordination ?coordination .
                    ?coordination a hotline:MultiAgencyCoordination .
                }
            }
        """ ;
            sh:message "Law enforcement forwarding must involve coordination situation"@en ;
            sh:prefixes hotline: ;
            sh:severity sh:Violation ] ;
    sh:targetClass hotline:ForwardToLEAction .