Who influenced M1 and influenced a screenwriter that was influenced by M3 and M4
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced M1 .
?x1 a ns:film.writer .
?x1 ns:influence.influence_node.influenced_by M3 .
?x1 ns:influence.influence_node.influenced_by M4
}