Which screenwriter that M3 , M4 , and M5 starred and M1 and M2 were edited by did M6 star
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.writer .
?x0 ns:film.actor.film/ns:film.performance.film M3 .
?x0 ns:film.actor.film/ns:film.performance.film M4 .
?x0 ns:film.actor.film/ns:film.performance.film M5 .
?x0 ns:film.actor.film/ns:film.performance.film M6 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.editor.film M2
}