Question: How many subscribers does the person have who is a member of PSV Eindhoven (the number of points of this statement is 42) and his/her Twitter username is Ronaldo.
Choices:
23072
152764
1003
120881
4994
527181
24503
102390404
129019
2240398
Answer: 527181
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "PSV Eindhoven" . [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_points/goals/set_scored> ?qpv_1 . ?qpv_1 <pred:unit> "1" . ?qpv_1 <pred:value> "42"^^xsd:double . ?e <Twitter_username> ?pv . ?pv <pred:value> "Ronaldo" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: PSV Eindhoven
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: QFilterNum
dependencies: 1
inputs: number of points/goals/set scored
42
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttrQualifier
dependencies: 3
inputs: Twitter username
Ronaldo
number of subscribers