which type and rich media is extended by the same type?
Entity
m.010rcqgl
Standard Media
class class entity
type.type type.type m.010rcqhr
type.type type.type type.type
Type Type Rich Media
none none none
type.type.extends type.type.extends
Extends Extends
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 :type.type . 
?x1 :type.object.type :type.type . 
VALUES ?x2 { :m.010rcqhr } 
?x1 :type.type.extends ?x0 . 
?x1 :type.type.extends ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND type.type (JOIN (R type.type.extends) (JOIN type.type.extends m.010rcqhr)))