If each image contains one female graduate, and one image shows a graduate who is not facing forward.
return graduates ;return #1 that are female ;return images ;return number of  #2 for each  #3 ;return #3 where  #4 is equal to  one ;return number of  #3 ;return number of  #5 ;return if  #6 is equal to  #7 ;return #1 that are facing forward ;return #1 besides  #9 ;return if  #10 is in  one image  ;return if  both  #8 and #11 are true
['select', 'filter', 'select', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'filter', 'discard', 'boolean', 'boolean']