http://shift-ontology.org/core#SHIFT-RR-04
Executable (SWRL / SPARQL)If a FlexibilityTrade is still in Pending or InProgress status and its deliveryEndTime has passed, then it should be marked as Expired.
tradeStatus(?t, 'Expired')
# Executable SPARQL for SHIFT-RR-04 ships in the rules download bundle.
PREFIX shift: <http://shift-ontology.org/core#>
SELECT ?x WHERE {
?x a shift:Actor .
}