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