Question: Which association football club had as a member (beginning in 1924) the human that died in London Borough of Newham?
Choices:
Charlton Athletic F.C.
Gillingham F.C.
AFC Bournemouth
Arbroath F.C.
Crystal Palace F.C.
Stade Brestois 29
Zamalek SC
Middlesbrough F.C.
Dundee F.C.
Brentford F.C.
Program:
function: Find
inputs: London Borough of Newham
function: Relate
dependencies: 0
inputs: place of death
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: member of sports team
forward
function: QFilterYear
dependencies: 3
inputs: start time
1924
=
function: FilterConcept
dependencies: 4
inputs: association football club
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "London Borough of Newham" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 1924 .  }
Answer: Gillingham F.C.