What male screenwriter influenced a film director , influenced M1 and M2 , and influenced a costume designer
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.writer .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced ?x2 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:people.person.gender ns:m.05zppz .
?x1 a ns:film.director .
?x2 a ns:film.film_costumer_designer
}