def METHOD_NAME(select_query, update_query, expected, kg_client):
    # Arrange
    kg_client.execute_update(update_query)
    # Act
    actual = kg_client.execute_query(select_query)
    # Assert
    assert actual == expected