If the combined images contain no more than four parrots, and include a parrot with a green head and body.
return images ;return parrots in  #1 ;return number of  #2 ;return if  #3 is at most four ;return head of #2 ;return body of #2 ;return #2 where  #5 is green ;return #2 where  #6 is green ;return #2 in  both  #7 and #8 ;return number of  #9 ;return if  #10 is equal to  one ;return if  both  #4 and #11 are true
['select', 'project', 'aggregate', 'boolean', 'project', 'project', 'comparative', 'comparative', 'intersection', 'aggregate', 'boolean', 'boolean']