Question: How many points did Newcastle United F.C. achieve in a match where  Brian Wilson (the one that is a member of Torquay United F.C.) was its member?
Choices: 44
37
6
18
57
82
42
116
20
41
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Brian Wilson" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Torquay United F.C." . ?e_2 <pred:name> "Newcastle 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 ] <number_of_points/goals/set_scored> ?qpv .  }
Program:
function: Find
inputs: Torquay United F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Brian Wilson
function: And
dependencies: 1
2
function: Find
inputs: Newcastle United F.C.
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
number of points/goals/set scored
Answer: 6