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