[topicmapmail] Classification of occurrences using keywords

Jan Algermissen algermissen@acm.org
Mon, 11 Nov 2002 18:29:46 +0200


The following message was sent by Johannes Koppenwallner <a9405411@unet.univie.ac.at> on Mon, 11 Nov 2002 17:08:11 +0100.

> Hello,
> I have a topic map with already defined topics and associations. Now I 
> want to populate this map automatically with occurrences, which should 
> be classified to the topics using keywords. (I know, a quite primitive 
> way to classify.) To make this work, I have defined keywords for every 
> existing topic. It would be nice to define the keywords/topic relation 
> in the topicmap, so nothing else than the topic map is needed to 
> classify documents. So my question is: What's the best way to model the 
> relation between a topic and it's keywords?

Johannes,

I would use a resource data occurrence for this purpose:

<topic id="t1">
  <basename>
    <baseNameString>Automobiles</baseNameString>
  </baseName>
  <occurrence>
    <instanceOf>
      <topicRef xlink:href="#keywords" />
    </instanceOf>
    <resourceData>
      tires; windscreen; gears; trunk; engine;
    </resourcedata>
  </occurrence>
</topic>

Hope that helps,

Jan

> Thanks in advance.
> 
> Johannes
> 
> _______________________________________________
> topicmapmail mailing list
> topicmapmail@infoloom.com
> http://www.infoloom.com/mailman/listinfo/topicmapmail
>