Question: How many subscriber does a city, bordering  Niagara Falls (the one whose Statistics Canada Geographic code is 3526043) have on its subreddit stcatharinesON ?
Choices: 1389
60856
11442727
37256
1794214
161844
235870
5213
541183
76869
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Niagara Falls" . ?e_1 <Statistics_Canada_Geographic_code> ?pv_1 . ?pv_1 <pred:value> "3526043" . ?e <subreddit> ?pv . ?pv <pred:value> "stcatharinesON" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Niagara Falls
function: FilterStr
dependencies: 0
inputs: Statistics Canada Geographic code
3526043
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: city
function: QueryAttrQualifier
dependencies: 3
inputs: subreddit
stcatharinesON
number of subscribers
Answer: 1389