what is the type of the producer of live from the red carpet?
Entity
m.0ckd1
Executive Producer
class class entity
tv.tv_producer_type tv.tv_producer_term m.03bybxp
tv.tv_producer_type tv.tv_producer_term tv.tv_program
TV Producer type TV Producer term Live from the Red Carpet
none none none
tv.tv_producer_term.producer_type tv.tv_producer_term.program
Producer type Program
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 :tv.tv_producer_type . 
?x1 :type.object.type :tv.tv_producer_term . 
VALUES ?x2 { :m.03bybxp } 
?x1 :tv.tv_producer_term.producer_type ?x0 . 
?x1 :tv.tv_producer_term.program ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND tv.tv_producer_type (JOIN (R tv.tv_producer_term.producer_type) (JOIN tv.tv_producer_term.program m.03bybxp)))