which generation of automobiles has the generation number less than 5 and has the automobile make whose parent company is general motors company?
Entity Entity Entity Entity Entity
m.027jbr_ m.027yt_q m.027g_bg m.0bqkxn m.0bqlzt
Second Generation Chevrolet Camaro First Generation Chevrolet Camaro Third Generation Chevrolet Camaro Chevrolet Corvette (C1) Chevrolet Corvette (C3)
class class entity literal
automotive.generation automotive.make m.035nm 5^^http://www.w3.org/2001/XMLSchema#integer
automotive.generation automotive.make automotive.company type.int
Automobile generation Automobile Make general motors company 5
none none none <
automotive.generation.make automotive.make.parent_company automotive.generation.generation_number
Make Parent Company Generation Number
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 :automotive.generation . 
?x1 :type.object.type :automotive.make . 
VALUES ?x2 { :m.035nm } 
FILTER (?x3 < "5"^^<http://www.w3.org/2001/XMLSchema#integer>)
?x0 :automotive.generation.make ?x1 . 
?x1 :automotive.make.parent_company ?x2 . 
?x0 :automotive.generation.generation_number ?x3 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(AND automotive.generation (AND (JOIN automotive.generation.make (JOIN automotive.make.parent_company m.035nm)) (lt automotive.generation.generation_number 5^^http://www.w3.org/2001/XMLSchema#integer)))