Question: Does Port-au-Prince or Dublin have higher elevation above sea level?
Choices:
Sarajevo
Manila
Tallinn
Riga
Doha
New Delhi
Lausanne
Port-au-Prince
Moscow
Mexico City
Program:
function: Find
inputs: Port-au-Prince
function: Find
inputs: Dublin
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Port-au-Prince" .  } UNION { ?e <pred:name> "Dublin" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Port-au-Prince