Who influenced a art director , was influenced by a male actor , and was influenced by M4 's writer
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced_by ?x2 .
?x0 ns:influence.influence_node.influenced_by ?x3 .
?x1 a ns:film.film_art_director .
?x2 a ns:film.actor .
?x2 ns:people.person.gender ns:m.05zppz .
?x3 ns:film.writer.film M4
}