If two tall narrow cabinets have at least three upper shelves and have flat tops, but only one has two doors in its lower section.
return cabinets ;return #1 that are tall ;return #2 that are narrow ;return top of #3 ;return #3 where  #4 is flat ;return upper shelves of #5 ;return number of  #6 for each  #5 ;return #5 where  #7 is at least three ;return number of  #8 ;return if  #9 is equal to  two  ;return lower section of #8 ;return doors of #11 ;return number of  #12 for each  #8 ;return #8 where  #13 is equal to  two  ;return number of  #14 ;return if  #15 is equal to  one ;return if  both  #10 and #16 are true
['select', 'filter', 'filter', 'project', 'comparative', 'project', 'group', 'comparative', 'aggregate', 'boolean', 'project', 'project', 'group', 'comparative', 'aggregate', 'boolean', 'boolean']