Question: What is the number of points in the match for Andy Williams (whose height is 173 centimeters) who is a member of Chicago Fire (whose Twitter username is ChicagoFire)?
Choices:
6
76
3
0
14
9
12
19
57
27
Answer: 6
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Andy Williams" . ?e_1 <height> ?pv . ?pv <pred:unit> "centimetre" . ?pv <pred:value> "173"^^xsd:double . ?e_2 <pred:name> "Chicago Fire" . ?e_2 <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "ChicagoFire" . ?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: Andy Williams
function: FilterNum
dependencies: 0
inputs: height
173 centimetre
=
function: Find
inputs: Chicago Fire
function: FilterStr
dependencies: 2
inputs: Twitter username
ChicagoFire
function: QueryRelationQualifier
dependencies: 1
3
inputs: member of sports team
number of points/goals/set scored