If two women are wearing footed pajamas, one of them with the attached hood pulled over her head.
return women ;return pajamas ;return #2 that are footed ;return #1 wearing #3 ;return number of  #4 ;return if  #5 is equal to  two ;return attached hood of #3 ;return head of #4 ;return #4 where  #8 has #7 pulled over ;return number of  #9 ;return if  #10 is equal to  one ;return if  both  #6 and #11 are true
['select', 'select', 'filter', 'filter', 'aggregate', 'boolean', 'project', 'project', 'comparative', 'aggregate', 'boolean', 'boolean']