Question: Until when was John Mills, the New Zealand citizen, a member of the New Zealand national cricket team?
Choices:
1940-06-21
1990-11-28
1990-03-19
1930
1941-06-28
1989-12-02
1904
1932-01-01
2016-11-02
2009-07-01
Answer: 1930
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Mills" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "New Zealand" . ?e_2 <pred:name> "New Zealand national cricket team" . ?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: New Zealand
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: John Mills
function: And
dependencies: 1
2
function: Find
inputs: New Zealand national cricket team
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
end time