the constellation columba is in which galaxy?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.02qfmm0 m.02r522n g.12345w6n g.1229_vd3 g.121f8z9w g.120l368h g.122t1qgh m.0bbzd2l g.1214mkb3 g.121qsl_k
NGC 1808 NGC 1851 null null null null null ESO 306-17 null null
class entity
astronomy.galaxy m.01f1bm
astronomy.galaxy astronomy.constellation
Galaxy Columba
none none
astronomy.galaxy.constellation
Constellation
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.galaxy . 
VALUES ?x1 { :m.01f1bm } 
?x0 :astronomy.galaxy.constellation ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND astronomy.galaxy (JOIN astronomy.galaxy.constellation m.01f1bm))