If an image shows a wagon carrying at least one wooden barrel.
return wagon ;return barrel ;return #2 that is wooden ;return #3 that #1 is carrying ;return images ;return number of  #4 for each  #5 ;return #5 where  #6 is at least one ;return number of  #7 ;return if  #8 is at least one
['select', 'select', 'filter', 'filter', 'select', 'group', 'comparative', 'aggregate', 'boolean']