[topicmapmail] Reification of topic map constructs in XTM 1.0 vs. XTM 2.0

Alexander Mikhailian ami at spaceapplications.com
Wed Dec 12 11:45:49 EST 2007


How would the following piece of XTM 1.0 from [1]  translate into XTM
2.0? More precisely, how the association "will-wrote-hamlet" will be
reified in XTM 2.0?

<association id="will-wrote-hamlet">
    <instanceOf>
      <topicRef xlink:href="#written-by"/>
    </instanceOf>
    <member>
      <roleSpec>
        <topicRef xlink:href="#author"/>
      </roleSpec>
      <topicRef xlink:href="#shakespeare"/>
    </member>
    <member>
      <roleSpec>
        <topicRef xlink:href="#work"/>
      </roleSpec>
      <topicRef xlink:href="#hamlet"/>
    </member>
  </association>

<topic id="will-wrote-hamlet-topic">
    <subjectIdentity>
      <subjectIndicatorRef xlink:href="#will-wrote-hamlet"/>
    </subjectIdentity>
    <baseName>
      <baseNameString>Shakespeare's authorship of
        Hamlet</baseNameString>
    </baseName>
    <!-- occurrences may go here -->
  </topic>

My best guess, after reading the XTM 2.0 specification, especially the
section where it speaks about the reifier is the following:

  <topic id="will-wrote-hamlet-topic">
    <subjectIdentifier href="#will-wrote-hamlet"/>
    <name>
      <value>Shakespeare's authorship of Hamlet</value>
    </name>
   </topic>

  <association reifier="#will-wrote-hamlet-topic">
    <type>
      <topicRef href="#written-by"/>
    </type>
    <role><type>
        <topicRef href="#author"/>
      </type><topicRef href="#shakespeare"/></role>
    <role><type>
        <topicRef href="#work"/>
      </type><topicRef href="#hamlet"/></role>
  </association>


[1] http://www.topicmaps.org/xtm/index.html#ex-association
[2] http://www.isotopicmaps.org/sam/sam-xtm/#sect-proc-reifier



More information about the topicmapmail mailing list