Question: How many points did John Spencer (the one whose date of death is 2007-08-22) who is a member of Sheffield United F. C. make in the match?
Choices:
76
86
10
13
36
4
2
60
72
65
Answer: 10
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Spencer" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "2007-08-22"^^xsd:date . ?e_2 <pred:name> "Sheffield 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_points/goals/set_scored> ?qpv .  }
Program:
function: Find
inputs: John Spencer
function: FilterDate
dependencies: 0
inputs: date of death
2007-08-22
=
function: Find
inputs: Sheffield United F.C.
function: QueryRelationQualifier
dependencies: 1
2
inputs: member of sports team
number of points/goals/set scored