which tv program guest is involved in a tv episode where geoffrey nunberg appears?
Entity
m.08qqg2
Geoffrey Nunberg
class class entity
tv.tv_program_guest tv.tv_guest_personal_appearance m.0jkh8ls
tv.tv_program_guest tv.tv_guest_personal_appearance tv.the_colbert_report_episode
TV program guest TV episode personal appearance Geoffrey Nunberg
none none none
tv.tv_guest_personal_appearance.person tv.tv_series_episode.guest_personal_appearances
Person Personal appearances
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_guest . 
?x1 :type.object.type :tv.tv_guest_personal_appearance . 
VALUES ?x2 { :m.0jkh8ls } 
?x1 :tv.tv_guest_personal_appearance.person ?x0 . 
?x2 :tv.tv_series_episode.guest_personal_appearances ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND tv.tv_program_guest (JOIN (R tv.tv_guest_personal_appearance.person) (JOIN (R tv.tv_series_episode.guest_personal_appearances) m.0jkh8ls)))