Question: Where is there a smaller population, Quetta or Victoria (the one that is the capital of Seychelles)?
Choices: Kilkenny
Dundee
Bergen
Quetta
Kingston
Victoria
Trieste
Santo Domingo
Chihuahua
Cork
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Quetta" .  } UNION { ?e <pred:name> "Victoria" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Seychelles" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Quetta
function: Find
inputs: Seychelles
function: Relate
dependencies: 1
inputs: capital
forward
function: Find
inputs: Victoria
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
less
Answer: Victoria