If the collie on the left image is sitting with its front legs straight up.
return collie ;return #1 that is  sitting ;return front legs of  #2 ;return #2 where #3 are  straight up ;return if  #4 is  in  the  left image
['select', 'filter', 'project', 'comparative', 'boolean']