What was directed by a costume designer , directed by M0 , and edited by M1 's writer , producer , and editor
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.directed_by M0 .
?x0 ns:film.film.edited_by ?x2 .
?x1 a ns:film.film_costumer_designer .
?x2 ns:film.editor.film M1 .
?x2 ns:film.producer.film|ns:film.production_company.films M1 .
?x2 ns:film.writer.film M1
}