sparqlGraphLibrary/src/main/java/com/ge/research/semtk/ontologyTools/OntologyInfo.java
@Deprecated
	public void loadSparqlConnection(SparqlQueryClientConfig clientConfig, SparqlConnection conn) throws Exception {
    	
		ArrayList<SparqlEndpointInterface> modelInterfaces = conn.getModelInterfaces();
		ArrayList<SparqlQueryClientConfig> configs = clientConfig.getArrayForEndpoints(modelInterfaces);
		
		for (int i = 0; i < configs.size(); i++) {
			
			// check if this is an authorized connection or not. this can be done by looking at the config files.
			SparqlQueryClientConfig curr = configs.get(i);
			
			if(curr instanceof SparqlQueryAuthClientConfig){ 
				this.load(new SparqlQueryClient( (SparqlQueryAuthClientConfig)curr ), conn.getDomain()); 
			}
			else{ 
				this.load(new SparqlQueryClient(curr), conn.getDomain(), conn.isOwlImportsEnabled()); 
			}
    	}
    }
/**
	 * Load from model sparql endpoint interfaces using a SparqlQueryClient
	 * Deprecated because of performance.  Not clear what the QueryClient adds except overhead.
	 * @param clientConfig
	 * @param conn
	 * @throws Exception
	 */
Load from model sparql endpoint interfaces using a SparqlQueryClient
Deprecated because of performance.  Not clear what the QueryClient adds except overhead.
@param clientConfig
@param conn
@throws Exception
Load from model sparql endpoint interfaces using a SparqlQueryClient Deprecated because of performance . Not clear what the QueryClient adds except overhead . @param clientConfig @param conn @throws Exception
@Deprecated
	public void loadSparqlConnection(SparqlQueryClientConfig clientConfig, SparqlConnection conn) throws Exception {
		ArrayList<SparqlEndpointInterface> modelInterfaces = conn.getModelInterfaces();
		ArrayList<SparqlQueryClientConfig> configs = clientConfig.getArrayForEndpoints(modelInterfaces);
		for (int i = 0; i < configs.size(); i++) {
			SparqlQueryClientConfig curr = configs.get(i);
			if(curr instanceof SparqlQueryAuthClientConfig){ 
				this.load(new SparqlQueryClient( (SparqlQueryAuthClientConfig)curr ), conn.getDomain()); 
			}
			else{ 
				this.load(new SparqlQueryClient(curr), conn.getDomain(), conn.isOwlImportsEnabled()); 
			}
    	}
    }
@ Deprecated public void loadSparqlConnection ( SparqlQueryClientConfig clientConfig , SparqlConnection conn ) throws Exception { ArrayList < SparqlEndpointInterface > modelInterfaces = conn . getModelInterfaces ( ) ; ArrayList < SparqlQueryClientConfig > configs = clientConfig . getArrayForEndpoints ( modelInterfaces ) ; for ( int i = 0 ; i < configs . size ( ) ; i ++ ) { SparqlQueryClientConfig curr = configs . get ( i ) ; if ( curr instanceof SparqlQueryAuthClientConfig ) { this . load ( new SparqlQueryClient ( ( SparqlQueryAuthClientConfig ) curr ) , conn . getDomain ( ) ) ; } else { this . load ( new SparqlQueryClient ( curr ) , conn . getDomain ( ) , conn . isOwlImportsEnabled ( ) ) ; } } }
Load from model sparql endpoint interfaces using a SparqlQueryClient
 Deprecated because of performance.
Load from model sparql endpoint interfaces using a SparqlQueryClient Deprecated because of performance .
// check if this is an authorized connection or not. this can be done by looking at the config files.