Which film director was a person that M2 was edited and written by
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.director .
?x0 a ns:people.person .
?x0 ns:film.editor.film M2 .
?x0 ns:film.writer.film M2
}