Question: When did the first baseman Mark Johnson leave the Pittsburgh Pirates?
Choices:
1991-09-06
2099-05-18
1997
1955-06-05
2010-01-01
2011-12-15
1945-04-16
1789-10-05
1941-07-28
1991-09-18
Answer: 1997
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Mark Johnson" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "first baseman" . ?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: first baseman
function: Relate
dependencies: 0
inputs: position played on team / speciality
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