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