Question: Which has less elevation above sea level, Thrissur or Newcastle upon Tyne (which is Newcastle's twinned administrative body)?
Choices:
Cork
Dundee
Chihuahua
Thrissur
Trieste
Abidjan
Kilkenny
Santo Domingo
Newcastle upon Tyne
Kingston
Answer: Newcastle upon Tyne
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thrissur" .  } UNION { ?e <pred:name> "Newcastle upon Tyne" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Newcastle" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Thrissur
function: Find
inputs: Newcastle
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Newcastle upon Tyne
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less