find all users that set watched discussion preferences as marketing
Entity
m.011tfyc4
Joel Glenn Wright
class entity
freebase.user_profile m.02pxfkz
freebase.user_profile common.topic
User Profile marketing
none none
freebase.user_profile.watched_discussion_preferences
Watched Discussion Preferences
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.02pxfkz } 
?x0 :freebase.user_profile.watched_discussion_preferences ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND freebase.user_profile (JOIN freebase.user_profile.watched_discussion_preferences m.02pxfkz))