Were M3 and M5 edited by M4 , written by M0 's sibling , and written by a writer of M1 and M2
SELECT count(*) WHERE {
?x0 ns:people.person.sibling_s/ns:people.sibling_relationship.sibling|ns:fictional_universe.fictional_character.siblings/ns:fictional_universe.sibling_relationship_of_fictional_characters.siblings M0 .
?x1 ns:film.writer.film M1 .
?x1 ns:film.writer.film M2 .
FILTER ( ?x0 != M0 ) .
M3 ns:film.film.edited_by M4 .
M3 ns:film.film.written_by ?x0 .
M3 ns:film.film.written_by ?x1 .
M5 ns:film.film.edited_by M4 .
M5 ns:film.film.written_by ?x0 .
M5 ns:film.film.written_by ?x1
}