Did M0 distribute M1 and distribute M2
SELECT count(*) WHERE {
M0 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M1 .
M0 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film M2
}