Ontology Version: 3.1.0

hotline:HotlineReportShape leaf node


URI

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

Label

Hotline Report Shape

Description

Enhanced SHACL shape for hotline reports with gUFO Situation validation and comprehensive temporal constraints.

Targets (1)

Property Constraints (7)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
hotline:currentPhase Links a hotline report to its current operational phase. gUFO Phase modeling for temporal state management.
sh:message A hotline report must have a current operational phase
1 * cac-core:Phase
hotline:hasEvidence Links a hotline report to its evidence items.
sh:message A hotline report must have at least one evidence item
1 * hotline:EvidenceItem
hotline:intakeChannel Links a hotline report to the channel through which it was received.
sh:message A hotline report must specify its intake channel
1 * hotline:IntakeChannel
hotline:involvesCoordination Links a hotline report to coordination situations involving multiple agencies.
sh:message Multi-agency coordination must be a valid gUFO Situation
0 * hotline:MultiAgencyCoordination
hotline:receivedBy Links a hotline report to the hotline organization that received it.
sh:message A hotline report must be received by a hotline organization
1 * hotline:HotlineOrganization
hotline:reportedBy Links a hotline report to its reporter (either a ReporterRole or AutomatedReporterAgent).
sh:message A hotline report must have at least one reporter
1 *
hotline:status Links a hotline report to its current status (a skos:Concept from the StatusScheme).
sh:message A hotline report must have a status
1 *

Implementation

@prefix cac-core: <https://cacontology.projectvic.org/core#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
hotline:HotlineReportShape a sh:NodeShape ;
    rdfs:label "Hotline Report Shape"@en ;
    rdfs:comment "Enhanced SHACL shape for hotline reports with gUFO Situation validation and comprehensive temporal constraints."@en ;
    sh:property [ sh:message "A hotline report must have at least one reporter"@en ;
            sh:minCount 1 ;
            sh:path hotline:reportedBy ],
        [ sh:class hotline:HotlineOrganization ;
            sh:message "A hotline report must be received by a hotline organization"@en ;
            sh:minCount 1 ;
            sh:path hotline:receivedBy ],
        [ sh:class hotline:EvidenceItem ;
            sh:message "A hotline report must have at least one evidence item"@en ;
            sh:minCount 1 ;
            sh:path hotline:hasEvidence ],
        [ sh:class hotline:IntakeChannel ;
            sh:message "A hotline report must specify its intake channel"@en ;
            sh:minCount 1 ;
            sh:path hotline:intakeChannel ],
        [ sh:message "A hotline report must have a status"@en ;
            sh:minCount 1 ;
            sh:path hotline:status ],
        [ sh:class cac-core:Phase ;
            sh:message "A hotline report must have a current operational phase"@en ;
            sh:minCount 1 ;
            sh:path hotline:currentPhase ],
        [ sh:class hotline:MultiAgencyCoordination ;
            sh:message "Multi-agency coordination must be a valid gUFO Situation"@en ;
            sh:path hotline:involvesCoordination ] ;
    sh:targetClass hotline:HotlineReport .