question: What was directed by and written by a female costume designer of M0
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.film.directed_by ?x1 .
  ?x0 ns:film.film.written_by ?x1 .
  ?x1 ns:film.film_costumer_designer.costume_design_for_film M0 .
  ?x1 ns:people.person.gender ns:m.02zsn
  }