src/main/java/org/vivoweb/harvester/util/repo/JenaConnect.java
/**
	 * Build a QueryExecution from a queryString
	 * @param queryString the query to build execution for
	 * @param datasetMode execute against dataset
	 * @return the QueryExecution
	 * @throws IOException error connecting
	 */
Build a QueryExecution from a queryString
@param queryString the query to build execution for
@param datasetMode execute against dataset
@return the QueryExecution
@throws IOException error connecting
Build a QueryExecution from a queryString @param queryString the query to build execution for @param datasetMode execute against dataset @return the QueryExecution @throws IOException error connecting
private QueryExecution buildQueryExec(String queryString, boolean datasetMode) throws IOException {
		QueryExecution qe;
		if(datasetMode) {
			qe = QueryExecutionFactory.create(QueryFactory.create(queryString, Syntax.syntaxARQ), getDataset());
		} else {
			qe = QueryExecutionFactory.create(QueryFactory.create(queryString, Syntax.syntaxARQ), getJenaModel());
		}
		return qe;
	}
private QueryExecution buildQueryExec ( String queryString , boolean datasetMode ) throws IOException { QueryExecution qe ; if ( datasetMode ) { qe = QueryExecutionFactory . create ( QueryFactory . create ( queryString , Syntax . syntaxARQ ) , getDataset ( ) ) ; } else { qe = QueryExecutionFactory . create ( QueryFactory . create ( queryString , Syntax . syntaxARQ ) , getJenaModel ( ) ) ; } return qe ; }
Build a QueryExecution from a queryString
 @param queryString the query to build execution for
 @param datasetMode execute against dataset
 @return the QueryExecution
 @throws IOException error connecting
Build a QueryExecution from a queryString @param queryString the query to build execution for @param datasetMode execute against dataset @return the QueryExecution @throws IOException error connecting