+ (topic-name-type n) (topic-name-value n)))
+ (loop for o in (topic-maps.tmdm:topic-occurrences topic) collect
+ (list o (topic-maps.tmdm::%occurrence-forward o) (topic-maps.tmdm:occurrence-parent o)
+ (topic-maps.tmdm:occurrence-type o) (topic-maps.tmdm:occurrence-value o)
+ (topic-maps.tmdm:occurrence-datatype o) (topic-maps.tmdm:occurrence-item-identifiers o)))))