If one of the objects is closed and the other is at least partially open.
return objects ;return #1 that is closed ;return #1 that is at least partially open ;return number of  #2 ;return number of  #3 ;return if  #4 is equal to  one ;return if  #5 is equal to  one ;return if  both  #6 and #7 are true
['select', 'filter', 'filter', 'aggregate', 'aggregate', 'boolean', 'boolean', 'boolean']