[OFBiz] Users - Topic maps

Kelvin Tan kelvin-lists at relevanz.com
Wed Dec 1 10:54:45 EST 2004


Mapping topic maps (I mean XTM or the ISO standard) to ofBiz:

1. Topic - a row in 'content', with contenttype=TOPIC, name of the topic is presumably the content_id
2. Association - a row in 'ContentAssoc', contentassoctype=?
3. Occurrence - a row in 'ContentAssoc', contentassoctype=OCCURRENCE

Questions
1. What's the recommended contentassoctype for associations between topics?
2. Topic maps supports multiple Names. What's the recommended way to represent this in ofBiz? (this seems related to the next question) 
3. For namespace and scope to be supported, does this imply that the basename of the topic shouldn't be used as the content_id, because it could result in a db pk violation? In other words, how do I implement multiple topic maps in ofBiz without a naming clash, or similarly named topics in the same map with different scope (Paris the capital of France, and a city in Texas). 
4. AFAIK, ContentAssoc supports only binary associations, though n-ary associations are supported in topic maps. Any comments on this?

I guess I exploring if the ofBiz data model supports a subset of topic maps (which is fine, 80/20), or if it supports it completely, just in ways that are not clear to me.

Many thanks,
k
http://www.supermind.org



More information about the Users mailing list