Ontology Version: 2.2.0

cacontology-international:InformationSharingLevelValidationShape leaf node


URI

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

Label

Information Sharing Level Validation Shape

Description

Validates information sharing level consistency.

Shape Properties

Instances of cacontology-international:InformationSharingAgreement can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-international:InformationSharingAgreement
1 xsd:string
1 xsd:double
cacontology-international:informationSharingLevel 0 1 xsd:string
cacontology-international:multilateralAgreement 0 1 xsd:boolean
cacontology-international:sharesDataWith 2 uco-identity:Organization
1 xsd:dateTime
1 xsd:dateTime
1 1 xsd:string

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:InformationSharingLevelValidationShape a sh:NodeShape ;
    rdfs:label "Information Sharing Level Validation Shape"@en ;
    rdfs:comment "Validates information sharing level consistency."@en ;
    sh:sparql [ sh:message "Multilateral agreements should have enhanced or full information sharing."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-international:multilateralAgreement true ;
                      cacontology-international:informationSharingLevel "basic" .
            }
        """ ] ;
    sh:targetClass cacontology-international:InformationSharingAgreement .