what is a satellite galaxy of great andromeda nebula?
Entity Entity
m.03tmnt m.03vvwk
Messier 32 Messier 110
class entity
astronomy.satellite_galaxy m.0jvb4
astronomy.satellite_galaxy astronomy.galaxy
Satellite galaxy great andromeda nebula
none none
astronomy.satellite_galaxy.satellite_of_this_galaxy
Satellite of this galaxy
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.satellite_galaxy . 
VALUES ?x1 { :m.0jvb4 } 
?x0 :astronomy.satellite_galaxy.satellite_of_this_galaxy ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND astronomy.satellite_galaxy (JOIN astronomy.satellite_galaxy.satellite_of_this_galaxy m.0jvb4))