which musical genre has a subgenres that also has a parent genres of uk hard house?
Entity Entity
m.03mb9 m.07gxw
House music Techno
class class entity
music.genre music.genre m.05g3ng
music.genre music.genre music.genre
Musical genre Musical genre UK hard house
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.05g3ng } 
?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.05g3ng)))