within the model family of enola gay locate the aircrafts within the model family
Entity Entity Entity Entity Entity
m.018sk0 m.01r3mq m.0fr9pk m.0fr8hx m.0fr8nd
Bockscar The Great Artiste Big Stink Full House Jabit III
class class entity
aviation.aircraft aviation.aircraft_model m.02m5s
aviation.aircraft aviation.aircraft_model aviation.aircraft
Aircraft Aircraft model Enola Gay
none none none
aviation.aircraft_model.aircraft aviation.aircraft.model
Aircraft Model
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 . 
?x1 :type.object.type :aviation.aircraft_model . 
VALUES ?x2 { :m.02m5s } 
?x1 :aviation.aircraft_model.aircraft ?x0 . 
?x2 :aviation.aircraft.model ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND aviation.aircraft (JOIN (R aviation.aircraft_model.aircraft) (JOIN (R aviation.aircraft.model) m.02m5s)))