return new DefaultOntologyComponent(project.getDataFactory().getOWLNamedIndividual(entity.getIRI()), notesOntology);
}
private AnnotatableThing getAnnotatableThingForObjectId(NoteId noteId) {
OWLNamedIndividual entity = project.getDataFactory().getOWLNamedIndividual(IRI.create(noteId.getLexicalForm()));
return new DefaultComment(entity, notesOntology);
}