who is the tv director of masters of horror?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.05dhxs m.05njx3 m.05tmbq m.0d4_x9 m.01dxx3 m.066q0v m.05ncxp m.030vmc m.03dc62 m.0dr5y m.0885r6 m.0d50g2 m.04n3k8 m.01f2f8 m.0b6bqp m.0d505p m.01s9vw m.06z9yh m.05jc65
Joe Dante Brad Anderson Ernest R. Dickerson Mick Garris Takashi Miike Tom Holland Norio Tsuruta John Landis Don Coscarelli John Carpenter Stuart Gordon Lucky McKee John McNaughton Dario Argento Peter Medak William Malone Tobe Hooper Larry Cohen Rob Schmidt
class class entity
tv.tv_director tv.tv_series_episode m.08zrg2
tv.tv_director tv.tv_series_episode tv.tv_program
TV Director TV Episode Masters of Horror
none none none
tv.tv_director.episodes_directed tv.tv_program.episodes
TV Episodes Directed Episodes
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 :tv.tv_director . 
?x1 :type.object.type :tv.tv_series_episode . 
VALUES ?x2 { :m.08zrg2 } 
?x0 :tv.tv_director.episodes_directed ?x1 . 
?x2 :tv.tv_program.episodes ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND tv.tv_director (JOIN tv.tv_director.episodes_directed (JOIN (R tv.tv_program.episodes) m.08zrg2)))