A carpenter is working on a roof at a house being built.
A workman is helping put a roof on a house.
Working on a roof implies helping put a roof
A carpenter is working on the roof of a house.
Carpenter is a type of workman, and helping is a paraphrase of working.