the octans constellation is in which galaxy?
Entity Entity Entity Entity Entity Entity
g.121711tw g.120zv9r8 g.122dm4f4 g.1222j8gx g.122npb73 g.12156sgz
null null null null null null
class entity
astronomy.galaxy m.05mk4
astronomy.galaxy astronomy.constellation
Galaxy Octans
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.05mk4 } 
?x0 :astronomy.galaxy.constellation ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND astronomy.galaxy (JOIN astronomy.galaxy.constellation m.05mk4))