Ontology Version: 2.2.0

cacontology-multi:CoordinationRoleValidationShape leaf node


URI

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

Label

Coordination Role Validation Shape

Description

Validates gUFO Role type consistency for coordination roles.

Target Classes (1)

Shape Properties

Instances of gufo:Role can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

gufo:Role
cacontology-infrastructure:hasRoleBeginPoint 1 xsd:dateTimeStamp
cacontology-infrastructure:hasRoleEndPoint 1 xsd:dateTimeStamp
cacontology-multi:hasRoleBeginPoint 1 xsd:dateTimeStamp
cacontology-multi:hasRoleEndPoint 1 xsd:dateTimeStamp
cacontology-partnerships:hasRoleBeginPoint 1 xsd:dateTimeStamp
cacontology-partnerships:hasRoleEndPoint 1 xsd:dateTimeStamp
cacontology-production:hasRoleBeginPoint 0 1 xsd:dateTimeStamp
cacontology-production:hasRoleEndPoint 0 1 xsd:dateTimeStamp

Implementation

@prefix cacontology-multi: <https://cacontology.projectvic.org/multi-jurisdiction#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-multi:CoordinationRoleValidationShape a sh:NodeShape ;
    rdfs:label "Coordination Role Validation Shape"@en ;
    rdfs:comment "Validates gUFO Role type consistency for coordination roles."@en ;
    sh:sparql [ sh:message "Coordination roles must be properly typed as gUFO Role and extend UCO Role."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this rdf:type gufo:Role .
                FILTER NOT EXISTS {
                    $this rdfs:subClassOf uco-role:Role .
                }
            }
        """ ] ;
    sh:targetClass gufo:Role .