sparqlGraphLibrary/src/main/java/com/ge/research/semtk/edc/JobTracker.java
private static void uploadOwlModelIfNeeded(JobTracker tracker) throws Exception {
		String key = tracker.sei.getServerAndPort() + tracker.sei.getGraph();
		
		if (! checkedOwl.contains(key)) {
			checkedOwl.add(key);
			SparqlEndpointInterface sei = tracker.createSuperuserEndpoint();
			InputStream owlStream = JobTracker.class.getResourceAsStream("/semantics/OwlModels/serviceJob.owl");
			OntologyInfo.uploadOwlModelIfNeeded(sei, owlStream);
			owlStream.close();
		}
		
	}
/**
	 * If needed, upload serviceJob.owl to given tracker's triplestore server/graph
	 * @param tracker
	 * @throws Exception
	 */
If needed, upload serviceJob.owl to given tracker's triplestore server/graph
@param tracker
@throws Exception
If needed upload serviceJob . owl to given tracker ' s triplestore server / graph @param tracker @throws Exception
private static void uploadOwlModelIfNeeded(JobTracker tracker) throws Exception {
		String key = tracker.sei.getServerAndPort() + tracker.sei.getGraph();
		if (! checkedOwl.contains(key)) {
			checkedOwl.add(key);
			SparqlEndpointInterface sei = tracker.createSuperuserEndpoint();
			InputStream owlStream = JobTracker.class.getResourceAsStream("/semantics/OwlModels/serviceJob.owl");
			OntologyInfo.uploadOwlModelIfNeeded(sei, owlStream);
			owlStream.close();
		}
	}
private static void uploadOwlModelIfNeeded ( JobTracker tracker ) throws Exception { String key = tracker . sei . getServerAndPort ( ) + tracker . sei . getGraph ( ) ; if ( ! checkedOwl . contains ( key ) ) { checkedOwl . add ( key ) ; SparqlEndpointInterface sei = tracker . createSuperuserEndpoint ( ) ; InputStream owlStream = JobTracker . class . getResourceAsStream ( "/semantics/OwlModels/serviceJob.owl" ) ; OntologyInfo . uploadOwlModelIfNeeded ( sei , owlStream ) ; owlStream . close ( ) ; } }
If needed, upload serviceJob.owl to given tracker's triplestore server/graph
 @param tracker
 @throws Exception
If needed upload serviceJob . owl to given tracker ' s triplestore server / graph @param tracker @throws Exception