Question: Michael Jackson of Swansea City A.F.C. had how many match appearances as a member of Cheltenham Town F.C.?
Choices:
182
204
30
5
171
72
252
13
40
334
Answer: 30
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Michael Jackson" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Swansea City A.F.C." . ?e_2 <pred:name> "Cheltenham Town 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: Swansea City A.F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Michael Jackson
function: And
dependencies: 1
2
function: Find
inputs: Cheltenham Town F.C.
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
number of matches played/races/starts