Question: Is the population less for Sarajevo, which is the twinned administrative body of Stockholm, or Jaipur?
Choices:
Manila
Moscow
Jaipur
Sarajevo
Doha
Riga
Paris
New Delhi
Tallinn
Lausanne
Answer: Sarajevo
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sarajevo" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Stockholm" .   } UNION { ?e <pred:name> "Jaipur" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Stockholm
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Sarajevo
function: And
dependencies: 1
2
function: Find
inputs: Jaipur
function: SelectBetween
dependencies: 3
4
inputs: population
less