sparqlGraphLibrary/src/test/java/com/ge/research/semtk/fdc/test/FDCDispatcherTest_IT.java
private Table runFdc(String sgjsonPath) throws Exception {
		// simple query of the demo aircraft
		SparqlGraphJson sgjson = TestGraph.getSparqlGraphJsonFromFile(sgjsonPath);
		
		String jobId = JobTracker.generateJobId();
		ResultsClient rClient = IntegrationTestUtility.getResultsClient();
		StatusClient sClient = IntegrationTestUtility.getStatusClient(jobId);
		FdcDispatcher fdc = new FdcDispatcher(jobId, 
												sgjson, 
												sClient.getJobTrackerSei(IntegrationTestUtility.get("sparqlendpoint.username"), IntegrationTestUtility.get("sparqlendpoint.password")), 
												IntegrationTestUtility.getResultsClientConfig(), 
												TestGraph.getSei(),   // fdc services sei
												false, 
												IntegrationTestUtility.getOntologyInfoClient(), 
												IntegrationTestUtility.getNodeGroupStoreRestClient());
		fdc.execute(null, null, AutoGeneratedQueryTypes.SELECT_DISTINCT, SparqlResultTypes.TABLE, null);
		
		if (! sClient.execIsSuccess() ) {
			fail(sClient.execGetStatusMessage());
		}
		return rClient.getTableResultsJson(jobId, 1000);
	}
/** 
	 * Execute an FDC query 
	 * @param sgjsonPath
	 * @return Table
	 * @throws Exception
	 */
Execute an FDC query
@param sgjsonPath
@return Table
@throws Exception
Execute an FDC query @param sgjsonPath @return Table @throws Exception
private Table runFdc(String sgjsonPath) throws Exception {
		SparqlGraphJson sgjson = TestGraph.getSparqlGraphJsonFromFile(sgjsonPath);
		String jobId = JobTracker.generateJobId();
		ResultsClient rClient = IntegrationTestUtility.getResultsClient();
		StatusClient sClient = IntegrationTestUtility.getStatusClient(jobId);
		FdcDispatcher fdc = new FdcDispatcher(jobId, 
												sgjson, 
												sClient.getJobTrackerSei(IntegrationTestUtility.get("sparqlendpoint.username"), IntegrationTestUtility.get("sparqlendpoint.password")), 
												IntegrationTestUtility.getResultsClientConfig(), 
												TestGraph.getSei(),   
												false, 
												IntegrationTestUtility.getOntologyInfoClient(), 
												IntegrationTestUtility.getNodeGroupStoreRestClient());
		fdc.execute(null, null, AutoGeneratedQueryTypes.SELECT_DISTINCT, SparqlResultTypes.TABLE, null);
		if (! sClient.execIsSuccess() ) {
			fail(sClient.execGetStatusMessage());
		}
		return rClient.getTableResultsJson(jobId, 1000);
	}
private Table runFdc ( String sgjsonPath ) throws Exception { SparqlGraphJson sgjson = TestGraph . getSparqlGraphJsonFromFile ( sgjsonPath ) ; String jobId = JobTracker . generateJobId ( ) ; ResultsClient rClient = IntegrationTestUtility . getResultsClient ( ) ; StatusClient sClient = IntegrationTestUtility . getStatusClient ( jobId ) ; FdcDispatcher fdc = new FdcDispatcher ( jobId , sgjson , sClient . getJobTrackerSei ( IntegrationTestUtility . get ( "sparqlendpoint.username" ) , IntegrationTestUtility . get ( "sparqlendpoint.password" ) ) , IntegrationTestUtility . getResultsClientConfig ( ) , TestGraph . getSei ( ) , false , IntegrationTestUtility . getOntologyInfoClient ( ) , IntegrationTestUtility . getNodeGroupStoreRestClient ( ) ) ; fdc . execute ( null , null , AutoGeneratedQueryTypes . SELECT_DISTINCT , SparqlResultTypes . TABLE , null ) ; if ( ! sClient . execIsSuccess ( ) ) { fail ( sClient . execGetStatusMessage ( ) ) ; } return rClient . getTableResultsJson ( jobId , 1000 ) ; }
Execute an FDC query
 @param sgjsonPath
 @return Table
 @throws Exception
Execute an FDC query @param sgjsonPath @return Table @throws Exception
// simple query of the demo aircraft // fdc services sei