Question: Does Lima (the headquarter location of Alianza Lima) or Buenos Aires have a smaller populace?
Choices:
Chihuahua
Buenos Aires
Cork
Santo Domingo
Kingston
Bergen
Abidjan
Trieste
Dundee
Kilkenny
Answer: Buenos Aires
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lima" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Alianza Lima" .   } UNION { ?e <pred:name> "Buenos Aires" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Alianza Lima
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Lima
function: And
dependencies: 1
2
function: Find
inputs: Buenos Aires
function: SelectBetween
dependencies: 3
4
inputs: population
less