If one image shows an empty, unhitched, leftward-facing sled in the foreground, and the other image includes sled dogs in the foreground.
return one image  ;return sled in  #1 ;return #2 that is empty ;return #3 that is unhitched ;return #4 that is leftward-facing ;return if  #5 is in  the  foreground ;return the  other image  ;return sled dogs in  #7 ;return if  #8 are in  the  foreground ;return if  both  #6 and #9 are true
['select', 'project', 'filter', 'filter', 'filter', 'boolean', 'select', 'project', 'boolean', 'boolean']