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