If a bed has a blue-trimmed canopy with a band of patterned fabric around the base.
return beds ;return canopy ;return #2 that is blue-trimmed ;return base of #3 ;return fabric ;return #5 that is patterned ;return #3 that is with a   band of #6 around #4 ;return #1 that has #7 ;return number of  #8 ;return if  #9 is at least one
['select', 'select', 'filter', 'project', 'select', 'filter', 'filter', 'filter', 'aggregate', 'boolean']