Question: When did John Mahoney (the one that was born in Cardiff) stop being a member of the Wales national football team?
Choices:
1918-03-02
1983-01-01
1999-05-17
1947-02-25
1992-05-09
1979-04-08
2015-02-13
1993-01-15
1859-07-11
1833-09-10
Answer: 1983-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Mahoney" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Cardiff" . ?e_2 <pred:name> "Wales national football 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: Cardiff
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: John Mahoney
function: And
dependencies: 1
2
function: Find
inputs: Wales national football team
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
end time