If all pigs are in sleeping poses, and at least one pig is a baby with distinctive stripes.
return pigs ;return #1 that are  in  sleeping poses ;return #1 that are  babies ;return #3 that have  distinctive stripes ;return number of #1 ;return number of #2 ;return number of #4 ;return if  #6 is  equal to #5 ;return if  #7 is  at least one ;return if  both  #8 and #9 are  true
['select', 'filter', 'filter', 'filter', 'aggregate', 'aggregate', 'aggregate', 'boolean', 'boolean', 'boolean']