Were M2 and M4 written by a screenwriter 's child , written by M3 , and edited by M1 's sibling
SELECT count(*) WHERE {
?x0 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x1 .
?x1 a ns:film.writer .
?x2 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 M1 .
FILTER ( ?x2 != M1 ) .
M2 ns:film.film.edited_by ?x2 .
M2 ns:film.film.written_by ?x0 .
M2 ns:film.film.written_by M3 .
M4 ns:film.film.edited_by ?x2 .
M4 ns:film.film.written_by ?x0 .
M4 ns:film.film.written_by M3
}