Question: How many house music entities are associated with someone famous whose Twitter username is davidguetta (the subscription number of this statement is 22225772) ?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "house music" . ?e <famous_people> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "davidguetta" . [ <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> "22225772"^^xsd:double .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
davidguetta
function: QFilterNum
dependencies: 1
inputs: number of subscribers
22225772
=
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: house music
function: Count
dependencies: 5