Question: For Elizabeth Banks (the one whose children number is 2), how many subscribers does the user have for her Twitter username of ElizabethBanks?
Choices:
41267
562076
2356314
1122160
809234
1041
6124629
1531870
2
145455
Answer: 2356314
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Elizabeth Banks" . ?e <number_of_children> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2"^^xsd:double . ?e <Twitter_username> ?pv . ?pv <pred:value> "ElizabethBanks" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Elizabeth Banks
function: FilterNum
dependencies: 0
inputs: number of children
2
=
function: QueryAttrQualifier
dependencies: 1
inputs: Twitter username
ElizabethBanks
number of subscribers