SHIFT-RR-11: Identify Node as LocalFlexZone

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

Executable (SWRL / SPARQL)
Description

If a Node has peer trading enabled and at least three distinct FlexibilityServices linked to it, then it should be categorized as a LocalFlexZone.

Conditions
  • isPeerTradeEnabled(?n, true)
  • linkedToNode(?s1, ?n), linkedToNode(?s2, ?n), linkedToNode(?s3, ?n)
Result
nodeCategory(?n, 'LocalFlexZone')
SPARQL (placeholder)
# Executable SPARQL for SHIFT-RR-11 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 →