Question: Association football manager Walter Scott belonged to Hamilton Academical F.C. until what date?
Choices:
1100
2009-12-07
1954-01-01
1992-04-30
1846-07-09
1912-07-27
1985-07-02
1935
1815-11-20
1968-03-25
Answer: 1954-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Walter Scott" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "association football manager" . ?e_2 <pred:name> "Hamilton Academical 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 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: association football manager
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Walter Scott
function: And
dependencies: 1
2
function: Find
inputs: Hamilton Academical F.C.
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
end time