If the left image shows two forward-turned dobermans with pointy ears and collars posed side-by-side, and the right image shows two dobermans interacting with their noses close together.
return the  left image  ;return dobermans in  #1 ;return #2 that are forward-turned ;return ears of #3 ;return #3 where  #4 are pointy ;return collar ;return #5 with #6 ;return #7 that are posed side-by-side ;return number of  #8 ;return if  #9 is equal to  two  ;return the  right image  ;return dobermans in  #11 ;return #12 that are interacting ;return noses of #13 ;return #13 where  #14 are close together ;return number of  #15 ;return if  #16 is equal to  two  ;return if  both  #10 and #17 are true
['select', 'project', 'filter', 'project', 'comparative', 'select', 'filter', 'filter', 'aggregate', 'boolean', 'select', 'project', 'filter', 'project', 'comparative', 'aggregate', 'boolean', 'boolean']