Ontology Version: 2.2.0

cacontology-partnerships-shapes:InformationSharingCompositionShape leaf node


URI

https://cacontology.projectvic.org/partnerships/shapes#InformationSharingCompositionShape

Label

Information Sharing Composition Shape

Description

Validates gUFO part-whole relationships for information sharing composition.

Shape Properties

Instances of cacontology-partnerships:InformationSharingFramework can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

Implementation

@prefix cacontology-partnerships: <https://cacontology.projectvic.org/partnerships#> .
@prefix cacontology-partnerships-shapes: <https://cacontology.projectvic.org/partnerships/shapes#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-partnerships-shapes:InformationSharingCompositionShape a sh:NodeShape ;
    rdfs:label "Information Sharing Composition Shape"@en ;
    rdfs:comment "Validates gUFO part-whole relationships for information sharing composition."@en ;
    sh:sparql [ sh:message "Information sharing framework must be composed of technical and legal components (gUFO part-whole constraint)."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this rdf:type cacontology-partnerships:InformationSharingFramework .
                FILTER NOT EXISTS {
                    ?agreement rdf:type cacontology-partnerships:DataSharingAgreement .
                    ?agreement rdfs:subClassOf* $this .
                } &&
                FILTER NOT EXISTS {
                    ?technical rdf:type cacontology-partnerships:TechnicalIntegration .
                    ?technical rdfs:subClassOf* $this .
                }
            }
        """ ] ;
    sh:targetClass cacontology-partnerships:InformationSharingFramework .