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