What director and star of M5 was a screenwriter that wrote M3 and M4 and edited M1 and M2
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.writer .
?x0 ns:film.actor.film/ns:film.performance.film M5 .
?x0 ns:film.director.film M5 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.editor.film M2 .
?x0 ns:film.writer.film M3 .
?x0 ns:film.writer.film M4
}