what rocket has 5 different distinct stages?
Entity Entity Entity Entity
m.05b_03t m.05zwx90 m.0346nk m.0b2xyw
NOTS-EV-1 Pilot Lambda 4S N1 Augmented Satellite Launch Vehicle
class literal
spaceflight.rocket 5^^http://www.w3.org/2001/XMLSchema#integer
spaceflight.rocket type.int
Rocket 5
none none
spaceflight.rocket.number_of_stages
Number Of Stages
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 { "5"^^<http://www.w3.org/2001/XMLSchema#integer> } 
?x0 :spaceflight.rocket.number_of_stages ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND spaceflight.rocket (JOIN spaceflight.rocket.number_of_stages 5^^http://www.w3.org/2001/XMLSchema#integer))