If all dogs face the same direction, and all dogs are standing on all fours.
return dogs ;return direction that #1 face ;return #1 where  #2 is the  same ;return number of  #1 ;return number of  #3 ;return if  #4 is equal to  #5 ;return #1 that are standing on all fours ;return number of  #7 ;return if  #4 is equal to  #8 ;return if  both  #6 and #9 are true
['select', 'project', 'comparative', 'aggregate', 'aggregate', 'boolean', 'filter', 'aggregate', 'boolean', 'boolean']