Which film director did a writer of M1 and M2 influence
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.director .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x1 ns:film.writer.film M1 .
?x1 ns:film.writer.film M2
}