https://cacontology.projectvic.org/prevention#CommunityOutreachCoordinationValidationShape
Validates that community outreach has coordinators.
Instances of cacontology-prevention:CommunityOutreach can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|---|
@prefix cacontology-prevention: <https://cacontology.projectvic.org/prevention#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-prevention:CommunityOutreachCoordinationValidationShape a sh:NodeShape ;
rdfs:label "Community Outreach Coordination Validation Shape"@en ;
rdfs:comment "Validates that community outreach has coordinators."@en ;
sh:sparql [ sh:message "Community outreach should have assigned coordinators."@en ;
sh:select """
SELECT $this
WHERE {
$this a cacontology-prevention:CommunityOutreach .
FILTER NOT EXISTS {
$this cacontology-prevention:coordinatedBy ?coordinator .
?coordinator a cacontology-prevention:SafetyCoordinator .
}
}
""" ] ;
sh:targetClass cacontology-prevention:CommunityOutreach .