Question: Is the elevation of Leuven or Regensburg higher?
Choices:
Stuttgart
Aachen
Bordeaux
Utrecht
Fort Smith
Halle (Saale)
Wuppertal
Leuven
Regensburg
Dnipro
Program:
function: Find
inputs: Leuven
function: Find
inputs: Regensburg
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Leuven" .  } UNION { ?e <pred:name> "Regensburg" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Regensburg