How to transfer the predicates of one node to another node?

Person {
    name: String
    workFor:[Company]
}

Company {
    name: String
}

Through external Computation, we found that there are two Person nodes that are actually the same person. Now I want to transfer the predicates of one node to another node and delete the transferred node.

As in the following example:

a workFor A,B,C,D
a' workFor E,F

execute some DQL 

a workFor A,B,C,D,E,F
a' deleted

Welcome @zzl221000
There is a solution available for a very similar problem here. It has an example as well. Please review.

Thanks