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