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