No, compotes are comparatively less sweet and cooked for a lesser duration as opposed to jams, which are sweeter and cooked longer. Compotes are chunky, whereas jams are not. Also, the consistency is quite different, where jams are more set and similar to jelly.