Question: How many number of points in the match did Michael O'Neill (the one that is a member of St. Johnstone F.C.) achieve while in Newcastle United F.C.?
Choices:
30
45
8
112
99
3015
73
24
15
23
Program:
function: Find
inputs: St. Johnstone F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Michael O'Neill
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
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Michael O'Neill" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "St. Johnstone 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 .  }
Answer: 15