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