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