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