Who influenced M1 and influenced a film 's costume designer , director , and writer
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced M1 .
?x1 ns:film.director.film ?x2 .
?x1 ns:film.film_costumer_designer.costume_design_for_film ?x2 .
?x1 ns:film.writer.film ?x2 .
?x2 a ns:film.film
}