https://cacontology.projectvic.org/prevention#PreventionEffectivenessValidationShape
Validates prevention program effectiveness metrics.
Instances of cacontology-prevention:PreventionProgram can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-prevention:PreventionProgram | ||||
| cacontology-prevention:participantCount | 0 | 1 |
xsd:nonNegativeInteger
|
|
| cacontology-prevention:programDuration | 0 | 1 |
xsd:decimal
|
|
| 0 | 1 |
xsd:dateTime
|
||
| 1 | 1 |
xsd:string
|
||
| 1 | 1 |
xsd:dateTime
|
||
@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:PreventionEffectivenessValidationShape a sh:NodeShape ;
rdfs:label "Prevention Effectiveness Validation Shape"@en ;
rdfs:comment "Validates prevention program effectiveness metrics."@en ;
sh:sparql [ sh:message "Large prevention programs should have effectiveness metrics."@en ;
sh:select """
SELECT $this
WHERE {
$this cacontology-prevention:participantCount ?count .
FILTER (?count > 1000)
FILTER NOT EXISTS {
?effectiveness a cacontology-prevention:PreventionEffectiveness ;
cacontology-prevention:preventionEffectiveness ?score .
}
}
""" ] ;
sh:targetClass cacontology-prevention:PreventionProgram .