Question: How many subscribers does the user, the baseball team whose Instagram username is sfgiants, have for its Twitter username SFGiants?
Choices:
68752
72329
2383803
779
1821272
205983
88
24765
88397
235870
Answer: 1821272
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> "sfgiants" . ?e <Twitter_username> ?pv . ?pv <pred:value> "SFGiants" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Instagram username
sfgiants
function: FilterConcept
dependencies: 1
inputs: baseball team
function: QueryAttrQualifier
dependencies: 2
inputs: Twitter username
SFGiants
number of subscribers