Question: How many points did Joe Walsh (the one that is related to sport association football) get in a match while a member of Crawley Town F.C. ?
Choices:
28
18
56
40
65
39
3
37
8
5
Answer: 8
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Joe Walsh" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> "association football" . ?e_2 <pred:name> "Crawley Town 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: association football
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Joe Walsh
function: And
dependencies: 1
2
function: Find
inputs: Crawley Town F.C.
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of sports team
number of points/goals/set scored