If one bed has an upholstered headboard.
return bed ;return headboard of  #1 ;return #2 that is  upholstered ;return number of #3 ;return If #4 is  equal to one
['select', 'project', 'filter', 'aggregate', 'boolean']