What did a actor of M1 and M2 direct and M0 edit
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.edited_by M0 .
?x1 ns:film.actor.film/ns:film.performance.character M1 .
?x1 ns:film.actor.film/ns:film.performance.character M2
}