def METHOD_NAME(template, args=None):
    """URI template converter"""
    if not args:
        args = []
    paths = template % dict([p, "{%s}" % p] for p in args)
    return "%s/%s" % (prefix, paths)