What did a American German person that played M3 direct and write
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.written_by ?x1 .
?x1 a ns:people.person .
?x1 ns:film.actor.film/ns:film.performance.character M3 .
?x1 ns:people.person.nationality ns:m.0345h .
?x1 ns:people.person.nationality ns:m.09c7w0
}