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