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