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