Question: How many subscribers does the agent whose headquarter location is New Brunswick (whose WOEID is 2458101) have under the Twitter username JNJCares?
Choices:
231572
266394
91503
49925
9357265
4848773
226
1728
1432018
610767
Answer: 91503
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "New Brunswick" . ?e_1 <WOEID> ?pv_1 . ?pv_1 <pred:value> "2458101" . ?e <Twitter_username> ?pv . ?pv <pred:value> "JNJCares" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: New Brunswick
function: FilterStr
dependencies: 0
inputs: WOEID
2458101
function: Relate
dependencies: 1
inputs: headquarters location
backward
function: FilterConcept
dependencies: 2
inputs: agent
function: QueryAttrQualifier
dependencies: 3
inputs: Twitter username
JNJCares
number of subscribers