which space missions are sponsored by department of the navy?
Entity Entity
m.0j70v1y m.0j70v0c
Vanguard 3 Mission Vanguard TV3 Mission
class class entity
spaceflight.space_mission spaceflight.space_program m.03cv24
spaceflight.space_mission spaceflight.space_program spaceflight.space_program_sponsor
Space Mission Space program department of the navy
none none none
spaceflight.space_program.missions spaceflight.space_program.sponsor
Missions Sponsor
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 :spaceflight.space_mission . 
?x1 :type.object.type :spaceflight.space_program . 
VALUES ?x2 { :m.03cv24 } 
?x1 :spaceflight.space_program.missions ?x0 . 
?x1 :spaceflight.space_program.sponsor ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND spaceflight.space_mission (JOIN (R spaceflight.space_program.missions) (JOIN spaceflight.space_program.sponsor m.03cv24)))