http://shift-ontology.org/core#SHIFT-RR-07
Executable (SWRL / SPARQL)If the assigned asset of a FlexibilityTrade is unavailable (isAvailable = false) during InProgress or Approved status, then the trade is marked as Failed and the outcome is set to UnavailableAsset.
tradeStatus(?t, 'Failed') ∧ tradeOutcome(?t, 'UnavailableAsset')
# Executable SPARQL for SHIFT-RR-07 ships in the rules download bundle.
PREFIX shift: <http://shift-ontology.org/core#>
SELECT ?x WHERE {
?x a shift:Actor .
}