Contains_near among multiple group of words


Is it possible to create a query that searches for three groups of words, and returns mentions including at least one word from all three groups, that are also within a certain range of number of words.

E.g. (word 1, word 2, word 3) and (word 4, word 5, word 6) and (word 7, word 8, word 9), all of which are withing 20 words of eachother.

Does not seem possible with the contains_near operator alone.