Question: When was John Hughes (whose date of birth is 1954-03-18) no longer a member of the New York Rangers?
Choices:
1962-08-31
1976-07-29
2014-06-23
1953-12-31
2021-06-30
1981
2009-08-23
2003-05-01
1964-06-19
1992
Answer: 1981
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Hughes" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1954-03-18"^^xsd:date . ?e_2 <pred:name> "New York Rangers" . ?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: John Hughes
function: FilterDate
dependencies: 0
inputs: date of birth
1954-03-18
=
function: Find
inputs: New York Rangers
function: QueryRelationQualifier
dependencies: 1
2
inputs: member of sports team
end time