What screenwriter that M1 was edited by and directed by produced M2
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.writer .
?x0 ns:film.director.film M1 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.producer.film|ns:film.production_company.films M2
}