The same stone <e1>mason</e1> who did the stonework of the first mill dam put up the <e2>walls</e2>.
The same stone mason
The same stone mason who did the stonework of the first mill dam put up the walls.
<triplet> mason <subject> walls <object> Product-Producer(e2,e1)