public static String defineGroup(HashMap<String,List<String>> pDictionary) {
		
		// groupref
		String isPartOf = "http://purl.org/dc/terms/isPartOf";
		if (pDictionary.containsKey(isPartOf)) {
			List<String> check_groupref = pDictionary.get(isPartOf);
			if (check_groupref.size() > 1) {
				for (int i=0; i < check_groupref.size() ; i++) {
					if (check_groupref.get(i).toString().contains("/group/")) {
						allVars.put("groupId", 
								check_groupref.get(i).toString().split("/")
								[check_groupref.get(i).toString().split("/").length-1].toString());
						break;
					} else {allVars.put("groupId", ".");}
				}
			} else {allVars.put("groupId", "");}
		}
		return null;
	}