Question: What association football club was Gary Cooper (born 1965-11-20) a member of until 1996?
Choices:
Middlesbrough F.C.
Zamalek SC
Preston North End F.C.
Hibernian F.C.
Stade Brestois 29
Welling United F.C.
Birmingham City F.C.
Peterborough United F.C.
Roda JC Kerkrade
Brisbane Roar FC
Program:
function: Find
inputs: Gary Cooper
function: FilterDate
dependencies: 0
inputs: date of birth
1965-11-20
=
function: Relate
dependencies: 1
inputs: member of sports team
forward
function: QFilterYear
dependencies: 2
inputs: end time
1996
=
function: FilterConcept
dependencies: 3
inputs: association football club
function: What
dependencies: 4
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:name> "Gary Cooper" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1965-11-20"^^xsd:date .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1996 .  }
Answer: Birmingham City F.C.