public void applyPrefixes(LinkedList<Prefix> pre){
		//Scan subject, predicate and object (data indices 0 to 2)
		for (int i=0; i<3; i++){
			String value=getByIndex(i);
			//Starts with '<'? (IRI)
			if (value.startsWith("<")){
				//'a' predicate
				if (i==1 && value.equals("<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>")){
					setPredicate("a");
				}else{
					//Try to find matching prefix
					for (Prefix p:pre){
						if (value.startsWith("<"+p.getIriContent())){
							//Replace IRI with prefix
							setByIndex(i,p.getPrefix()+value.substring(p.getIriContent().length()+1,value.length()-1));
							//Only one prefix can match! Break!
							break;
						}
					}
				}
			}
		}
	}