What was produced by a cinematographer 's spouse , distributed by M1 's cinematographer , and produced by M0
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x2 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M0 .
?x1 ns:film.cinematographer.film M1 .
?x2 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x3 .
?x3 a ns:film.cinematographer .
FILTER ( ?x2 != ?x3 )
}