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