Question: How many popular music genres have a band whose Twitter username is bonjovi?
Choices: 4
5
6
7
8
9
10
11
12
13
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> "band" . ?e_1 <Twitter_username> ?pv . ?pv <pred:value> "bonjovi" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
bonjovi
function: FilterConcept
dependencies: 1
inputs: band
function: Relate
dependencies: 2
inputs: genre
forward
function: FilterConcept
dependencies: 3
inputs: popular music
function: Count
dependencies: 4
Answer: 4