Question: Which area is larger, Seville or Liverpool (the one that is the residence of John Lennon)?
Choices: Seville
Trieste
Chihuahua
Abidjan
Santo Domingo
Kilkenny
Dundee
Liverpool
Cork
Bergen
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Seville" .  } UNION { ?e <pred:name> "Liverpool" . ?e_1 <residence> ?e . ?e_1 <pred:name> "John Lennon" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Seville
function: Find
inputs: John Lennon
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Liverpool
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
Answer: Seville