If one dog is in a sitting pose looking upward, and the other dog is standing with its body turned leftward.
return one dog  ;return #1 that is in  sitting pose ;return if  #2 is looking upward ;return other dog  ;return #4 that is standing ;return body of #5 ;return if  #5 has #6 turned leftward ;return if  both  #3 and #7 are true
['select', 'filter', 'boolean', 'select', 'filter', 'project', 'boolean', 'boolean']