Question: How many popular musics were influenced by Black Sabbath (which is famous for blues rock) and are named after sludge metal?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: blues rock
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Black Sabbath
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: influenced by
backward
function: FilterConcept
dependencies: 4
inputs: popular music
function: Find
inputs: sludge metal
function: Relate
dependencies: 6
inputs: named after
backward
function: FilterConcept
dependencies: 7
inputs: popular music
function: And
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "popular music" . ?e <influenced_by> ?e_1 . ?e_1 <pred:name> "Black Sabbath" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "blues rock" .  ?e <named_after> ?e_3 . ?e_3 <pred:name> "sludge metal" .  }
Answer: 0