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