Which film director wrote , produced , and directed M0 's prequel
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.director.film ?x1 .
?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
?x0 ns:film.writer.film ?x1 .
?x1 ns:film.film.sequel M0
}