which character from a comic strip made an appearance in somebody's stenog?
Entity Entity Entity Entity
m.0jstb8f m.0jst9d3 m.0jstb8n m.0jstb8w
Kitty Scratch Cam O'Flage Mary Doodle Sam Smithers
class entity
comic_strips.comic_strip_character m.0jst94l
comic_strips.comic_strip_character comic_strips.comic_strip
Comic Strip Character Somebody's Stenog
none none
comic_strips.comic_strip_character.comic_strips_appeared_in
Appeared in comic strips
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 :comic_strips.comic_strip_character . 
VALUES ?x1 { :m.0jst94l } 
?x0 :comic_strips.comic_strip_character.comic_strips_appeared_in ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND comic_strips.comic_strip_character (JOIN comic_strips.comic_strip_character.comic_strips_appeared_in m.0jst94l))