Question: Which one has the greater elevation above sea level, Guatemala City or Stoke-on-Trent?
Choices:
Abidjan
Santo Domingo
Kilkenny
Cork
Trieste
Chihuahua
Guatemala City
Dundee
Kingston
Stoke-on-Trent
Program:
function: Find
inputs: Guatemala City
function: Find
inputs: Stoke-on-Trent
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Guatemala City" .  } UNION { ?e <pred:name> "Stoke-on-Trent" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Guatemala City