which rock type is a sub-type of a rock type which has sub-types including pegmatite?
(AND geology.rock_type (JOIN (R geology.rock_type.sub_types) (JOIN (R geology.rock_type.sub_types) m.09k1p)))