code: private Entity createOntologyTerm(OWLClass ontologyTermClass) {
      String ontologyTermIRI = ontologyTermClass.getIRI().toString();
      String ontologyTermName = loader.getLabel(ontologyTermClass);
      OntologyTerm ontologyTerm = ontologyTermFactory.create();
      ontologyTerm.setId(idGenerator.generateId());
      ontologyTerm.setOntologyTermIri(ontologyTermIRI);
      ontologyTerm.setOntologyTermName(ontologyTermName);
      ontologyTerm.setOntologyTermSynonyms(createSynonyms(ontologyTermClass));
      ontologyTerm.setOntologyTermDynamicAnnotations(createDynamicAnnotations(ontologyTermClass));
      ontologyTerm.setOntologyTermNodePaths(nodePathsPerOntologyTerm.get(ontologyTermIRI));
      ontologyTerm.setOntology(ontologyEntity);
      ontologyTermRepository.add(ontologyTerm);
      return ontologyTerm;
    }
docs: Creates an {@link OntologyTermMetadata} {@link Entity} and adds it in the {@link
  #ontologyTermRepository}
  
  @param ontologyTermClass the OWLClass to create an entity for
  @return the created ontology term {@link Entity}