question: Which Japanese film producer that played M3 wrote M1
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.producer .
  ?x0 ns:film.actor.film/ns:film.performance.character M3 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:people.person.nationality ns:m.03_3d
  }