uk has which rocket?
Entity Entity Entity Entity Entity Entity
m.02nl3n m.02p3w3 m.0h5278q m.02nk67 m.02670sc m.0518jv
Black Arrow Skylon Skybolt Black Knight Starchaser 4 Falstaff
class entity
spaceflight.rocket m.07ssc
spaceflight.rocket location.country
Rocket uk
none none
spaceflight.rocket.country_of_origin
Country Of Origin
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.rocket . 
VALUES ?x1 { :m.07ssc } 
?x0 :spaceflight.rocket.country_of_origin ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND spaceflight.rocket (JOIN spaceflight.rocket.country_of_origin m.07ssc))