which category louisville zoo falls in?
Entity
m.089v3
Zoo
class entity
zoos.zoo_category m.05ng4x
zoos.zoo_category zoos.zoo
Zoo category Louisville Zoo
none none
zoos.zoo_category.zoos
Zoos
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 . 
VALUES ?x1 { :m.05ng4x } 
?x0 :zoos.zoo_category.zoos ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND zoos.zoo_category (JOIN zoos.zoo_category.zoos m.05ng4x))