public void applyPrefixes(LinkedList<Prefix> pre){
		//Apply prefix in graph name
		if (name.startsWith("<")){
			//Apply prefix
			for (Prefix p:pre){
				if (name.startsWith("<"+p.getIriContent())){
					name=p.getPrefix()+name.substring(p.getIriContent().length()+1,name.length()-1);
					break;
				}
			}
		}
		//Apply prefixes in triples
		for (Triple t:triples){
			t.applyPrefixes(pre);
		}
		//Apply prefixes in MSGs
		if (msgs!=null){
			for (MSG msg:msgs){
				for (Triple t:msg.getTriples()){
					t.applyPrefixes(pre);
				}
			}
		}
		//Apply prefixes in sub graphs
		for (NamedGraph subG:children){
			subG.applyPrefixes(pre);
		}
	}