Question: Does Yangon or Buenos Aires have less elevation above sea level?
Choices:
Abidjan
Buenos Aires
Kilkenny
Bergen
Cork
Dundee
Chihuahua
Trieste
Santo Domingo
Yangon
Program:
function: Find
inputs: Yangon
function: Find
inputs: Buenos Aires
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Yangon" .  } UNION { ?e <pred:name> "Buenos Aires" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Yangon