Which character that influenced M4 's actor and married M1 influenced a screenwriter that founded M3
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:fictional_universe.fictional_character .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced ?x2 .
?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M1 .
?x1 a ns:film.writer .
?x1 ns:organization.organization_founder.organizations_founded M3 .
?x2 ns:film.actor.film/ns:film.performance.character M4 .
FILTER ( ?x0 != M1 )
}