https://cacontology.projectvic.org/hotlines#MultiAgencyCoordinationShape
SHACL shape for multi-agency coordination with comprehensive gUFO Situation validation and participant requirements.
Focus nodes of this shape (hotline:MultiAgencyCoordination) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| hotline:coordinationBeginTime | The timestamp when multi-agency coordination begins. sh:message Coordination situations must have begin timestamps |
1 | * | xsd:dateTime |
@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:MultiAgencyCoordinationShape a sh:NodeShape ;
rdfs:label "Multi-Agency Coordination Shape"@en ;
rdfs:comment "SHACL shape for multi-agency coordination with comprehensive gUFO Situation validation and participant requirements."@en ;
sh:property [ sh:datatype xsd:dateTime ;
sh:message "Coordination situations must have begin timestamps"@en ;
sh:minCount 1 ;
sh:path hotline:coordinationBeginTime ] ;
sh:rule [ a sh:SPARQLRule ;
sh:construct """
INSERT { $this a hotline:CoordinationParticipantError . }
WHERE {
$this a hotline:MultiAgencyCoordination .
{
SELECT $this (COUNT(?org) AS ?orgCount) WHERE {
$this hotline:hasParticipant ?org ;
?org a uco-identity:Organization .
} GROUP BY $this
}
FILTER(?orgCount < 2)
}
""" ;
sh:message "Multi-agency coordination must involve at least two organizations"@en ;
sh:prefixes hotline: ;
sh:severity sh:Violation ] ;
sh:targetClass hotline:MultiAgencyCoordination .