Question: How many subscribers does the baseball team that was headquartered in San Francisco in 2012 have under the Twitter username of SFGiants?
Choices:
266394
477167
6358
501817
2543860
38596
18627
1441194
10119
1821272
Program:
function: Find
inputs: 2012
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: San Francisco
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: baseball team
function: QueryAttrQualifier
dependencies: 5
inputs: Twitter username
SFGiants
number of subscribers
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "San Francisco" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "2012" .  ?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 .  }
Answer: 1821272