Question: How many subscribers are there for the Twitter username stokecity belonging to the association football club that has Leon Cort as a member having scored 4 points?
Choices:
1539840
7
608015
907873
15607040
136916
25685
957148
48829
476
Answer: 957148
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "Leon Cort" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <number_of_points/goals/set_scored> ?qpv_1 . ?qpv_1 <pred:unit> "1" . ?qpv_1 <pred:value> "4"^^xsd:double . ?e <Twitter_username> ?pv . ?pv <pred:value> "stokecity" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Leon Cort
function: Relate
dependencies: 0
inputs: member of sports team
forward
function: QFilterNum
dependencies: 1
inputs: number of points/goals/set scored
4
=
function: FilterConcept
dependencies: 2
inputs: association football club
function: QueryAttrQualifier
dependencies: 3
inputs: Twitter username
stokecity
number of subscribers