https://cacontology.projectvic.org/gufo#InvestigationTemporalConsistencyShape
Instances of cacontology-gufo:Investigation can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|---|
@prefix cacontology-gufo: <https://cacontology.projectvic.org/gufo#> .
@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-gufo:InvestigationTemporalConsistencyShape a sh:NodeShape ;
rdfs:label "Investigation Temporal Consistency Shape"@en ;
sh:sparql [ sh:message "Investigation events must occur within phase timeframes"@en ;
sh:prefixes [ sh:declare [ sh:namespace "https://cacontology.projectvic.org/gufo#"^^xsd:anyURI ;
sh:prefix "cacontology-gufo" ],
[ sh:namespace "http://purl.org/nemo/gufo#"^^xsd:anyURI ;
sh:prefix "gufo" ] ] ;
sh:select """
SELECT ?this
WHERE {
?this cacontology-gufo:hasPhase ?phase .
?phase cacontology-gufo:hasPhaseBeginPoint ?phaseBegin ;
cacontology-gufo:hasPhaseEndPoint ?phaseEnd .
?event cacontology-gufo:occursInSituation ?situation .
?event gufo:hasBeginPointInXSDDateTimeStamp ?eventBegin .
FILTER (?eventBegin < ?phaseBegin || ?eventBegin > ?phaseEnd)
}
""" ] ;
sh:targetClass cacontology-gufo:Investigation .