code: public void generateQueries(Boolean overwrite)
    {
      List<AnnisCorpus> corpora = queryDao.listCorpora();
      for (AnnisCorpus annisCorpus : corpora)
      {
        generateQueries(annisCorpus.getId(), overwrite);
      }
    }
docs: Generates example queries for all imported corpora.
  
  @param overwrite Deletes already exisiting example queries.