Question: Which association football club stopped having Klaas-Jan Huntelaar as a member in 2005?
Choices:
Hamilton Academical F.C.
De Graafschap
Middlesbrough F.C.
Real Madrid CF
FC Schalke 04
Scunthorpe United F.C.
Stade Brestois 29
A.F.C. Ajax
SC Heerenveen
Stockport County F.C.
Program:
function: Find
inputs: Klaas-Jan Huntelaar
function: Relate
dependencies: 0
inputs: member of sports team
forward
function: QFilterYear
dependencies: 1
inputs: end time
2005
=
function: FilterConcept
dependencies: 2
inputs: association football club
function: What
dependencies: 3
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> "Klaas-Jan Huntelaar" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 2005 .  }
Answer: SC Heerenveen