Question: How many matches has Tom Jones (a member of Weymouth F.C.) played, raced or started as a member of Woking F.C.?
Choices:
64
66
216
227
6
40
23
295
1
81
Program:
function: Find
inputs: Weymouth F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Tom Jones
function: And
dependencies: 1
2
function: Find
inputs: Woking 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> "Tom Jones" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Weymouth F.C." . ?e_2 <pred:name> "Woking 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: 40