find comic book stories with the genre of zombies.
Entity Entity Entity Entity
m.02796pt m.08x60d m.02797c4 m.06vmd9
Marvel Zombies vs. The Army of Darkness Marvel Zombies Marvel Zombies: Dead Days The Walking Dead
class entity
comic_books.comic_book_story m.089m7
comic_books.comic_book_story comic_books.comic_book_genre
Comic Book Story zombies
none none
comic_books.comic_book_story.genre
Genre
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_books.comic_book_story . 
VALUES ?x1 { :m.089m7 } 
?x0 :comic_books.comic_book_story.genre ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND comic_books.comic_book_story (JOIN comic_books.comic_book_story.genre m.089m7))