what is the tv program that the multipart tv episode the end (2) is a part of?
Entity
m.0828jw
Lost
class class entity
tv.tv_program tv.multipart_tv_episode m.0bb1z36
tv.tv_program tv.multipart_tv_episode tv.tv_series_episode
TV Program Multipart TV episode The End (2)
none none none
tv.tv_program.multipart_episodes tv.multipart_tv_episode.episodes
Multipart episodes 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_program . 
?x1 :type.object.type :tv.multipart_tv_episode . 
VALUES ?x2 { :m.0bb1z36 } 
?x0 :tv.tv_program.multipart_episodes ?x1 . 
?x1 :tv.multipart_tv_episode.episodes ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND tv.tv_program (JOIN tv.tv_program.multipart_episodes (JOIN tv.multipart_tv_episode.episodes m.0bb1z36)))