Who wrote a prequel of M1 and directed a film
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:film.director.film ?x1 .
?x0 ns:film.writer.film ?x2 .
?x1 a ns:film.film .
?x2 ns:film.film.sequel M1
}