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