SHIFT-RR-13: Flag Schedule Conflict Between Active Services

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

Specification only — not yet executable
Description

If two FlexibilityService instances are active and linked to the same node or asset with overlapping schedules, then both are flagged with a schedule conflict.

Conditions
  • ?s1 ≠ ?s2 ∧ isActive(?s1, true) ∧ isActive(?s2, true)
  • linkedToNode(?s1, ?n) ∧ linkedToNode(?s2, ?n)
Result
hasScheduleConflict(?s1, true), hasScheduleConflict(?s2, true)

View related notes in Knowledge Graph →