Question: What town is a headquarter location of an association football club with Frank Marshall (member of Rotherham United F.C.) as the member until 1st January 1959 ?
Choices:
South Shields
Scunthorpe
Wimbledon
Edmonton
Macclesfield
Colchester
Rotherham
Royal Tunbridge Wells
Doncaster
Wigan
Answer: Scunthorpe
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "association football club" . ?e_2 <member_of_sports_team> ?e_1 . ?e_2 <pred:name> "Frank Marshall" . ?e_2 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Rotherham United F.C." . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> "1959-01-01"^^xsd:date .   }
Program:
function: Find
inputs: Rotherham United F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Frank Marshall
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of sports team
forward
function: QFilterDate
dependencies: 4
inputs: end time
1959-01-01
=
function: FilterConcept
dependencies: 5
inputs: association football club
function: Relate
dependencies: 6
inputs: headquarters location
forward
function: FilterConcept
dependencies: 7
inputs: town
function: What
dependencies: 8