Question: For the sport type that is the official symbol of Utah (the one whose population is 2995919) (the role of this statement is winter sport), how many subscribers does the user have for its subreddit snowboarding?
Choices:
80071
227319
206405
7886
232
8875571
23168
178082
142248
3846508
Answer: 178082
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "type of sport" . ?e_1 <official_symbol> ?e . ?e_1 <pred:name> "Utah" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2995919"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_symbol> ; <pred:fact_t> ?e ] <object_has_role> ?qpv_1 . ?qpv_1 <pred:value> "winter sport" . ?e <subreddit> ?pv . ?pv <pred:value> "snowboarding" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: Find
inputs: Utah
function: FilterNum
dependencies: 0
inputs: population
2995919
=
function: Relate
dependencies: 1
inputs: official symbol
forward
function: QFilterStr
dependencies: 2
inputs: object has role
winter sport
function: FilterConcept
dependencies: 3
inputs: type of sport
function: QueryAttrQualifier
dependencies: 4
inputs: subreddit
snowboarding
number of subscribers