If each image shows two pigs swimming in a body of water, and in at least one image, the pigs' snouts face opposite directions.
return pigs ;return body of water ;return #1 that are swimming in  #2 ;return images ;return number of  #3 for each  #4 ;return #4 where  #5 is equal to  two ;return snout of #1 ;return direction that #7 face ;return #1 where  #8 are opposite ;return number of  #9 for each  #4 ;return number of  #4 ;return number of  #6 ;return if  #11 is equal to  #12 ;return #4 where  #10 is equal to  two ;return number of  #14 ;return if  #15 is at least one ;return if  both  #13 and #16 are true
['select', 'select', 'filter', 'select', 'group', 'comparative', 'project', 'project', 'comparative', 'group', 'aggregate', 'aggregate', 'boolean', 'comparative', 'aggregate', 'boolean', 'boolean']