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