main elephant yard is an exhibit in which zoo?
Entity
m.067bbg
Birmingham Zoo
class entity
zoos.zoo m.0j0xsjq
zoos.zoo zoos.zoo_exhibit
Zoo Main Elephant Yard
none none
zoos.zoo.exhibits
Exhibits
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.0j0xsjq } 
?x0 :zoos.zoo.exhibits ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND zoos.zoo (JOIN zoos.zoo.exhibits m.0j0xsjq))