If one image shows a german shepherd in a harness vest sitting upright, and the othe image shows a man in padded pants holding a stick near a dog.
return one image  ;return german shepherd in  #1 ;return harness vest in  #1 ;return #2 in  #3 ;return if  #4 is sitting upright ;return the  othe image  ;return man in  #6 ;return pants of #7 ;return #7 where  #8 are padded ;return stick in  #6 ;return #9 holding #10 ;return dog in  #6 ;return if  #11 is near #12 ;return if  both  #5 and #13 are true
['select', 'project', 'project', 'filter', 'boolean', 'select', 'project', 'project', 'comparative', 'project', 'filter', 'project', 'boolean', 'boolean']