code: private List<OntologyTermDynamicAnnotation> createDynamicAnnotations(OWLClass term) {
      return loader
          .getDatabaseIds(term)
          .stream()
          .map(this::createDynamicAnnotation)
          .collect(Collectors.toList());
    }
docs: Creates {@link OntologyTermDynamicAnnotationMetadata} {@link Entity}s for the databaseIds of an
  ontology term.
  
  @param term the term to create annotation entities for
  @return List of created {@link Entity}s.