def METHOD_NAME(e):
    relationships = []
    guid = e.split("#")[-1]
    data = getData(e)["@graph"]
    if type(data) == list:
        identData = {}
        for el in data:
            identData[el['@id']] = el['PROV_S:identifier']
        for el in data:
            if el['@id'][6:] == guid:
                for p in el:
                    if type(el[p]) == dict:
                        relationships.append((p,  identData[el[p]['@id']],  "Outgoing"))
            else:
                for p in el:
                    if type(el[p]) == dict:
                        relationships.append((p,  el['PROV_S:identifier'],    "Incoming"))
    return relationships