Ontology Version: 3.1.0

cacontology-international:PartnershipSizeValidationShape leaf node


URI

https://cacontology.projectvic.org/international#PartnershipSizeValidationShape

Label

Partnership Size Validation Shape

Description

Validates partnership size consistency.

Implementation

@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 .