https://cacontology.projectvic.org/usa-legislative/shapes#OutcomeShape
Validates advocacy outcome instances.
Focus nodes of this shape (cacontology-usa-leg:Outcome) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-usa-leg:isPositive | sh:message Outcome should indicate if it is positive |
1 | 1 | xsd:boolean |
sh:severity
sh:Warning
|
rdfs:label |
sh:message Outcome must have a label |
1 | * | rdf:langString |
sh:severity
sh:Violation
|
@prefix cacontology-usa-leg: <https://cacontology.projectvic.org/usa-legislative#> .
@prefix cacontology-usa-leg-shapes: <https://cacontology.projectvic.org/usa-legislative/shapes#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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#> .
cacontology-usa-leg-shapes:OutcomeShape a sh:NodeShape ;
rdfs:label "Outcome Shape"@en ;
rdfs:comment "Validates advocacy outcome instances."@en ;
sh:property [ sh:datatype rdf:langString ;
sh:message "Outcome must have a label"@en ;
sh:minCount 1 ;
sh:path rdfs:label ;
sh:severity sh:Violation ],
[ sh:datatype xsd:boolean ;
sh:maxCount 1 ;
sh:message "Outcome should indicate if it is positive"@en ;
sh:minCount 1 ;
sh:path cacontology-usa-leg:isPositive ;
sh:severity sh:Warning ] ;
sh:targetClass cacontology-usa-leg:Outcome .