SHIFT-RR-06: Auto-Finalize Validated Trade

http://shift-ontology.org/core#SHIFT-RR-06

Executable (SWRL / SPARQL)
Description

If a FlexibilityTrade is validated and its deliveryEndTime has passed while the status is InProgress, then the trade is marked as Finalized.

Conditions
  • isValidated(?t, true)
  • tradeStatus(?t, 'InProgress')
Result
tradeStatus(?t, 'Finalized')
SPARQL (placeholder)
# Executable SPARQL for SHIFT-RR-06 ships in the rules download bundle.
PREFIX shift: <http://shift-ontology.org/core#>
SELECT ?x WHERE {
  ?x a shift:Actor .
}

View related notes in Knowledge Graph →