Question: Which one is smaller by area, Chichester (the one that is the capital of West Sussex) or Toronto ?
Choices:
Kingston
Chihuahua
Cork
Dundee
Bergen
Abidjan
Santo Domingo
Toronto
Chichester
Trieste
Answer: Chichester
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chichester" . ?e_1 <capital> ?e . ?e_1 <pred:name> "West Sussex" .   } UNION { ?e <pred:name> "Toronto" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: West Sussex
function: Relate
dependencies: 0
inputs: capital
forward
function: Find
inputs: Chichester
function: And
dependencies: 1
2
function: Find
inputs: Toronto
function: SelectBetween
dependencies: 3
4
inputs: area
less