http://shift-ontology.org/core#SHIFT-RR-08
Executable (SWRL / SPARQL)If a FlexibilityTrade fails and has backup trades listed, the first pending backup is approved. The original trade's outcome is marked as BackupActivated.
tradeStatus(?backup, 'Approved') ∧ tradeOutcome(?primary, 'BackupActivated')
# Executable SPARQL for SHIFT-RR-08 ships in the rules download bundle.
PREFIX shift: <http://shift-ontology.org/core#>
SELECT ?x WHERE {
?x a shift:Actor .
}