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