If two orange dogs are reclining in similar positions near one another.
return dogs ;return #1 that are orange ;return #2 that are reclining ;return positions of #3 ;return #3 where  #4 are similar ;return #5 that are near one another ;return number of  #6 ;return if  #7 is equal to  two
['select', 'filter', 'filter', 'project', 'comparative', 'filter', 'aggregate', 'boolean']