If at least one guinea pig enclosure has a boldly patterned floor, and one enclosure has wire mesh walls and a second story.
return guinea pig enclosures ;return floor of #1 ;return #1 where  #2 is boldly patterned ;return number of  #3 ;return if  #4 is at least one ;return walls of #1 ;return #1 where  #6 are wire mesh ;return stories of #7 ;return number of  #8 for each  #7 ;return #7 where  #9 is equal to  two ;return number of  #10 ;return if  #11 is equal to  one ;return if  both  #5 and #12 are true
['select', 'project', 'comparative', 'aggregate', 'boolean', 'project', 'comparative', 'project', 'group', 'comparative', 'aggregate', 'boolean', 'boolean']