question: Was M1 executive produced by a cinematographer of a film 's prequel and sequel
query: SELECT count(*) WHERE {
  ?x0 ns:film.cinematographer.film ?x1 .
  ?x1 ns:film.film.prequel ?x2 .
  ?x1 ns:film.film.sequel ?x2 .
  ?x2 a ns:film.film .
  M1 ns:film.film.executive_produced_by ?x0
  }