If all bottles contain colored liquids and have labels and caps on.
return bottles ;return liquids ;return #2 that are colored ;return #1 that contain #3 ;return #4 that have labels ;return caps of #5 ;return #5 that have #6 on ;return number of  #1 ;return number of  #7 ;return if  #8 is equal to  #9
['select', 'select', 'filter', 'filter', 'filter', 'project', 'filter', 'aggregate', 'aggregate', 'boolean']