which musical genre has a subgenres that also has a parent genres of goth metal?
Entity Entity Entity Entity Entity Entity Entity Entity
m.01jwt m.0296y m.03lty m.0ggq0m m.0hdf8 m.0190xp m.0172rj m.01dqhq
Black metal Death metal Heavy metal Classical music Progressive metal Power metal Doom metal New Wave of British Heavy Metal
class class entity
music.genre music.genre m.08z0wx
music.genre music.genre music.genre
Musical genre Musical genre goth metal
none none none
music.genre.subgenre music.genre.parent_genre
Subgenres Parent genres
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :music.genre . 
?x1 :type.object.type :music.genre . 
VALUES ?x2 { :m.08z0wx } 
?x0 :music.genre.subgenre ?x1 . 
?x1 :music.genre.parent_genre ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND music.genre (JOIN music.genre.subgenre (JOIN music.genre.parent_genre m.08z0wx)))