Which director and writer of a prequel of M1 influenced M0
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.director.film ?x1 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:influence.influence_node.influenced M0 .
?x1 ns:film.film.sequel M1
}