Question: Which has lower elevation above sea level, Newcastle upon Tyne (the one whose postal code is NE) or Dubai (the one that is the twinned administrative body of Kuala Lumpur)?
Choices: Kilkenny
Bergen
Santo Domingo
Chihuahua
Dundee
Newcastle upon Tyne
Kingston
Abidjan
Cork
Dubai
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Newcastle upon Tyne" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "NE" . } UNION { ?e <pred:name> "Dubai" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Kuala Lumpur" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Newcastle upon Tyne
function: FilterStr
dependencies: 0
inputs: postal code
NE
function: Find
inputs: Kuala Lumpur
function: Relate
dependencies: 2
inputs: twinned administrative body
forward
function: Find
inputs: Dubai
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
less
Answer: Dubai