[topicmapmail] Co-trainers of a team, how do I do this?

Jan Algermissen algermissen@acm.org
Fri, 04 Apr 2003 21:54:32 +0200


Dear fellow topic mappers,
 
I am curious to hear your thoughts about the following
modelling question:
 
Suppose there is a soccer team T that has two co-trainers,
A and B. On what basis do I choose between the following
topic maps to model this situation?
 
(1)
 
<topicMap>
<topic id="trainership" />
<topic id="trainer" />
<topic id="team" />
 
<topic id="T" />
<topic id="A" />
<topic id="B" />
 
 
<association>
  <instanceOf>
    <topicRef xlink:href="#trainership" />
  </instanceOf>
  <member>
    <roleSpec>
      <topicRef xlink:href="#team" />
    </roleSpec>
    <topicRef xlink:href="#T" />
  </member>
  <member>
    <roleSpec>
      <topicRef xlink:href="#trainer" />
    </roleSpec>
    <topicRef xlink:href="#A" />
  </member>
  <member>
    <roleSpec>
      <topicRef xlink:href="#trainer" />
    </roleSpec>
    <topicRef xlink:href="#B" />
  </member>
</association>
</topicMap>
 
...or...
 
(2)
 
<topicMap>
<topic id="trainership" />
<topic id="trainer" />
<topic id="team" />
 
<topic id="T" />
<topic id="A" />
<topic id="B" />
 
 
<association>
  <instanceOf>
    <topicRef xlink:href="#trainership" />
  </instanceOf>
  <member>
    <roleSpec>
      <topicRef xlink:href="#team" />
    </roleSpec>
    <topicRef xlink:href="#T" />
  </member>
  <member>
    <roleSpec>
      <topicRef xlink:href="#trainer" />
    </roleSpec>
    <topicRef xlink:href="#A" />
  </member>
</association>
<association>
  <instanceOf>
    <topicRef xlink:href="#trainership" />
  </instanceOf>
  <member>
    <roleSpec>
      <topicRef xlink:href="#team" />
    </roleSpec>
    <topicRef xlink:href="#T" />
  </member>
  <member>
    <roleSpec>
      <topicRef xlink:href="#trainer" />
    </roleSpec>
    <topicRef xlink:href="#B" />
  </member>
</association>
</topicMap>


What are the reasons for choosing (1) and what are the reasons
for choosing (2) ?


Any hints welcome, thanks.

Jan




-- 
Jan Algermissen                           http://www.topicmapping.com
Consultant & Programmer	                  http://www.gooseworks.org