def METHOD_NAME(context: Context, row: Item):
    rel_type = TYPES.get(row["position"], "Directorship")
    is_ownership = rel_type == "Ownership"
    officer = make_officer(context, row)
    context.emit(officer)
    cid = company_id(context, row["at_legal_entity_registration_number"])
    rel = context.make(rel_type)
    rel.id = context.make_slug(rel_type, officer.id, cid)
    rel.add("role", row["position"])
    rel.add("role", row["governing_body"])
    rel.add("startDate", row["registered_on"])
    if is_ownership:
        rel.add("owner", officer)
        rel.add("asset", cid)
    else:  # Directorship
        rel.add("director", officer)
        rel.add("organization", cid)
    context.emit(rel)