Question: Andy Williams of Real Salt Lake and Chicago Fire of association football (the sport) has scored how many points?
Choices:
80
49
45
50
6
3015
53
22
39
5
Program:
function: Find
inputs: Real Salt Lake
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Andy Williams
function: And
dependencies: 1
2
function: Find
inputs: association football
function: Relate
dependencies: 4
inputs: sport
backward
function: Find
inputs: Chicago Fire
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: member of sports team
number of points/goals/set scored
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Andy Williams" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Real Salt Lake" . ?e_2 <pred:name> "Chicago Fire" . ?e_2 <sport> ?e_4 . ?e_4 <pred:name> "association football" . ?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 .  }
Answer: 6