Question: Soccer's Peter Cook scored how many points for his team, Crewe Alexandra F.C.?
Choices:
8
26
16
6
72
30
13
17
20
25
Answer: 6
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Peter Cook" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> "association football" . ?e_2 <pred:name> "Crewe Alexandra 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: association football
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Peter Cook
function: And
dependencies: 1
2
function: Find
inputs: Crewe Alexandra F.C.
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
number of points/goals/set scored