Question: How many matches have been played by the Peterborough United F.C. that has a member named Adam Smith (who is a member of the Boston United F.C.)?
Choices:
73
93
228
9
137
16
245
45
20
130
Program:
function: Find
inputs: Boston United F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Adam Smith
function: And
dependencies: 1
2
function: Find
inputs: Peterborough United F.C.
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
number of matches played/races/starts
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Adam Smith" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Boston United F.C." . ?e_2 <pred:name> "Peterborough 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_matches_played/races/starts> ?qpv .  }
Answer: 9