Ontology Version: 2.2.0

cacontology-multi:ResourceSharingValidationShape leaf node


URI

https://cacontology.projectvic.org/multi-jurisdiction#ResourceSharingValidationShape

Label

Resource Sharing Validation Shape

Description

Validates resource sharing arrangements. - Enhanced resource sharing validation with gUFO quality constraints.

Shape Properties

Instances of cacontology-multi:ResourceSharing can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-multi:ResourceSharing
1 1 xsd:string
1 xsd:double
1 xsd:string
1 xsd:double
cacontology-multi:resourceType 1 1 xsd:string
cacontology-multi:resourceValue 0 1 xsd:decimal
cacontology-multi:sharingDuration 1 1 xsd:decimal

Implementation

@prefix cacontology-multi: <https://cacontology.projectvic.org/multi-jurisdiction#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-multi:ResourceSharingValidationShape a sh:NodeShape ;
    rdfs:label "Resource Sharing Validation Shape"@en ;
    rdfs:comment "Enhanced resource sharing validation with gUFO quality constraints."@en,
        "Validates resource sharing arrangements."@en ;
    sh:sparql [ sh:message "High-value resource sharing should have cost sharing arrangement."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-multi:resourceValue ?value ;
                      cacontology-multi:costSharing "no_cost" .
                FILTER (?value > 100000)
            }
        """ ],
        [ sh:message "High-value resource sharing should have excellent cost effectiveness and high utilization (gUFO quality validation)."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-multi:resourceValue ?value ;
                      cacontology-multi:hasCostEffectiveness ?effectiveness ;
                      cacontology-multi:hasResourceUtilization ?utilization .
                FILTER (?value > 100000)
                FILTER (?effectiveness IN ("poor", "fair") || ?utilization < 0.6)
            }
        """ ] ;
    sh:targetClass cacontology-multi:ResourceSharing .