find the aircrafts within the model family of bocks car
Entity Entity Entity Entity Entity
m.01r3mq m.02m5s m.0fr9pk m.0fr8hx m.0fr8nd
The Great Artiste Enola Gay Big Stink Full House Jabit III
class class entity
aviation.aircraft aviation.aircraft_model m.018sk0
aviation.aircraft aviation.aircraft_model aviation.aircraft
Aircraft Aircraft model bocks car
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.018sk0 } 
?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.018sk0)))