Question: Danny Smith of West Bromwich Albion F.C. scored how many points in the match as a member of Chesterfield F.C.?
Choices:
22
20
72
14
17
27
24
4
25
32
Answer: 4
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Danny Smith" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "West Bromwich Albion F.C." . ?e_2 <pred:name> "Chesterfield 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: West Bromwich Albion F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Danny Smith
function: And
dependencies: 1
2
function: Find
inputs: Chesterfield F.C.
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
number of points/goals/set scored