If one of the wild pigs is standing in profile, and the other pig is standing with its snout aimed forward.
return pigs ;return #1 that are  wild ;return profile of  #2 ;return #2 standing  in  #3 ;return snout of  #2 ;return #2 that is  standing  with  #5 aimed forward ;return number of #4 ;return number of #6 ;return If #7 is  equal to one ;return If #8 is  equal to one ;return If both  #9 and #10
['select', 'filter', 'project', 'filter', 'project', 'filter', 'aggregate', 'aggregate', 'boolean', 'boolean', 'boolean']