scattered disc object has which celestial object in it's category?
Entity Entity
m.05p8p8_ m.0hgnqqp
(181902) 1999 RD215 (184212) 2004 PB112
class entity
astronomy.celestial_object m.09tmj8z
astronomy.celestial_object astronomy.celestial_object_category
Celestial Object Scattered disc 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.09tmj8z } 
?x0 :astronomy.celestial_object.category ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND astronomy.celestial_object (JOIN astronomy.celestial_object.category m.09tmj8z))