Ontology Version: 2.2.0

cacontology-multi:TaskForceParticipationShape leaf node


URI

https://cacontology.projectvic.org/multi-jurisdiction#TaskForceParticipationShape

Label

Task Force Participation Shape

Description

Validates gUFO participation constraints for task forces.

Target Classes (1)

Shape Properties

Instances of cacontology-multi:TaskForce can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

Implementation

@prefix cacontology-multi: <https://cacontology.projectvic.org/multi-jurisdiction#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-multi:TaskForceParticipationShape a sh:NodeShape ;
    rdfs:label "Task Force Participation Shape"@en ;
    rdfs:comment "Validates gUFO participation constraints for task forces."@en ;
    sh:sparql [ sh:message "Task force must have at least 3 member agencies (gUFO participation constraint)."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this rdf:type cacontology-multi:TaskForce .
                $this cacontology-multi:memberAgencyCount ?count .
                FILTER (?count < 3)
            }
        """ ] ;
    sh:targetClass cacontology-multi:TaskForce .