Question: When did Mark Johnson (the one that is educated at Dartmouth College) stop being a member of the Pittsburgh Pirates?
Choices:
1904-10-08
1945-01-01
2006-01-16
2014-08-24
1997
1946-06-18
1933-03-24
1992-04-27
2005-11-08
2011-12-31
Answer: 1997
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Mark Johnson" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Dartmouth College" . ?e_2 <pred:name> "Pittsburgh Pirates" . ?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: Dartmouth College
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Mark Johnson
function: And
dependencies: 1
2
function: Find
inputs: Pittsburgh Pirates
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
end time