question: Was M2 written by a actor 's sibling 's German spouse 's spouse
query: SELECT count(*) WHERE {
  ?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x1 .
  ?x1 ns:people.person.nationality ns:m.0345h .
  ?x1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x2 .
  ?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 ?x3 .
  ?x3 a ns:film.actor .
  FILTER ( ?x0 != ?x1 ) .
  FILTER ( ?x1 != ?x2 ) .
  FILTER ( ?x2 != ?x3 ) .
  M2 ns:film.film.written_by ?x0
  }