what rock type is a sub-type of a rock type which has sub-types including rhyodacite?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.01pxvd m.03fcm m.030c8l m.01pxwx m.01pxyl m.01pxz9 m.01tllg m.02943b m.041p8l m.04z455 m.052vlb m.060x7_ m.061h3r m.07flfs m.07sy7n m.0bxps m.0fw3f7 m.0g3899 m.0g4108 m.0j8dv8z m.0j8dwx0
Dacite Granite Peridotite Andesite Basanite Dunite Anorthosite Diorite Diabase Charnockite Carbonatite Essexite Granodiorite Granophyre Foidolite Basalt Boninite Enderbite Hornblendite Leucite-tephrite Plutonic rock
class class entity
geology.rock_type geology.rock_type m.06d153
geology.rock_type geology.rock_type geology.rock_type
Rock type Rock type Rhyodacite
none none none
geology.rock_type.sub_types geology.rock_type.sub_types
Sub-types Sub-types
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 :geology.rock_type . 
?x1 :type.object.type :geology.rock_type . 
VALUES ?x2 { :m.06d153 } 
?x1 :geology.rock_type.sub_types ?x0 . 
?x2 :geology.rock_type.sub_types ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND geology.rock_type (JOIN (R geology.rock_type.sub_types) (JOIN (R geology.rock_type.sub_types) m.06d153)))