Question: How many matches has Mark Williams (who belongs to South Africa) played, raced or started as a member of Mamelodi Sundowns F.C.?
Choices:
20
171
35
15
150
42
130
170
44
146
Answer: 20
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Mark Williams" . ?e_1 <country_for_sport> ?e_3 . ?e_3 <pred:name> "South Africa" . ?e_2 <pred:name> "Mamelodi Sundowns 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 .  }
Program:
function: Find
inputs: South Africa
function: Relate
dependencies: 0
inputs: country for sport
backward
function: Find
inputs: Mark Williams
function: And
dependencies: 1
2
function: Find
inputs: Mamelodi Sundowns F.C.
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
number of matches played/races/starts