https://cacontology.projectvic.org/custodial#CustodyPhaseGUFOShape
Validates custody phases as anti-rigid gUFO phases.
Instances of cac-core:Phase can have the following properties:
@prefix cac-core: <https://cacontology.projectvic.org/core#> .
@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:CustodyPhaseGUFOShape a sh:NodeShape ;
rdfs:label "gUFO Custody Phase Shape"@en ;
rdfs:comment "Validates custody phases as anti-rigid gUFO phases."@en ;
sh:sparql [ sh:message "Custody phases must follow valid transition sequence"@en ;
sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/custodial#"^^xsd:anyURI ;
sh:prefix "cacontology-custodial" ] ] ;
sh:select """
PREFIX cacontology-custodial: <https://cacontology.projectvic.org/custodial#>
SELECT ?this
WHERE {
?relationship cacontology-custodial:hasCustodyPhase ?this ;
cacontology-custodial:hasCustodyPhase ?nextPhase .
?this cacontology-custodial:precedesCustodyPhase ?nextPhase ;
cacontology-custodial:hasCustodyEndPoint ?end1 .
?nextPhase cacontology-custodial:hasCustodyBeginPoint ?begin2 .
FILTER (?end1 > ?begin2)
}
""" ] ;
sh:targetClass cac-core:Phase .