Should probably make some comment as to why the rawurldecode() is necessary here... "Decoding, because this gets used in JS in RDF, which does not like URL-encoding." or something to that effect... Just seems like something that might seem odd to someone seeing the code for the first time. :P