Question: When did John Spencer (the one whose date of death is 2007-08-22) stop being a member of Sheffield United F.C.?
Choices:
1988-01-01
1957
1892-01-01
1892
1572-01-01
1927-04-12
2011-06-26
1946-01-01
1509
1902-10-01
Program:
function: Find
inputs: John Spencer
function: FilterDate
dependencies: 0
inputs: date of death
2007-08-22
=
function: Find
inputs: Sheffield United F.C.
function: QueryRelationQualifier
dependencies: 1
2
inputs: member of sports team
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Spencer" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "2007-08-22"^^xsd:date . ?e_2 <pred:name> "Sheffield United 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 .  }
Answer: 1957