what material possesses a parent material that possesses a parent material class metal coatings ?
Entity
m.065x_w
Primer
class class entity
engineering.material engineering.material m.064lht
engineering.material engineering.material engineering.material
Material Material metal coatings
none none none
engineering.material.parent_material_class engineering.material.subclass
Parent material class Child material class
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 :engineering.material . 
?x1 :type.object.type :engineering.material . 
VALUES ?x2 { :m.064lht } 
?x0 :engineering.material.parent_material_class ?x1 . 
?x2 :engineering.material.subclass ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND engineering.material (JOIN engineering.material.parent_material_class (JOIN (R engineering.material.subclass) m.064lht)))