amazing fantasy is a comic book of what genre?
Entity Entity
m.06n90 m.01hmnh
Science Fiction Fantasy
class entity
comic_books.comic_book_genre m.01wl9q
comic_books.comic_book_genre comic_books.comic_book_series
Comic Book Genre Amazing Fantasy
none none
comic_books.comic_book_genre.comic_book_series_in_this_genre
Comic Book Series In This 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_genre . 
VALUES ?x1 { :m.01wl9q } 
?x0 :comic_books.comic_book_genre.comic_book_series_in_this_genre ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND comic_books.comic_book_genre (JOIN comic_books.comic_book_genre.comic_book_series_in_this_genre m.01wl9q))