def abbrev_key (
    key: str,
    ) -> str:
    """
Abbreviate the IRI, if any

    key:
string content to abbreviate

    returns:
abbreviated IRI content
    """
    if key.startswith("@"):
        return key[1:]

    key = key.split(":")[-1]
    key = key.split("/")[-1]
    key = key.split("#")[-1]

    return key