what is the tv personality of tv segment personal appearance host?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.01b370 m.03f0c5 m.086bkb m.0crzn_ m.0fcm53 m.0xmr267 m.01g4w3 m.03jg82 m.04wvmm m.0v_1xj_ m.0271lyt m.03pdj3 m.05wwj5t m.0zfn2ds m.0_s5vp9
Martha Stewart Charles Osgood Terry Moran Guy Fieri Cynthia McFadden Steve Dolinsky Martin Bashir Jacques Pépin Bernard Shaw Martha Teichner Tatiana Stefanidou Robert Krulwich Derek Waters Vince Gerasole Jessica Dominguez
class class entity
tv.tv_personality tv.tv_segment_personal_appearance m.02nrqjz
tv.tv_personality tv.tv_segment_personal_appearance tv.non_character_role
TV Personality TV segment personal appearance Host
none none none
tv.tv_personality.tv_segment_appearances tv.tv_segment_personal_appearance.appearance_type
TV segment appearances Appearance type
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_personality . 
?x1 :type.object.type :tv.tv_segment_personal_appearance . 
VALUES ?x2 { :m.02nrqjz } 
?x0 :tv.tv_personality.tv_segment_appearances ?x1 . 
?x1 :tv.tv_segment_personal_appearance.appearance_type ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND tv.tv_personality (JOIN tv.tv_personality.tv_segment_appearances (JOIN tv.tv_segment_personal_appearance.appearance_type m.02nrqjz)))