the galaxy our galaxy is in which constellation?
Entity
m.06pgg
Sagittarius
class entity
astronomy.constellation m.07q38c
astronomy.constellation astronomy.galaxy
Constellation our galaxy
none none
astronomy.constellation.galaxies_observed_in_constellation
Galaxies observed within this 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.constellation . 
VALUES ?x1 { :m.07q38c } 
?x0 :astronomy.constellation.galaxies_observed_in_constellation ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND astronomy.constellation (JOIN astronomy.constellation.galaxies_observed_in_constellation m.07q38c))