<!DOCTYPE topicmap SYSTEM "topicmapdoc.dtd" [
  <!ENTITY r-n-j-play SYSTEM "<url>http://www.sun.com"
           NDATA
           SGML
  >
  <!ENTITY hamlet-topic-map SYSTEM "hamletmap.sgm"
           NDATA
           SGML
  >
  <!ENTITY hamlet-play SYSTEM "hamlet/hamlet.sgm"
           NDATA
           SGML
  >
  <!ENTITY rich-iii-play SYSTEM "rich-iii/rich-iii.sgm"
           NDATA
           SGML
  >
  <?stylesheet href="playsmap.dsl" type="text/dsssl">
]>
<topicmap theme="shakespear">
<desc>
<p>This is a sample topic map document. It demonstrates a few of the major
facilities of the topic map standard (ISO/IEC 13250).
</p>
</desc>
<resources>
<nmsploc id="r-n-j-play" namespc="entities">r-n-j-play</nmsploc>
<nmsploc id="hamlet-topic" namespc="elements" locsrc="hamlet-topic-map">hamlet</nmsploc>
<nmsploc id="hamlet-play" namespc="entities">hamlet-play</nmsploc>
<nmsploc id="rich-iii-play" namespc="entities">rich-iii-play</nmsploc>
<bibloc id="wss-play">
The musical play "West Side Story" by Jerome Robbins, Steven Sondheim, and
Leonard Bernstein.  This play exists and has been performed in several versions
that vary only in the details of lyrics and casting.  This bibliographic location
addresses all forms approved by the copyright holder of the play performed to
date.
</bibloc>
<bibloc id="othello-play">
The Shakespear play "Othello, Moor of Venice".  This is the story of Othello, Moor, a
General in love with Desdemona, the beautiful daughter of the Prince of Venice (I think). Othello
is a good man driven to despicable acts by the treachery of Iago, his lieutenant, who
is jealous of Othello and his relationship with Desdemona.  This bibliographic location
</bibloc>
</resources>
<themes>
<topic id="shakespear" HyTime=HyBrid>
<name>
<basename>Shakespeare</basename>
</name>
<name>
<basename>Shakespear</basename>
</name>
<desc>
<p>This topic is intended to be used as a theme. Note the two names, reflecting the
different possible spellings of Shakespear's name.
</topic>
</themes>
<types>
<topic id="shakespear-play" HyTime=HyBrid>
<name>Plays by Shakespeare</name>
<desc>This topic is intended to establish a type. It can of course be a subject in
its own right, so this distinction between themes, types and subjects is somewhat arbitrary,
reflecting more how the topic map author is using the topic, rather than the intrinsic
nature of the topic. However, because a single subject can be represented by multiple
topics (through the use of identifying topics), it's also meaningful and rational to
create multiple topics for the same subject that have different intended uses.
</topic>
<topic id="musical" HyTime=HyBrid>
<name>
<basename>Broadway Musical</basename>
</name>
<desc>Another type topic.
</topic>
</types>
<subjects>
<topic id="romeo-and-juliet" type="shakespear-play" identity="r-n-j-play"  HyTime=HyBrid>
<name>Romeo and Juliet</name>
<desc>This topic is intended as a subject within this topic map, that is, a topic that the
topic map author will eventually expound on in some detail.
<p>Note the use of both the type and identity attributes. The type attribute establishes that
this subject is a type of Shakespeare play. The identity attribute associates this topic
with an object that establishes the "true" subject the topic is about with a minimum of
ambiguitity.  In this case, the thing pointed to is an SGML version of the play.
</topic>
<topic id="richard-iii" type="shakespear-play" identity="rich-iii-play">
<name><basename>King Richard III</basename></name>
<desc>
<p>
This play is a highly fictionalized account of the last years of Richard,
Duke of Gloucester, who usurped the throne of England in the last days of the
Wars of the Roses.  His death in battle paved the way for the Stewart kings.
</p>
</desc>
</topic>
<topic id="west-side-story" type="musical" identity="wss-play" HyTime=HyBrid>
<name>
<basename>West Side Story</basename>
</name>
<desc>
This is another subject, this time the musical play West Side Story. Note that the identity
attribute points to a bibliographic location address. This address then describes the play
in sufficient detail to make it reasonably clear what the topic map author means by "West Side Story".
<occur href="wssjourney.sgm" occrole="mention">
<!-- <occur href="#id(richard-iii)" occrole="mention">-->
</topic>
<topic id="othello" type="shakespear-play" identity="othello-play">
<name><basename>Othello, Moor of Venice</basename></name>
<desc>
<p>The play about Othello.
</desc>
</topic>
</subjects>
<associations>
<association linktype="derivation-source">
<assocrole anchrole="source" members="romeo-and-juliet" href="#id(ROMEO-AND-JULIET)">
<assocrole anchrole="derived-work" members="west-side-story" href="#id(WEST-SIDE-STORY)">
<desc>
This is an example of an association established between two topics.
This association asserts that West Side Story was derived from Romeo and Juliet.
<p>
Note that the link type (linktype) is the HyTime link type needed for HyTime-specific semantics
and is distinct from topic map type (type=), which is topic-map specific. Of course, the two types
may describe the same abstract type.
</desc>
</association>
<association linktype="comparable-to">
<assocrole anchrole="thing-1" members="richard-iii" href="#id(RICHARD-III)" show="new">
<assocrole anchrole="thing-2" members="hamlet-topic" href="hamletmap.sgm#id(HAMLET)" show="new">
<desc>
<p>
Shakespear's Richard III is the third is comparable to Hamlet in many ways. It is arguably the best
of the Histories. Like Hamlet, it explores the mind, motivation, and madness of a ruler. Where Hamlet
involves a fundamentally good person driven to do bad things by circumstance, principle, and
cultural expectations, Richard is driven to do bad things by a thirst for power. Both are forced
from lives of essentially adolescent leisure to lives of adult responsibility and power. Both
plays are tradegies, Hamlet explicitly, Richard by history.  Both Richard and Hamlet lose their
femine loves by their own actions--for Hamlet, in a tragic attempt to protect her, for Richard,
in a callous attempt to gain more power. Both kill close friends and both, ultimately, die
premature and tragic deaths.  Hamlet is an exploration of goodness driven to madness. Richard III is
an exploration of sentient evil, a madness for a time harnessed but ultimately, like Hamlet, doomed.
</p>
</desc>
</association>
<association linktype="contrasts-with">
<assocrole anchrole="thing-1" members="richard-iii" href="#id(RICHARD-III)">
<assocrole anchrole="thing-2" members="othello" href="#id(OTHELLO)">
<desc>
<p>While the characters of Iago in Othello and Richard Gloucester in Richard III are both explicitly
evil characters, they are also strikingly different. Iago exists as pure evil, without conscience. His
purpose is to drive the plot of the story. He does not change or grow as a result of his experience.
By contrast, Richard, which evil, is not pure evil. He both consciously explores his evil, choosing it
by volition, and, at the end, develops a conscience and shows remorse.  These two characters serve as
some of the finest studies of human evil in English literature, but Richard is no Iago and Iago is
no Richard.
</p>
</desc>
</associations>
</topicmap>