url encoding rdf:type to handle hash symbols in parameters