Which film was written by a film 's producer , executive producer , editor , and cinematographer and directed by M1 's star
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 ns:film.actor.film/ns:film.performance.film M1 .
?x2 ns:film.cinematographer.film ?x3 .
?x2 ns:film.editor.film ?x3 .
?x2 ns:film.producer.films_executive_produced ?x3 .
?x2 ns:film.producer.film|ns:film.production_company.films ?x3 .
?x3 a ns:film.film
}