def uri_reference(uri, encoding='utf-8'):
 return URIReference.from_string(uri, encoding)

def uri_reference ( uri , encoding = 'utf-8' ) : return URIReference . from_string ( uri , encoding )
parse a uri string into a urireference .