Question: How many matches has Ian McShane (the one whose date of birth is 1992-12-20) played, raced or started as a member of Queen of the South F.C.?
Choices: 130
78
255
125
128
6
95
45
62
57
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ian McShane" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1992-12-20"^^xsd:date . ?e_2 <pred:name> "Queen of the South 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: Ian McShane
function: FilterDate
dependencies: 0
inputs: date of birth
1992-12-20
=
function: Find
inputs: Queen of the South F.C.
function: QueryRelationQualifier
dependencies: 1
2
inputs: member of sports team
number of matches played/races/starts
Answer: 78