https://cacontology.projectvic.org/international#PartnershipSizeValidationShape
Validates partnership size consistency.
Instances of cacontology-international:InternationalPartnership can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-international:InternationalPartnership | ||||
| cacontology-international:coordinationMethod | 0 | 1 |
xsd:string
|
|
| 1 |
xsd:string
|
|||
| 1 |
xsd:string
|
|||
| cacontology-international:partnerCountryCount | 0 | 1 |
xsd:nonNegativeInteger
|
|
| 1 |
xsd:dateTime
|
|||
| 0 | 1 |
xsd:string
|
||
@prefix cacontology-international: <https://cacontology.projectvic.org/international#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-international:PartnershipSizeValidationShape a sh:NodeShape ;
rdfs:label "Partnership Size Validation Shape"@en ;
rdfs:comment "Validates partnership size consistency."@en ;
sh:sparql [ sh:message "Large partnerships should have appropriate coordination methods."@en ;
sh:select """
SELECT $this
WHERE {
$this cacontology-international:partnerCountryCount ?count ;
cacontology-international:coordinationMethod "formal_request" .
FILTER (?count > 20)
}
""" ] ;
sh:targetClass cacontology-international:InternationalPartnership .