Question: When did John Hughes who was drafted by the Vancouver Canucks leave the New York Rangers?
Choices:
1878-07-12
2009-05-15
1813
1972-01-01
1992-12-31
1989-04-12
1860-12-14
1909-03-04
2010-05-21
1981
Answer: 1981
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Hughes" . ?e_1 <drafted_by> ?e_3 . ?e_3 <pred:name> "Vancouver Canucks" . ?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: Vancouver Canucks
function: Relate
dependencies: 0
inputs: drafted by
backward
function: Find
inputs: John Hughes
function: And
dependencies: 1
2
function: Find
inputs: New York Rangers
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
end time