https://cacontology.projectvic.org/custodial#CustodialFoundationalTypeShape
Validates proper gUFO foundational typing for custodial entities.
@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:CustodialFoundationalTypeShape a sh:NodeShape ;
rdfs:label "Custodial gUFO Foundational Type Consistency Shape"@en ;
rdfs:comment "Validates proper gUFO foundational typing for custodial entities."@en ;
sh:sparql [ sh:message "All custodial gUFO entities must have proper foundational typing"@en ;
sh:prefixes [ sh:declare [ sh:namespace "http://purl.org/nemo/gufo#"^^xsd:anyURI ;
sh:prefix "gufo" ],
[ sh:namespace "https://cacontology.projectvic.org/custodial#"^^xsd:anyURI ;
sh:prefix "cacontology-custodial" ] ] ;
sh:select """
PREFIX gufo: <http://purl.org/nemo/gufo#>
PREFIX cacontology-custodial: <https://cacontology.projectvic.org/custodial#>
SELECT ?entity
WHERE {
{
?entity a cacontology-custodial:CustodialRelationship .
FILTER NOT EXISTS { ?entity a gufo:Object . }
} UNION {
?entity a cacontology-custodial:PositionOfTrust .
FILTER NOT EXISTS { ?entity a gufo:Role . }
} UNION {
?entity a cacontology-custodial:TrustViolation .
FILTER NOT EXISTS { ?entity a gufo:Event . }
} UNION {
?entity a cacontology-custodial:ActiveCustodyPhase .
FILTER NOT EXISTS { ?entity a gufo:Phase . }
}
}
""" ] ;
sh:targetNode cacontology-custodial:CustodialRelationship .