Question: Tell me the one with bigger elevation (over sea level), Addis Adaba or Riyadh.
Choices:
Lausanne
Riyadh
Manila
Tallinn
Sarajevo
Mexico City
Moscow
Riga
Addis Ababa
Doha
Program:
function: Find
inputs: Addis Ababa
function: Find
inputs: Riyadh
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Addis Ababa" .  } UNION { ?e <pred:name> "Riyadh" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Addis Ababa