* @throws ResourceNotFoundException
*/
private OntModel createJenaOWLModel(ResourceLoader owlSource) throws ResourceNotFoundException {
KnowledgeResourceTO[] owlsources = null;
//Do not use reasoner to load ontologies
OntDocumentManager dm = OntDocumentManager.getInstance();
dm.setProcessImports(false);
OntModelSpec spec = new OntModelSpec( OntModelSpec.OWL_MEM);
spec.setDocumentManager(dm);
OntModel ontModel = ModelFactory.createOntologyModel(spec, null );
owlsources = owlSource.getKnowledgeResources();
logger.debug("Loading " + owlsources.length +" resources into the model");