def METHOD_NAME(
    sparql_client: PySparqlClient,
    flood_warning_iri: str,
    flood_assessment_agent_iri: str,
):
    query = f"""
            SELECT DISTINCT ?flood_assessment_derivation
            WHERE {{
                ?flood_assessment_derivation <{pda_iris.ONTODERIVATION_ISDERIVEDFROM}> <{flood_warning_iri}>.
                ?flood_assessment_derivation <{pda_iris.ONTODERIVATION_ISDERIVEDUSING}> <{flood_assessment_agent_iri}>.
            }}"""
    query = ' '.join(query.split())
    logger.info(f"Query to retrieve flood assessment derivation iri: {query}")
    response = sparql_client.performQuery(query)
    logger.info(f"Response: {response}")
    if len(response) == 0:
        return None
    else:
        return response[0].get('flood_assessment_derivation')