def METHOD_NAME(query_endpoint: str, update_endpoint: str):
    """Retrieves the asset metadata from the specified endpoint.
    Args:
        query_endpoint: SPARQL Query endpoint.
        update_endpoint: SPARQL Update endpoint.
    Returns:
        A dataframe with headers 'iri', 'uid', 'name', 'file'.
    """
    logger.debug("Initialising KG Client...")
    client = KGClient(query_endpoint, update_endpoint)
    logger.debug("Creating query for execution...")
    query = create_metadata_query()
    logger.debug("Executing query...")
    results = client.execute_query(query)
    logger.debug("Storing results into dataframe...")
    metadata = pd.DataFrame(results, columns=["iri", "uid", "name"])
    logger.debug("Classifying results into their files...")
    metadata["file"] = classify_filename(metadata["name"])
    return metadata