src/main/java/org/vivoweb/harvester/ingest/AcademicFetchFromED.java
/**
		 * Template to fit in different JenaConnect queries.
		 * @param sparqlQuery contains the query
		 * @return ResultSet containing all the results
		 * @throws IOException default exception thrown
		 */
Template to fit in different JenaConnect queries.
@param sparqlQuery contains the query
@return ResultSet containing all the results
@throws IOException default exception thrown
Template to fit in different JenaConnect queries . @param sparqlQuery contains the query @return ResultSet containing all the results @throws IOException default exception thrown
private ResultSet runTDBSparqlTemplate(String sparqlQuery, TDBJenaConnect vivoJena) throws IOException {	
			Dataset ds = vivoJena.getDataset();
			ds.begin(ReadWrite.READ);
			QueryExecution qExec = QueryExecutionFactory.create(sparqlQuery.toString(), ds);
			ResultSet rs = qExec.execSelect();
			ds.commit();
			return rs;
		}
private ResultSet runTDBSparqlTemplate ( String sparqlQuery , TDBJenaConnect vivoJena ) throws IOException { Dataset ds = vivoJena . getDataset ( ) ; ds . begin ( ReadWrite . READ ) ; QueryExecution qExec = QueryExecutionFactory . create ( sparqlQuery . toString ( ) , ds ) ; ResultSet rs = qExec . execSelect ( ) ; ds . commit ( ) ; return rs ; }
Template to fit in different JenaConnect queries.
Template to fit in different JenaConnect queries .