what constellation can i find the star gamma ursae majoris in?
Entity
m.07t7j
Ursa Major
class class entity
astronomy.constellation astronomy.asterism m.03zcv1
astronomy.constellation astronomy.asterism astronomy.star
Constellation Asterism Gamma Ursae Majoris
none none none
astronomy.asterism.constellations astronomy.asterism.stars
Constellations Stars
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 . 
?x1 :type.object.type :astronomy.asterism . 
VALUES ?x2 { :m.03zcv1 } 
?x1 :astronomy.asterism.constellations ?x0 . 
?x1 :astronomy.asterism.stars ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND astronomy.constellation (JOIN (R astronomy.asterism.constellations) (JOIN astronomy.asterism.stars m.03zcv1)))