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