If in one image, a child interacts with a dog in a grassy area, while in a second image of an interior location a dog on a blanket is looking forward.
return one image  ;return child in   #1 ;return dog  in   #1 ;return #2 that interacts with #3 ;return grassy area in   #1 ;return #4 that is in   #5 ;return number of  #6 ;return if  #7 is at least one ;return second image  ;return interior location in   #9 ;return dog  in   #9 ;return blanket in   #9 ;return #11 that is in   #10 ;return #13 that is on #12 ;return #14 that is looking forward ;return number of  #15 ;return if  #16 is at least one ;return if  both  #8 and #17 are true
['select', 'project', 'project', 'filter', 'project', 'filter', 'aggregate', 'boolean', 'select', 'project', 'project', 'project', 'filter', 'filter', 'filter', 'aggregate', 'boolean', 'boolean']