https://cacontology.projectvic.org/prevention#TemporalValidationShape
Validates temporal consistency for prevention activities.
Instances of cacontology-prevention:HealthcareProviderTraining 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:TemporalValidationShape a sh:NodeShape ;
rdfs:label "Temporal Validation Shape"@en ;
rdfs:comment "Validates temporal consistency for prevention activities."@en ;
sh:sparql [ sh:message "Start time must be before end time when both are specified."@en ;
sh:select """
SELECT $this
WHERE {
$this uco-core:startTime ?start ;
uco-core:endTime ?end .
FILTER (?start >= ?end)
}
""" ] ;
sh:targetClass cacontology-prevention:ChildSafetyEducation,
cacontology-prevention:CommunityEducation,
cacontology-prevention:CommunityOutreach,
cacontology-prevention:EducatorTraining,
cacontology-prevention:HealthcareProviderTraining,
cacontology-prevention:ParentEducation,
cacontology-prevention:PreventionProgram,
cacontology-prevention:PublicAwareness .