question: What was written by M0 's director 's parent
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.film.written_by ?x1 .
  ?x1 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child ?x2 .
  ?x2 ns:film.director.film M0
  }