What cinematographer , art director , and costume designer of a film was a person that M1 was edited by and written by
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:film.cinematographer.film ?x1 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.film_art_director.films_art_directed ?x1 .
?x0 ns:film.film_costumer_designer.costume_design_for_film ?x1 .
?x0 ns:film.writer.film M1 .
?x1 a ns:film.film
}