Which film was edited by and was written by M1 's producer , writer , and editor
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:film.editor.film M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M1 .
?x1 ns:film.writer.film M1
}