Question: George Harrison, who died on 1939-03-12, scored how many points for his team Everton F.C.?
Choices:
57
17
9
25
38
83
86
6
43
66
Answer: 17
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "George Harrison" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1939-03-12"^^xsd:date . ?e_2 <pred:name> "Everton 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: George Harrison
function: FilterDate
dependencies: 0
inputs: date of death
1939-03-12
=
function: Find
inputs: Everton F.C.
function: QueryRelationQualifier
dependencies: 1
2
inputs: member of sports team
number of points/goals/set scored