question: Which film directed by a screenwriter was directed and written by M1
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.directed_by ?x1 .
  ?x0 ns:film.film.directed_by M1 .
  ?x0 ns:film.film.written_by M1 .
  ?x1 a ns:film.writer
  }