Question: Tell me the association football club containing the person with sport number 18 as a member (this statement' start time is 2005-01-01)
Choices:
Everton F.C.
Port Vale F.C.
R.C. Lens
Huddersfield Town A.F.C.
Hull City A.F.C.
Olympique Lyonnais
S.C. Bastia
Stade Rennais F.C.
Rangers F.C.
Leicester City F.C.
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: sport number
18
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: member of sports team
forward
function: QFilterDate
dependencies: 3
inputs: start time
2005-01-01
=
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 <sport_number> ?pv . ?pv <pred:value> "18" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:date> "2005-01-01"^^xsd:date .  }
Answer: R.C. Lens