If if one dog is lying down, there are no sitting dogs near them.
return dogs ;return #1 that is lying down ;return #1 that are sitting ;return #2 that is near #3 ;return #2 besides  #4 ;return number of  #5 ;return if  #6 is equal to  one
['select', 'filter', 'filter', 'filter', 'discard', 'aggregate', 'boolean']