Question: John Hughes of Hibernian F.C. was a member of Ayr United F.C. until which date?
Choices:
-27
1991-08-24
1991-08-23
2002-01-01
1940-08-02
1990-10-03
1917-09-01
1904-01-01
1908-10-31
2011-05-13
Program:
function: Find
inputs: Hibernian F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Hughes
function: And
dependencies: 1
2
function: Find
inputs: Ayr United F.C.
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Hughes" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Hibernian F.C." . ?e_2 <pred:name> "Ayr United 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 .  }
Answer: 2002-01-01