boeing b737 is part of which aircraft model line?
Entity Entity Entity
m.03hhjbd m.047lggt m.049hj2w
Boeing 737 Classic Boeing 737 Next Generation Boeing 737-300
class entity
aviation.aircraft_model m.0137k8
aviation.aircraft_model aviation.aircraft_line
Aircraft model boeing b737
none none
aviation.aircraft_model.part_of_line
Part Of Line
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 :aviation.aircraft_model . 
VALUES ?x1 { :m.0137k8 } 
?x0 :aviation.aircraft_model.part_of_line ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND aviation.aircraft_model (JOIN aviation.aircraft_model.part_of_line m.0137k8))