If one dog is wearing a red collar and the other dog has it's tongue hanging out.
return one dog  ;return collar ;return #2 that is red ;return if  #1 is wearing #3 ;return the  other dog  ;return tongue of #5 ;return if  #6 is hanging out ;return if  both  #4 and #7 are true
['select', 'select', 'filter', 'boolean', 'select', 'project', 'boolean', 'boolean']