Who was a Swedish actor that directed M3 and wrote a film
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.actor .
?x0 a ns:people.person .
?x0 ns:film.director.film M3 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:people.person.nationality ns:m.0d0vqn .
?x1 a ns:film.film
}