Question: Does Suva or La Plata have a higher elevation relative to sea level?
Choices:
Abidjan
Cork
Santo Domingo
Dundee
Kingston
Chihuahua
Bergen
La Plata
Kilkenny
Suva
Program:
function: Find
inputs: Suva
function: Find
inputs: La Plata
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Suva" .  } UNION { ?e <pred:name> "La Plata" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: La Plata