Ontology Version: 3.1.0

hotline:ForwardToLEActionShape leaf node


URI

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

Label

Forward to LE Action Shape

Description

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

Targets (1)

Property Constraints (1)

Focus nodes of this shape (hotline:ForwardToLEAction) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
hotline:forwardsTo Links a forward action to the law enforcement organization.
sh:message Forward actions must specify target law enforcement organization
0 * uco-identity:Organization

Implementation

@prefix hotline: <https://cacontology.projectvic.org/hotlines#> .
@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 .