Who wrote a film that M2 edited , wrote , produced , and directed
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:film.writer.film ?x1 .
?x1 a ns:film.film .
?x1 ns:film.film.directed_by M2 .
?x1 ns:film.film.edited_by M2 .
?x1 ns:film.film.produced_by|ns:film.film.production_companies M2 .
?x1 ns:film.film.written_by M2
}