smashing pumpkins is one of the favorite freebase topics for which user profile?
Entity Entity
m.07vdk8d m.0j8_4r
nashata danm
class entity
freebase.user_profile m.07r1_
freebase.user_profile common.topic
User Profile smashing pumpkins
none none
freebase.user_profile.favorite_topics
Favorite Freebase Topics
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 :freebase.user_profile . 
VALUES ?x1 { :m.07r1_ } 
?x0 :freebase.user_profile.favorite_topics ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND freebase.user_profile (JOIN freebase.user_profile.favorite_topics m.07r1_))