question: What actor of M1 's writer was M0 's actor
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.actor.film/ns:film.performance.character ?x1 .
  ?x0 ns:film.actor.film/ns:film.performance.character M0 .
  ?x1 ns:film.writer.film M1
  }