If each image contains only one pair of shoes, and each pair is displayed with one shoe in front of a shoe turned on its side.
return shoes ;return pairs of #1 ;return images of #2 ;return number of  #2 for each  #3 ;return if  #4 is equal to  one ;return #1 turned on its side ;return #1 in  front of #6 ;return #2 displayed with #7 ;return number of  #8 for each  #3 ;return if  #9 is equal to  one ;return if  both  #5 and #10 are true
['select', 'project', 'project', 'group', 'boolean', 'filter', 'filter', 'filter', 'group', 'boolean', 'boolean']