what celestial object has the artificial satellites of mars global surveyor?
Entity
m.09cws
Mars
class entity
astronomy.celestial_object m.01h_7t
astronomy.celestial_object spaceflight.satellite
Celestial Object Mars Global Surveyor
none none
astronomy.celestial_object.artificial_satellites
Artificial satellites
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.celestial_object . 
VALUES ?x1 { :m.01h_7t } 
?x0 :astronomy.celestial_object.artificial_satellites ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND astronomy.celestial_object (JOIN astronomy.celestial_object.artificial_satellites m.01h_7t))