sparqlGraphLibrary/src/test/java/com/ge/research/semtk/load/test/DataLoaderTest_IT.java
private void queryBook(String sparqlID, SupportedOperations operator, String [] operandList) throws Exception {
		SparqlGraphJson sgjson = TestGraph.getSparqlGraphJsonFromResource(this, "/book.json");
		String constraintSparql = TestGraph.addRuntimeConstraint(sgjson, sparqlID, operator, operandList);
		System.out.println("   " + constraintSparql);
		// run the query
		Table tab = TestGraph.execTableSelect(sgjson);
		assertEquals("With runtime constraint: \n" + constraintSparql + "\nQuery did not return one book: \n" + tab.toCSVString(), 1, tab.getNumRows());
	}
/**
	 * Build runtime constraint and run query, expecting all three books to come back
	 * @param sparqlID
	 * @param operator
	 * @param operandList
	 * @throws Exception
	 */
Build runtime constraint and run query, expecting all three books to come back
@param sparqlID
@param operator
@param operandList
@throws Exception
Build runtime constraint and run query expecting all three books to come back @param sparqlID @param operator @param operandList @throws Exception
private void queryBook(String sparqlID, SupportedOperations operator, String [] operandList) throws Exception {
		SparqlGraphJson sgjson = TestGraph.getSparqlGraphJsonFromResource(this, "/book.json");
		String constraintSparql = TestGraph.addRuntimeConstraint(sgjson, sparqlID, operator, operandList);
		System.out.println("   " + constraintSparql);
		Table tab = TestGraph.execTableSelect(sgjson);
		assertEquals("With runtime constraint: \n" + constraintSparql + "\nQuery did not return one book: \n" + tab.toCSVString(), 1, tab.getNumRows());
	}
private void queryBook ( String sparqlID , SupportedOperations operator , String [ ] operandList ) throws Exception { SparqlGraphJson sgjson = TestGraph . getSparqlGraphJsonFromResource ( this , "/book.json" ) ; String constraintSparql = TestGraph . addRuntimeConstraint ( sgjson , sparqlID , operator , operandList ) ; System . out . println ( "   " + constraintSparql ) ; Table tab = TestGraph . execTableSelect ( sgjson ) ; assertEquals ( "With runtime constraint: \n" + constraintSparql + "\nQuery did not return one book: \n" + tab . toCSVString ( ) , 1 , tab . getNumRows ( ) ) ; }
Build runtime constraint and run query, expecting all three books to come back
 @param sparqlID
 @param operator
 @param operandList
 @throws Exception
Build runtime constraint and run query expecting all three books to come back @param sparqlID @param operator @param operandList @throws Exception
// run the query