If in one of the images the zebras are all walking in the same direction.
return zebras ;return direction that #1 are walking ;return #1 where  #2 are the  same ;return images ;return number of  #2 for each  #4 ;return number of  #3 for each  #4 ;return #4 where  #5 is equal to  #6 ;return number of  #7 ;return if  #8 is equal to  one
['select', 'project', 'comparative', 'select', 'group', 'group', 'comparative', 'aggregate', 'boolean']