private void buildQueryMapSet(Triple buildQuery){
		
		Node subject = buildQuery.getSubject();
		Node object = buildQuery.getObject();
		Predicate predicate = buildQuery.getPredicate();
		
		//Possible permutations of the query
		String Q1 = "?"+" "+predicate.getIdentifier()+" "+object.getIdentifier();
		String Q2 = subject.getIdentifier()+" "+"?"+" "+object.getIdentifier();
		String Q3 = subject.getIdentifier()+" "+predicate.getIdentifier()+" "+"?.";
		String Q4 = "?"+" "+predicate.getIdentifier()+" "+"?.";
		String Q5 = subject.getIdentifier()+" "+"?"+" "+"?.";
		String Q6 = "?"+" "+"?"+" "+object.getIdentifier();
		String Q7 = "?"+" "+"?"+" "+"?.";
		String Q8 = subject.getIdentifier()+" "+predicate.getIdentifier()+" "+object.getIdentifier();
		
		//Add each query to its Map
		if (queryMapSet.containsKey(Q1)) queryMapSet.get(Q1).add(buildQuery); else {queryMapSet.put(Q1, new HashSet<Triple>()); queryMapSet.get(Q1).add(buildQuery); }
		if (queryMapSet.containsKey(Q2)) queryMapSet.get(Q2).add(buildQuery); else {queryMapSet.put(Q2, new HashSet<Triple>()); queryMapSet.get(Q2).add(buildQuery); }
		if (queryMapSet.containsKey(Q3)) queryMapSet.get(Q3).add(buildQuery); else {queryMapSet.put(Q3, new HashSet<Triple>()); queryMapSet.get(Q3).add(buildQuery); }
		if (queryMapSet.containsKey(Q4)) queryMapSet.get(Q4).add(buildQuery); else {queryMapSet.put(Q4, new HashSet<Triple>()); queryMapSet.get(Q4).add(buildQuery); }
		if (queryMapSet.containsKey(Q5)) queryMapSet.get(Q5).add(buildQuery); else {queryMapSet.put(Q5, new HashSet<Triple>()); queryMapSet.get(Q5).add(buildQuery); }
		if (queryMapSet.containsKey(Q6)) queryMapSet.get(Q6).add(buildQuery); else {queryMapSet.put(Q6, new HashSet<Triple>()); queryMapSet.get(Q6).add(buildQuery); }
		if (queryMapSet.containsKey(Q7)) queryMapSet.get(Q7).add(buildQuery); else {queryMapSet.put(Q7, new HashSet<Triple>()); queryMapSet.get(Q7).add(buildQuery); }
		if (queryMapSet.containsKey(Q8)) queryMapSet.get(Q8).add(buildQuery); else {queryMapSet.put(Q8, new HashSet<Triple>()); queryMapSet.get(Q8).add(buildQuery); }
 
//		System.out.println("//-------//");
//		printHashMap(queryMapSet);
//		System.out.println("//-------//");

	}