Ontology Version: 3.1.0

cacontology-coord:JointInvestigationResourceIntegrationBusinessRule leaf node


URI

https://cacontology.projectvic.org/investigation-coordination#JointInvestigationResourceIntegrationBusinessRule

Label

JointInvestigationResourceIntegrationBusinessRule

Targets (1)

Implementation

@prefix cacontology-coord: <https://cacontology.projectvic.org/investigation-coordination#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-coord:JointInvestigationResourceIntegrationBusinessRule a sh:NodeShape ;
    sh:sparql [ sh:message "High-integration joint investigations require resource pooling and shared command"@en ;
            sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/investigation-coordination#"^^xsd:anyURI ;
                            sh:prefix "cacontology-coord" ] ] ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-coord:hasCoordinationIntensity ?intensity ;
                      cacontology-coord:resourcePooling ?pooling ;
                      cacontology-coord:sharedCommand ?command .
                FILTER (?intensity IN ("intensive", "fully_integrated") && 
                        (?pooling = false || ?command = false))
            }
        """ ] ;
    sh:targetClass cacontology-coord:JointInvestigation .