Question: Which has more population, Bury whose TOID is 4000000074567142 or Palm Springs where Cameron Crowe was born?
Choices: Doncaster
Bury
South Shields
Palm Springs
Edmonton
Wigan
Blackburn
Colchester
Macclesfield
Wimbledon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bury" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "4000000074567142" . } UNION { ?e <pred:name> "Palm Springs" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Cameron Crowe" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bury
function: FilterStr
dependencies: 0
inputs: TOID
4000000074567142
function: Find
inputs: Cameron Crowe
function: Relate
dependencies: 2
inputs: place of birth
forward
function: Find
inputs: Palm Springs
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: population
greater
Answer: Bury