what are different kinds of seo consultant extended by?

(i don't think this original question makes any sense in english. so i did the best i could.)
Entity Entity Entity
m.04j5ww_ m.0j72ylp m.0rn_rkd
Online Advertising SEO Marketing Specialist
class class entity
type.type type.type m.0n7w78w
type.type type.type type.type
Type Type SEO consultant
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.0n7w78w } 
?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.0n7w78w)))