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