If one image contains one horned animal with its head in profile facing right, and the other image includes two hooved animals.
return one image  ;return horned animal in  #1 ;return head of #2 ;return #2 where  #3 is in  profile ;return #4 that is facing rights ;return number of  #5 ;return if  #6 is equal to  one ;return other image  ;return hooved animals in  #8 ;return number of  #9 ;return if  #10 is equal to  two ;return if  both  #7 and #11 are true
['select', 'project', 'project', 'comparative', 'filter', 'aggregate', 'boolean', 'select', 'project', 'aggregate', 'boolean', 'boolean']