Question: How many subscribers are associated with SuttonColdfield, the subreddit of a town whose OS grid reference is SP1395 ?
Choices:
87397
102433
3367557
3541623
1794214
197526
25274
436907
201160
6
Answer: 6
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <OS_grid_reference> ?pv_1 . ?pv_1 <pred:value> "SP1395" . ?e <subreddit> ?pv . ?pv <pred:value> "SuttonColdfield" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: OS grid reference
SP1395
function: FilterConcept
dependencies: 1
inputs: town
function: QueryAttrQualifier
dependencies: 2
inputs: subreddit
SuttonColdfield
number of subscribers