Question: What is the popular music genre of the rock band with the subreddit pinkfloyd (45290 subscribers)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "popular music" . ?e_1 <genre> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "rock band" . ?e_1 <subreddit> ?pv . ?pv <pred:value> "pinkfloyd" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "45290"^^xsd:double .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: subreddit
pinkfloyd
function: QFilterNum
dependencies: 1
inputs: number of subscribers
45290
=
function: FilterConcept
dependencies: 2
inputs: rock band
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: popular music
function: Count
dependencies: 5