Question: Andy Williams of Doncaster Rovers F.C. scored how many points in the match as a member of Bristol Rovers F.C.?
Choices:
21
42
2
6
40
60
8
46
61
44
Answer: 8
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Andy Williams" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Doncaster Rovers F.C." . ?e_2 <pred:name> "Bristol Rovers 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_points/goals/set_scored> ?qpv .  }
Program:
function: Find
inputs: Doncaster Rovers F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Andy Williams
function: And
dependencies: 1
2
function: Find
inputs: Bristol Rovers F.C.
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
number of points/goals/set scored