[topicmapmail] Number types per occurrence
Knud Möller
kmoeller@spinfo.uni-koeln.de
Mon, 31 Mar 2003 15:58:36 +0200
Hi!
I hope this hasn't been asked before; but I couldn't find the answer to
the following question:
Why does XTM only allow one type per occurrence or association
(considering that topics can have any number)?
If I e.g. wanted to express that a resource which is indicated in an
<occurrence>-tag is both of type "text" and "official document", how
would I do that? Obviously I can't use <instanceOf> within
<occurrence>. A solution that comes to mind is to reify the resource
(not the occurrence) with a topic and then type that topic. Would that
be correct?
<topic id="something">
...
<occurrence>
<resourceRef xlink:href = "interesting.doc"/>
</occurrence>
</topic>
<topic id="theDocument">
<instanceOf>
<topicRef xlink:href="#resTypeText"/>
</instanceOf>
<instanceOf>
<topicRef xlink:href="#resTypeOfficial"/>
</instanceOf>
<subjectIdentity>
<subjectIndicatorRef xlink:href="interesting.doc"/>
</subjectIdentity>
...
</topic>
Thanks for your time,
Knud
------------------------------------------------------------------------
-----
Knud Möller - Institut für Sprachliche Informationsverarbeitung,
Universität zu Köln
(Department of Linguistic Data Processing,
University of Cologne, Germany)