SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Good_Hair> <http://dbpedia.org/property/starring> ?x . ?x <http://dbpedia.org/ontology/influencedBy> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Comedian>}
List the people who influenced the comedian who acted in Good Hair ?
SELECT DISTINCT ?r WHERE { ?p property:influenced_by ?r . resource:Good_Hair property:starring ?p . ?p rdf:type ontology:Comedian }
Richard Pryor, Flip Wilson, Redd Foxx, George Carlin, Eddie Murphy, Woody Allen, Pigmeat Markham, Dick Gregory, Sam Kinison, Mort Sahl, Bill Cosby, Rodney Dangerfield, Steve Martin
The influencers of the comedians who are cast members of the Good Hair are [Richard Pryor, Flip Wilson, Redd Foxx, George Carlin, Eddie Murphy, Woody Allen, Pigmeat Markham, Dick Gregory, Sam Kinison, Mort Sahl, Bill Cosby, Rodney Dangerfield, Steve Martin].
The influence of comedians who are members of Good Hair [Richard Pryor, Rap Wilson, Redd Fox, George Carlin, Eddie Murphy, Woody Allen, Pigmeat Markham, Dick Gregory, Sam Kinison, Mort Sal, Bill Cosby, Rodney Dangerfield, Steve Martin].