sparqlGraphLibrary/src/main/java/com/ge/research/semtk/load/LoadTracker.java
private static void uploadOwlModelIfNeeded(LoadTracker tracker) throws Exception {
		
		if (LoadTracker.firstConstruct) {
		
			try {
				AuthorizationManager.setSemtkSuper();

				InputStream owlStream = LoadTracker.class.getResourceAsStream("/semantics/OwlModels/loadLog.owl");
				OntologyInfo.uploadOwlModelIfNeeded(tracker.getModelSei(), owlStream);
				owlStream.close();
				
				LoadTracker.firstConstruct = false;
			} finally {
				AuthorizationManager.clearSemtkSuper();
			}
		}
	}
/**
	 * If needed, upload model to given tracker's model sei
	 * @param tracker
	 * @throws Exception
	 */
If needed, upload model to given tracker's model sei
@param tracker
@throws Exception
If needed upload model to given tracker ' s model sei @param tracker @throws Exception
private static void uploadOwlModelIfNeeded(LoadTracker tracker) throws Exception {
		if (LoadTracker.firstConstruct) {
			try {
				AuthorizationManager.setSemtkSuper();
				InputStream owlStream = LoadTracker.class.getResourceAsStream("/semantics/OwlModels/loadLog.owl");
				OntologyInfo.uploadOwlModelIfNeeded(tracker.getModelSei(), owlStream);
				owlStream.close();
				LoadTracker.firstConstruct = false;
			} finally {
				AuthorizationManager.clearSemtkSuper();
			}
		}
	}
private static void uploadOwlModelIfNeeded ( LoadTracker tracker ) throws Exception { if ( LoadTracker . firstConstruct ) { try { AuthorizationManager . setSemtkSuper ( ) ; InputStream owlStream = LoadTracker . class . getResourceAsStream ( "/semantics/OwlModels/loadLog.owl" ) ; OntologyInfo . uploadOwlModelIfNeeded ( tracker . getModelSei ( ) , owlStream ) ; owlStream . close ( ) ; LoadTracker . firstConstruct = false ; } finally { AuthorizationManager . clearSemtkSuper ( ) ; } } }
If needed, upload model to given tracker's model sei
 @param tracker
 @throws Exception
If needed upload model to given tracker ' s model sei @param tracker @throws Exception