Question: When did Peter Weir (the one that is a member of Aberdeen F.C.) become a member of St. Mirren F.C.?
Choices:
2012-07-25
2006-10-16
2005-12-10
1978-01-01
2008-04-18
1859-01-24
2008-09-09
1981-04-10
1453
1902-10-01
Answer: 1978-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Peter Weir" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Aberdeen F.C." . ?e_2 <pred:name> "St. Mirren 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 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: Aberdeen F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Peter Weir
function: And
dependencies: 1
2
function: Find
inputs: St. Mirren F.C.
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
start time