code: public void delExampleQueries(List<String> corpusNames)
    {
  
      if (corpusNames == null || corpusNames.isEmpty())
      {
        log.info("delete all example queries");
        jdbcTemplate.execute("TRUNCATE example_queries");
      }
      else
      {
        List<Long> ids = queryDao.mapCorpusNamesToIds(corpusNames);
        for (Long id : ids)
        {
          delExampleQueries(id);
        }
      }
    }
docs: Deletes all example queries for a given corpus list.
  
  @param corpusNames Determines the example queries to delete. If null the
  example_querie tab is truncated.