Question: Does Porto Alegre or Worcester (death place of Edward Elgar) have less area?
Choices:
Abidjan
Bergen
Trieste
Kilkenny
Kingston
Worcester
Cork
Porto Alegre
Chihuahua
Dundee
Program:
function: Find
inputs: Porto Alegre
function: Find
inputs: Edward Elgar
function: Relate
dependencies: 1
inputs: place of death
forward
function: Find
inputs: Worcester
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Porto Alegre" .  } UNION { ?e <pred:name> "Worcester" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Edward Elgar" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Worcester