What was edited by a costume designer of M1 and written by M0 's actor
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 ns:film.film_costumer_designer.costume_design_for_film M1 .
?x2 ns:film.actor.film/ns:film.performance.character M0
}