Question: Which has more area, Istanbul that is the twinned administrative body of Damascus or Manila?
Choices:
New Delhi
Moscow
Istanbul
Lausanne
Doha
Sarajevo
Riga
Tallinn
Manila
Paris
Answer: Istanbul
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Istanbul" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Damascus" .   } UNION { ?e <pred:name> "Manila" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Damascus
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Istanbul
function: And
dependencies: 1
2
function: Find
inputs: Manila
function: SelectBetween
dependencies: 3
4
inputs: area
greater