What did M1 's actor write and a character write
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.written_by ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 a ns:fictional_universe.fictional_character .
?x2 ns:film.actor.film/ns:film.performance.character M1
}