Question: Does Innsbruck or Mogadishu have the higher elevation above sea level?
Choices:
Abidjan
Cork
Trieste
Bergen
Chihuahua
Innsbruck
Kilkenny
Kingston
Dundee
Santo Domingo
Program:
function: Find
inputs: Innsbruck
function: Find
inputs: Mogadishu
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Innsbruck" .  } UNION { ?e <pred:name> "Mogadishu" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Innsbruck