throw new ConceptNotFoundException("Concept can not be built because resource is "+ontResource);
}
logger.debug("Creating concept for resource " +ontResource.getURI());
Concept concept =ConceptBuilderUtils.createEmptyConcept();
if (!OntologyHelper.isUserConcept(ontResource)) {
throw new ConceptUnsupportedOperation(ontResource.getURI()+ " createConcepResource");
}
ConceptDescription currentConceptDescription = OntologyHelper.createConceptDescription(ontResource);
concept.setConceptDescription(currentConceptDescription);