Question: When did Kevin James (the one whose date of birth is 1975-12-03) stop being a member of St. Johnstone F.C.?
Choices:
2013-06-30
1923-07-06
2014-09-22
2009-01-01
1730-01-01
1988-04-30
1959
2016-01-12
1814-05-25
2004-02-22
Answer: 2009-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Kevin James" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1975-12-03"^^xsd:date . ?e_2 <pred:name> "St. Johnstone F.C." . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Kevin James
function: FilterDate
dependencies: 0
inputs: date of birth
1975-12-03
=
function: Find
inputs: St. Johnstone F.C.
function: QueryRelationQualifier
dependencies: 1
2
inputs: member of sports team
end time