Give the ids of documents that have between one and two paragraphs.
return documents ;return paragraphs of  #1 ;return number of  #2 for each  #1 ;return #1 where #3 is  at least one ;return #1 where #3 is  at most two ;return #1 of  both #4 and  #5 ;return ids of  #6
['select', 'project', 'group', 'comparative', 'comparative', 'intersection', 'project']