+ (dolist (topic (%topic-map-topics map))
+ (dolist (occurrence (%topic-occurrences topic))
+ (setf (%occurrence-parent occurrence) topic
+ (%occurrence-type occurrence) (canonical-topic (%occurrence-type occurrence)))))
+ (dolist (association (%topic-map-associations map))
+ (setf (%association-type association) (canonical-topic (%association-type association)))
+ (dolist (role (%association-roles association))
+ (setf (%association-role-type role) (canonical-topic (%association-role-type role))
+ (%association-role-player role) (canonical-topic (%association-role-player role)))))