Question: Does Addis Ababa or Lucknow have the lower elevation above sea level?
Choices:
Doha
Manila
Mexico City
Tallinn
Lausanne
Moscow
Sarajevo
New Delhi
Lucknow
Riga
Program:
function: Find
inputs: Addis Ababa
function: Find
inputs: Lucknow
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Addis Ababa" .  } UNION { ?e <pred:name> "Lucknow" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lucknow