which tv episode is part of masque of mandragora
Entity Entity Entity Entity
m.06x6g0b m.06x6g0n m.06x6g0z m.06x6g18
The Masque of Mandragora, Part One The Masque of Mandragora, Part Two The Masque of Mandragora, Part Three The Masque of Mandragora, Part Four
class entity
tv.tv_series_episode m.05qlwy
tv.tv_series_episode tv.multipart_tv_episode
TV Episode masque of mandragora
none none
tv.tv_series_episode.part_of_multipart_episode
Part of multipart episode
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_series_episode . 
VALUES ?x1 { :m.05qlwy } 
?x0 :tv.tv_series_episode.part_of_multipart_episode ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND tv.tv_series_episode (JOIN tv.tv_series_episode.part_of_multipart_episode m.05qlwy))