Question: Which city contains the association football club that had Kevin McHale (whose date of birth is 1939-10-01) as a member until 1972?
Choices:
Kagoshima
Kingston
Trieste
Cork
Kilkenny
Abidjan
Bergen
Chester
Santo Domingo
Hanover
Answer: Chester
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <located_in_the_administrative_territorial_entity> ?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> "Kevin McHale" . ?e_2 <date_of_birth> ?pv . ?pv <pred:date> "1939-10-01"^^xsd:date . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 1972 .   }
Program:
function: Find
inputs: Kevin McHale
function: FilterDate
dependencies: 0
inputs: date of birth
1939-10-01
=
function: Relate
dependencies: 1
inputs: member of sports team
forward
function: QFilterYear
dependencies: 2
inputs: end time
1972
=
function: FilterConcept
dependencies: 3
inputs: association football club
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 5
inputs: city
function: What
dependencies: 6