What did M0 write and a Canadian actor of M2 direct
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.written_by M0 .
?x1 ns:film.actor.film/ns:film.performance.character M2 .
?x1 ns:people.person.nationality ns:m.0d060g
}