Question: How many matches did Gary Moore (the one that is a member of Southend United F.C.) play as a member of Swansea City A.F.C.?
Choices:
8
34
106
189
69
89
0
38
22
79
Answer: 34
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Gary Moore" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Southend United F.C." . ?e_2 <pred:name> "Swansea City A.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 ] <number_of_matches_played/races/starts> ?qpv .  }
Program:
function: Find
inputs: Southend United F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Gary Moore
function: And
dependencies: 1
2
function: Find
inputs: Swansea City A.F.C.
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
number of matches played/races/starts