If there is a kindle on a shelf with a book with mountains to the left and a book with the sea to the right
return kindle ;return shelf ;return #1 on #2 ;return book ;return #4 with mountains ;return #4 with the  sea ;return if  #5 is to  the  left of #3 ;return if  #6 is to  the  right of #3 ;return if  both  #7 and #8 are true
['select', 'select', 'filter', 'select', 'filter', 'filter', 'boolean', 'boolean', 'boolean']