encode URI for multigraph so that # character doesnt cause a problem