• About
  • Bookmarks
Robert-Reinder Nederhoed Internet, Bitcoin en koken (weblog in ruste)

XML Topic Maps explained

January 9, 2008 22:50 / Leave a Comment / Robert-Reinder Nederhoed

The semantic web has been above my radar for some time now. Still I find it hard to grasp the available standards. My focus has been primarily on XTM (XML Topic Maps). Sure, I’ve read the TAO and played around with online examples. I even presented the concepts of the semantic web to 20 non-tech colleagues.

But… crafting a nifty simple XTM document myself? Not yet. It’s verbose. It’s hard.

Tonight, I found an apprehensive introduction: The Topic Maps Handbook (pdf). Pages 12 to 15 will get you up to speed with your first XTM. I chose ATC definitions as a domain for my topic map (see below). It’s a start.

Next step is visualization. I’m considering XSLT => dot => PNG. More on that later, if I succeed.

<?xml version="1.0" encoding="UTF-8"?>
<topicMap
xml:base="http://www.nederhoed.com/topicmaps/gstandaard.xtm"
xmlns="http://www.topicmaps.org/xtm/1.0/"
xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Domain description -->
<topic id="atc">
<baseName>
<baseNameString>Anatomical Therapeutic Chemical</baseNameString>
</baseName>
<occurrence>
<resourceRef xlink:href="http://en.wikipedia.org/wiki/Anatomical_Therapeutic_Chemical_Classification_System" />
</occurrence>
</topic>
<!-- Associations -->
<topic id="atc">
<baseName>
<baseNameString>Anatomical Therapeutic Chemical</baseNameString>
</baseName>
<occurrence>
<resourceRef xlink:href="http://en.wikipedia.org/wiki/Anatomical_Therapeutic_Chemical_Classification_System" />
</occurrence>
</topic>
<!-- Domain contents -->
<topic id="J01">
<instanceOf>
<topicRef xlink:href="#atc"/>
</instanceOf>
<baseName>
<baseNameString>Antibacterials for systemic use</baseNameString>
</baseName>
<baseName>
<scope>
<topicRef xlink:href="#atc" />
</scope>
<baseNameString>J01</baseNameString>
</baseName>
</topic>
<topic id="J01A">
<instanceOf>
<topicRef xlink:href="#atc"/>
</instanceOf>
<baseName>
<baseNameString>Tetracyclines</baseNameString>
</baseName>
<baseName>
<scope>
<topicRef xlink:href="#atc" />
</scope>
<baseNameString>J01A</baseNameString>
</baseName>
</topic>
<topic id="J01AA">
<instanceOf>
<topicRef xlink:href="#atc"/>
</instanceOf>
<baseName>
<baseNameString>Tetracyclines</baseNameString>
</baseName>
<baseName>
<scope>
<topicRef xlink:href="#atc" />
</scope>
<baseNameString>J01AA</baseNameString>
</baseName>
</topic>
<topic id="J01AA01">
<instanceOf>
<topicRef xlink:href="#atc"/>
</instanceOf>
<baseName>
<baseNameString>Demeclocycline</baseNameString>
</baseName>
<baseName>
<scope>
<topicRef xlink:href="#atc" />
</scope>
<baseNameString>J01AA01</baseNameString>
</baseName>
<occurrence>
<resourceRef xlink:href="http://en.wikipedia.org/wiki/Demeclocycline" />
</occurrence>
</topic>
<topic id="J01AA02">
<instanceOf>
<topicRef xlink:href="#atc"/>
</instanceOf>
<baseName>
<baseNameString>Doxycycline</baseNameString>
</baseName>
<baseName>
<scope>
<topicRef xlink:href="#atc" />
</scope>
<baseNameString>J01AA02</baseNameString>
</baseName>
</topic>
<!-- Medications -->
</topicMap>

Posted in: Development, XML / Tagged: topic map, XML

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Post Navigation

← Previous Post
Next Post →

Recent Posts

  • LeWeb 2013: about Bitcoin
  • Rule of acquisition #303
  • Recreational betting with Bitcoins
  • Search activity on Google related to "bitcoin" and its value
  • Bitcoin Statistics to study

Recent Comments

  • ifoods on Ordering food online: a short adventure
  • Evening photoshoot with Margie (and more) « Nederhoed on New camera Canon EOS 1000D
  • R.R. Nederhoed on OmniGraffle equivalent anyone?
  • watziterinhetmais on Where is my mind?
  • warddr on About

Archives

  • June 2013
  • March 2013
  • August 2012
  • March 2012
  • May 2011
  • May 2010
  • March 2010
  • January 2010
  • December 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • January 2009
  • November 2008
  • October 2008
  • July 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • January 2006
  • December 2005
  • November 2005
  • October 2005
  • September 2005
  • August 2005

Categories

  • Bitcoin
  • Books
  • Development
  • Finance
  • Idealism
  • JavaScript
  • Language
  • Linux
  • Mining
  • Music
  • Object Oriented Design
  • Personal
  • Photography
  • Python
  • Quotes
  • Ruby
  • Spending
  • The Hague
  • Uncategorized
  • Web
  • XML
  • Zope

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
© Copyright 2018 - Robert-Reinder Nederhoed
Infinity Theme by DesignCoral / WordPress