what type of zoo was pattycake born in?
Entity
m.089v3
Zoo
class class entity
zoos.zoo_category zoos.zoo m.0t52pmb
zoos.zoo_category zoos.zoo biology.deceased_organism
Zoo category Zoo Pattycake
none none none
zoos.zoo.category biology.organism.place_of_birth
Category Place of Birth
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_category . 
?x1 :type.object.type :zoos.zoo . 
VALUES ?x2 { :m.0t52pmb } 
?x1 :zoos.zoo.category ?x0 . 
?x2 :biology.organism.place_of_birth ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND zoos.zoo_category (JOIN (R zoos.zoo.category) (JOIN (R biology.organism.place_of_birth) m.0t52pmb)))