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