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