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