which zoo is the member of american association of zoo keepers
Entity Entity Entity
m.0b6ntrg m.067bbg m.09gq4pd
Naples Zoo Birmingham Zoo Scovill Zoo
class entity
zoos.zoo m.0ch0_gm
zoos.zoo organization.organization
Zoo American Association of Zoo Keepers
none none
zoos.zoo.memberships
Organization Memberships
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 :zoos.zoo . 
VALUES ?x1 { :m.0ch0_gm } 
?x0 :zoos.zoo.memberships ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND zoos.zoo (JOIN zoos.zoo.memberships m.0ch0_gm))