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