https://cacontology.projectvic.org/infrastructure/shapes#TechnicalRoleTypeValidationShape
Validates gUFO Role type consistency for technical roles.
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
|
|
@prefix cacontology-infrastructure-shapes: <https://cacontology.projectvic.org/infrastructure/shapes#> .
@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-infrastructure-shapes:TechnicalRoleTypeValidationShape a sh:NodeShape ;
rdfs:label "Technical Role Type Validation Shape"@en ;
rdfs:comment "Validates gUFO Role type consistency for technical roles."@en ;
sh:sparql [ sh:message "Technical roles must be properly typed as gUFO Role and extend UCO Identity."@en ;
sh:select """
SELECT $this
WHERE {
$this rdf:type gufo:Role .
FILTER NOT EXISTS {
$this rdfs:subClassOf* uco-identity:Person .
}
}
""" ] ;
sh:targetClass gufo:Role .