def unsplit(t):
    """Make a RI from a split RI(5-tuple)"""
    s = ''
    if t[0] is not None:
        s += t[0]
        s += '://'
    if t[1] is not None:
        s += t[1]
    if t[2] is not None:
        s += '/'
        s += t[2]
    if t[3] is not None:
        s += '?'
        s += t[3]
    if t[4] is not None:
        s += '#'
        s += t[4]
    return s
