dig bmx belongs to what genre of magazines?
Entity
m.07n6dmm
Sports magazine
class entity
book.magazine_genre m.02z2lkx
book.magazine_genre book.magazine
Magazine genre Dig BMX
none none
book.magazine_genre.magazines_in_this_genre
Magazines 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 :book.magazine_genre . 
VALUES ?x1 { :m.02z2lkx } 
?x0 :book.magazine_genre.magazines_in_this_genre ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND book.magazine_genre (JOIN book.magazine_genre.magazines_in_this_genre m.02z2lkx))