Question: John Bailey, born 1969-05-06, had how many match appearances as a member of AFC Bournemouth?
Choices:
26
125
17
129
11
137
228
226
134
36
Answer: 137
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Bailey" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1969-05-06"^^xsd:date . ?e_2 <pred:name> "AFC Bournemouth" . ?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: John Bailey
function: FilterDate
dependencies: 0
inputs: date of birth
1969-05-06
=
function: Find
inputs: AFC Bournemouth
function: QueryRelationQualifier
dependencies: 1
2
inputs: member of sports team
number of matches played/races/starts