If one image shows a dog sitting upright, and the other image features a dog standing on all fours.
return dog  ;return #1 sitting upright ;return #1 standing on all fours ;return if  #2 is in  one image  ;return if  #3 is in  other image  ;return if  both  #4 and #5 are true
['select', 'filter', 'filter', 'boolean', 'boolean', 'boolean']