sparqlGraphLibrary/src/main/java/com/ge/research/semtk/test/TestGraph.java
public static String generateGraphName(String sub) {
		String user = System.getProperty("user.name");
		
		String machine = null;
		try {
			machine = java.net.InetAddress.getLocalHost().getHostName().replaceAll("[^a-zA-Z0-9-]", "_");
		} catch (Exception e) {
			machine = "unknown_host";
		}
		
		return String.format("http://junit/%s/%s/%s", machine, user, sub);
	}
/**
	 * Generate a dataset name (unique per user)
	 */
Generate a dataset name (unique per user)
Generate a dataset name ( unique per user )
public static String generateGraphName(String sub) {
		String user = System.getProperty("user.name");
		String machine = null;
		try {
			machine = java.net.InetAddress.getLocalHost().getHostName().replaceAll("[^a-zA-Z0-9-]", "_");
		} catch (Exception e) {
			machine = "unknown_host";
		}
		return String.format("http://junit/%s/%s/%s", machine, user, sub);
	}
public static String generateGraphName ( String sub ) { String user = System . getProperty ( "user.name" ) ; String machine = null ; try { machine = java . net . InetAddress . getLocalHost ( ) . getHostName ( ) . replaceAll ( "[^a-zA-Z0-9-]" , "_" ) ; } catch ( Exception e ) { machine = "unknown_host" ; } return String . format ( "http://junit/%s/%s/%s" , machine , user , sub ) ; }
Generate a dataset name (unique per user)
Generate a dataset name ( unique per user )