Question: Barrow-in-Furness where the headquarters of Barrow A.F.C. is located or Bury whose TOID is 4000000074567142, Which has a larger territory?
Choices:
Barrow-in-Furness
Wigan
Royal Tunbridge Wells
Bury
Macclesfield
South Shields
Wimbledon
Colchester
Doncaster
Blackburn
Program:
function: Find
inputs: Barrow A.F.C.
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Barrow-in-Furness
function: And
dependencies: 1
2
function: Find
inputs: Bury
function: FilterStr
dependencies: 4
inputs: TOID
4000000074567142
function: SelectBetween
dependencies: 3
5
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Barrow-in-Furness" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Barrow A.F.C." . } UNION { ?e <pred:name> "Bury" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "4000000074567142" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Barrow-in-Furness