sparqlGraphLibrary/src/main/java/com/ge/research/semtk/belmont/NodeGroup.java
private String generateSparqlWithClause(String tab) {
		
		// do nothing if no conn
		if (this.conn == null) return "";
		
		// multiple ServerURLs is not implemented
		if (this.conn.getDataInterfaceCount() < 1) {
			throw new Error("Can not generate a WITH clause when there is no data connection");
		}
		if (this.conn.getDataInterfaceCount() > 1) {
			throw new Error("Can not generate a WITH clause when there are multiple data connections");
		}
		
		return tab + " WITH <" + this.conn.getDataInterface(0).getGraph() + "> ";
	}
/**
	 * FROM clause logic
	 * Generates FROM clause if this.conn has
	 *     - exactly 1 data connection
	 */
FROM clause logic
Generates FROM clause if this.conn has
- exactly 1 data connection
FROM clause logic Generates FROM clause if this . conn has - exactly 1 data connection
private String generateSparqlWithClause(String tab) {
		if (this.conn == null) return "";
		if (this.conn.getDataInterfaceCount() < 1) {
			throw new Error("Can not generate a WITH clause when there is no data connection");
		}
		if (this.conn.getDataInterfaceCount() > 1) {
			throw new Error("Can not generate a WITH clause when there are multiple data connections");
		}
		return tab + " WITH <" + this.conn.getDataInterface(0).getGraph() + "> ";
	}
private String generateSparqlWithClause ( String tab ) { if ( this . conn == null ) return "" ; if ( this . conn . getDataInterfaceCount ( ) < 1 ) { throw new Error ( "Can not generate a WITH clause when there is no data connection" ) ; } if ( this . conn . getDataInterfaceCount ( ) > 1 ) { throw new Error ( "Can not generate a WITH clause when there are multiple data connections" ) ; } return tab + " WITH <" + this . conn . getDataInterface ( 0 ) . getGraph ( ) + "> " ; }
FROM clause logic
 Generates FROM clause if this.conn has
     - exactly 1 data connection
FROM clause logic Generates FROM clause if this . conn has - exactly 1 data connection
// do nothing if no conn // multiple ServerURLs is not implemented