Question: Is Perth, or Cairns at a greater elevation?
Choices: Santo Domingo
Bergen
Perth
Kilkenny
Kingston
Trieste
Abidjan
Cairns
Cork
Chihuahua
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Perth" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "08621" . } UNION { ?e <pred:name> "Cairns" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Perth
function: FilterStr
dependencies: 0
inputs: local dialing code
08621
function: Find
inputs: Cairns
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
Answer: Cairns