Question: Which area has higher elevation (above sea level), Bucharest or Riga?
Choices: Lausanne
Moscow
Sarajevo
Doha
Tallinn
Bucharest
New Delhi
Paris
Manila
Mexico City
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bucharest" .  } UNION { ?e <pred:name> "Riga" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bucharest
function: Find
inputs: Riga
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
Answer: Bucharest