def clean_uri(uri):
    """
    This method removes the url part of the URI in order to obtain just the property or class

    :param uri: An uri to be cleaned

    :return: The name of the property or the class
    """

    if uri.find('#') != -1:
        special_char = '#'
    else:
        special_char = '/'
    index = uri.rfind(special_char)
    return uri[index + 1:len(uri)]