https://cacontology.projectvic.org/custodial#CustodialParticipationShape
Validates coherent participation in custodial relationships.
@prefix cacontology-custodial: <https://cacontology.projectvic.org/custodial#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-custodial:CustodialParticipationShape a sh:NodeShape ;
rdfs:label "Custodial Participation Shape"@en ;
rdfs:comment "Validates coherent participation in custodial relationships."@en ;
sh:sparql [ sh:message "Custodial relationship must have coherent role and event participation"@en ;
sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/custodial#"^^xsd:anyURI ;
sh:prefix "cacontology-custodial" ],
[ sh:namespace "http://purl.org/nemo/gufo#"^^xsd:anyURI ;
sh:prefix "gufo" ] ] ;
sh:select """
SELECT ?this
WHERE {
?this cacontology-custodial:involvesCustodian ?custodian ;
?custodian cacontology-custodial:hasAuthority ?authorityRole .
FILTER NOT EXISTS {
?authorityRole a gufo:Role .
}
}
""" ] ;
sh:targetClass cacontology-custodial:CustodialRelationship .