Question: How many electronic dance music groups are associated with a famous band whose Twitter username is ebtgh, with 11219 subscribers ?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "electronic dance music" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "band" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "ebtg" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "11219"^^xsd:double .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
ebtg
function: QFilterNum
dependencies: 1
inputs: number of subscribers
11219
=
function: FilterConcept
dependencies: 2
inputs: band
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: electronic dance music
function: Count
dependencies: 5