classical kuiper belt object has which celestial object in it's category?
Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0275_9h m.029_0t m.02m4hc m.074z2n m.075spn m.076sws m.0d_5t1 m.0gmrpz m.0plx4
(16684) 1994 JQ1 20000 Varuna (15760) 1992 QB1 Makemake 19521 Chaos 53311 Deucalion 58534 Logos (15807) 1994 GV9 50000 Quaoar
class entity
astronomy.celestial_object m.0243f
astronomy.celestial_object astronomy.celestial_object_category
Celestial Object Classical Kuiper belt object
none none
astronomy.celestial_object.category
Category
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 :astronomy.celestial_object . 
VALUES ?x1 { :m.0243f } 
?x0 :astronomy.celestial_object.category ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND astronomy.celestial_object (JOIN astronomy.celestial_object.category m.0243f))