Question: How many points were achieved in a match where Alan Moore (the one that is a member of Derry City F.C.) was a member of Shelbourne F.C.?
Choices:
28
51
82
29
23
72
4
15
38
43
Answer: 4
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Alan Moore" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Derry City F.C." . ?e_2 <pred:name> "Shelbourne 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: Derry City F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Alan Moore
function: And
dependencies: 1
2
function: Find
inputs: Shelbourne F.C.
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
number of points/goals/set scored