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