connectionUtils/src/main/java/com/ge/research/semtk/sparqlX/SparqlToXUtils.java
public static void validateSparqlResults(SparqlEndpointInterface sei, String[] requiredCols) throws IOException {
		for (String col : requiredCols){
			try {
				sei.checkResultsCol(col);
			} catch (Exception e) {
				throw new IOException("Semantic query did not return column: " + col);
			}
		}
	}
// check that all required columns are found in the return values from the Sparql endpoint. 
check that all required columns are found in the return values from the Sparql endpoint.
check that all required columns are found in the return values from the Sparql endpoint .
public static void validateSparqlResults(SparqlEndpointInterface sei, String[] requiredCols) throws IOException {
		for (String col : requiredCols){
			try {
				sei.checkResultsCol(col);
			} catch (Exception e) {
				throw new IOException("Semantic query did not return column: " + col);
			}
		}
	}
public static void validateSparqlResults ( SparqlEndpointInterface sei , String [ ] requiredCols ) throws IOException { for ( String col : requiredCols ) { try { sei . checkResultsCol ( col ) ; } catch ( Exception e ) { throw new IOException ( "Semantic query did not return column: " + col ) ; } } }
check that all required columns are found in the return values from the Sparql endpoint.
check that all required columns are found in the return values from the Sparql endpoint .