https://cacontology.projectvic.org/specialized-units#SeasonalTimingValidationShape
Validates seasonal operation timing consistency.
@prefix cacontology-specialized: <https://cacontology.projectvic.org/specialized-units#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-specialized:SeasonalTimingValidationShape a sh:NodeShape ;
rdfs:label "Seasonal Timing Validation Shape"@en ;
rdfs:comment "Validates seasonal operation timing consistency."@en ;
sh:sparql [ sh:message "Seasonal operations should have consistent season and month specifications."@en ;
sh:select """
SELECT $this
WHERE {
$this cacontology-specialized:operationSeason "spring_break" ;
cacontology-specialized:operationMonths ?months .
FILTER (!REGEX(?months, "March|April|May", "i"))
}
""" ] ;
sh:targetClass cacontology-specialized:SeasonalOperationsUnit .