https://cacontology.projectvic.org/multi-jurisdiction#MultiJurisdictionalCrossReferenceShape
Enhanced cross-reference validation with gUFO constraints for multi-jurisdictional operations.
@prefix cacontology-multi: <https://cacontology.projectvic.org/multi-jurisdiction#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-multi:MultiJurisdictionalCrossReferenceShape a sh:NodeShape ;
rdfs:label "Multi-Jurisdictional Cross Reference Shape"@en ;
rdfs:comment "Enhanced cross-reference validation with gUFO constraints for multi-jurisdictional operations."@en ;
sh:sparql [ sh:message "Multi-jurisdictional operation must involve at least two jurisdictions (enhanced gUFO validation)."@en ;
sh:select """
SELECT $this
WHERE {
$this a cacontology-multi:NamedMultiJurisdictionalOperation ;
cacontology-multi:jurisdictionCount ?count .
FILTER (?count < 2)
}
""" ],
[ sh:message "gUFO Event typing must be consistent with temporal properties."@en ;
sh:select """
SELECT $this
WHERE {
$this rdf:type*/rdfs:subClassOf* gufo:Event .
FILTER NOT EXISTS {
{ $this gufo:hasBeginPointInXSDDateTimeStamp ?start } UNION
{ $this uco-core:startTime ?start }
}
}
""" ] ;
sh:targetClass cacontology-multi:NamedMultiJurisdictionalOperation .