what galaxy has constellation leo?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.03vv7h m.03wg70x g.122npb6z g.12120k3g g.121ln4sm g.122nzh3x g.12264k32 m.09y1xn g.12182n5g g.122w6274 g.122d8gpq g.120kz06s g.121n9hzf g.122tcst1 m.061xg_ m.04n1zv8 g.122dm4dz g.123213t8 g.122qyxp8 g.1231rr0m m.0hnc2sp m.03twsm g.1219y70_ m.0csszj g.122l8f5g g.122jqygx g.121rk0n0 m.025sv4n m.09xmn_ g.121kx1g2 g.120lqr7x g.1239_djm g.120vhgnr g.122fvj59 m.0924bs g.120k5x_1 g.122jr92q g.122gqxbz g.122sgs_r g.1238gkx2 m.03cr4nj g.120z1xg0 g.1219h5ns m.03twyp g.120phvvh g.1236yrk7 g.121mdwwt g.120mj1xn g.12176kjp g.1219sbwx g.120jxs03 g.120rlpgd g.120n7tnv m.09y1_2 m.03twzs g.120jfhv7 g.120hhxc_ g.120ktfp_ m.09xmf8 g.120_49y2 g.122nzh3v m.0408z0d g.1229w81b m.09vnqd g.122c6994 g.121__30n g.120vt6vq g.1210b76n g.12353db9 g.121thwzd m.03vbn3 m.03vvmr m.03vbwg g.12129z20 g.121h83mq g.122q9g9z m.0b6g738 g.1222j8gt g.122l35hf g.1215pq_0 g.1219y710 g.1231gkzj m.04f_18w g.121k3n3m g.1221br8w g.120ktfpz g.120v_07h g.1215vy8g g.121g1mf5 g.120wkwv_ g.120xv6z8 m.0bh8k6l g.1228xfp7 g.122chrpw g.122nnznd m.0b6k8ky g.120k5x_0 g.122wtxvx g.122fk1h3 m.02qm41s g.121l0ylh g.12333pb3
Messier 96 NGC 3626 null null null null null NGC 3521 null null null null null null Leo A Segue 1 null null null null NGC 3842 Messier 65 null NGC 3384 null null null NGC 3226 NGC 3227 null null null null null Leo II null null null null null NGC 3808A null null NGC 3628 null null null null null null null null null NGC 3596 Messier 66 null null null NGC 2903 null null NGC 3607 null NGC 3370 null null null null null null Messier 95 Messier 105 Leo I null null null Leo IV null null null null null NGC 3190 null null null null null null null null Leo T null null null Leo V null null null NGC 3593 null null
class entity
astronomy.galaxy m.04h2q
astronomy.galaxy astronomy.constellation
Galaxy Leo
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.04h2q } 
?x0 :astronomy.galaxy.constellation ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND astronomy.galaxy (JOIN astronomy.galaxy.constellation m.04h2q))