Question: Which has less people, Sunderland or Aberdeen (the one that is the twinned administrative body of Stavanger)?
Choices:
Trieste
Sunderland
Cork
Aberdeen
Kilkenny
Santo Domingo
Abidjan
Chihuahua
Kingston
Dundee
Answer: Sunderland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sunderland" .  } UNION { ?e <pred:name> "Aberdeen" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Stavanger" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Sunderland
function: Find
inputs: Stavanger
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Aberdeen
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
less