OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

topicmaps-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: [xtm-wg] The XTM data model: a sample topic map


* Geir Ove Grønmo
| I'll post a sample XTM data model topic map document really soon.

At the end of this mail you'll find a topic map that represents a
possible XTM data model. I've used Lars Marius' strawman proposal as
input.

Information that can be stored in the topic map might be:

  o information attached to the information set itself.

  o information items which are the types of things that exist in a
  topic map.

  o occurrences attached to the information items; these can e.g. be:

    - introductions / descriptions
    - constraints described using various formalisms
    - terminology definitions in XTM 1.0
    - concept definitions in XTM 1.0
    - syntax mappings
    - UML diagrams.
    - pointers to the conceptual model
    - etc.

  o properties which are named relationships between information items
  or collections of information items.

  o associations between information items and their properties.

  o associations between properties and their value types (typically
  other information items).

  o occurrences attached to the properties; these can e.g. be:

    - all the ones mentioned for information item and probably some
    that might be property specific.

  o topics may have multiple names that can be used for various purposes.

    - multiple languages. Think about the possibility of having the
    data model translated into multiple languages and still being able
    to represent them all in the same topic map!

There are probably a lot of additional information that can be
attached and lots of other useful associations that can be made in
such a topic map. The ones mentioned above are just a few of them.

What do you think? Is this a good way to representing the XTM
data/processing model?

Geir O.

- - -

<?xml version="1.0"?>
<!DOCTYPE topicMap PUBLIC "-//TopicMaps.Org//DTD XML Topic Map (XTM) 1.0//EN" "xtm1.dtd">
<topicMap xmlns="http://www.topicmaps.org/xtm/1.0/"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xml:base="http://www.topicmaps.org/xtm/1.0/datamodel/">


  <!-- ================================================================ 
       Model topics
                                                                    -->

  <topic id="infoset">
    <baseName>
      <baseNameString>Information set</baseNameString>
    </baseName>
  </topic>
  
  <topic id="xtm-infoset">
    <instanceOf>
      <topicRef xlink:href="#infoset"/>
    </instanceOf>
    <baseName>
      <baseNameString>The XTM Information Set</baseNameString>
    </baseName>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#introduction"/>
      </instanceOf>
      <resourceRef xlink:href="introduction.html"/>
    </occurrence>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#describes"/>
      </instanceOf>
      <resourceRef xlink:href="http://www.topicmaps.org/xtm/1.0/"/>
    </occurrence>
  </topic>

  <!-- ================================================================ 
       Information items and properties
                                                                    -->
  
  <topic id="infoitem">
      <baseName>
  	<baseNameString>Information item</baseNameString>
      </baseName>
  </topic>
  
  <topic id="property">
      <baseName>
  	<baseNameString>Property</baseNameString>
      </baseName>
  </topic>

  <topic id="property-assignment">
    <baseName>
      <baseNameString>Information item property assignment</baseNameString>
      <variant>
	<parameters>
	  <topicRef xlink:href="#infoitem"/>
	</parameters>
	<variantName>
	  <resourceData>has property</resourceData>
	</variantName>
      </variant>
      <variant>
	<parameters>
	  <topicRef xlink:href="#property"/>
	</parameters>
	<variantName>
	  <resourceData>property of</resourceData>
	</variantName>
      </variant>
    </baseName>
  </topic>

  <topic id="value-type">
      <baseName>
  	<baseNameString>Property value type</baseNameString>
      </baseName>
  </topic>

  <topic id="property-value-type">
    <baseName>
      <baseNameString>Information item property value type</baseNameString>
      <variant>
	<parameters>
	  <topicRef xlink:href="#property"/>
	</parameters>
	<variantName>
	  <resourceData>has value type</resourceData>
	</variantName>
      </variant>
      <variant>
	<parameters>
	  <topicRef xlink:href="#property"/>
	</parameters>
	<variantName>
	  <resourceData>value type of property</resourceData>
	</variantName>
      </variant>
    </baseName>
  </topic>

  <!-- ================================================================ 
       Information set members
                                                                    -->

  <topic id="defined-in">
    <baseName>
      <baseNameString>Information Set definition</baseNameString>
      <variant>
	<parameters>
	  <topicRef xlink:href="#infoset"/>
	</parameters>
	<variantName>
	  <resourceData>contains item</resourceData>
	</variantName>
      </variant>
      <variant>
	<parameters>
	  <topicRef xlink:href="#infoitem"/>
	</parameters>
	<variantName>
	  <resourceData>defined in information set</resourceData>
	</variantName>
      </variant>
    </baseName>
  </topic>
  
  <!-- ================================================================ 
       Variant themes (types)
                                                                    -->

  <topic id="itemname">
    <baseName>
      <baseNameString>Item name</baseNameString>
    </baseName>
  </topic>

  <topic id="propname">
    <baseName>
      <baseNameString>Property name</baseNameString>
    </baseName>
  </topic>

  <!-- ================================================================ 
       Occurrence types
                                                                    -->
  
  <topic id="introduction">
    <baseName>
      <baseNameString>Introduction</baseNameString>
    </baseName>
  </topic>

  <topic id="description">
    <baseName>
      <baseNameString>Description</baseNameString>
    </baseName>
  </topic>

  <topic id="describes">
    <baseName>
      <baseNameString>Describes</baseNameString>
    </baseName>
  </topic>
  
  <topic id="xtm-definition">
    <baseName>
      <baseNameString>XTM 1.0 terminology definition</baseNameString>
    </baseName>
  </topic>

  <topic id="xtm-description">
    <baseName>
      <baseNameString>XTM 1.0 concept description</baseNameString>
    </baseName>
  </topic>

  <!-- ================================================================ 
       Info item: The Topic Map information item and its properties.
                                                                    -->

  <association>
    <instanceOf>
      <topicRef xlink:href="#defined-in"/>
    </instanceOf>
    <member>
      <roleSpec>
	<topicRef xlink:href="#infoset"/>
      </roleSpec>
      <topicRef xlink:href="#xtm-infoset"/>
    </member>
    <member>
      <roleSpec>
	<topicRef xlink:href="#infoitem"/>
      </roleSpec>
      <topicRef xlink:href="#topic_map"/>
    </member>
  </association>
  
  <topic id="topic_map">
    <instanceOf>
      <topicRef xlink:href="#infoitem"/>
    </instanceOf>
    <baseName>
      <baseNameString>The topic map information item</baseNameString>
      <variant>
	<parameters>
	  <topicRef xlink:href="#itemname"/>
	</parameters>
	<variantName>
	  <resourceData>topic_map</resourceData>
	</variantName>
      </variant>
    </baseName>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#description"/>
      </instanceOf>
      <resourceData>A topic map information set has exactly one topic
      map information item, which is the hub item of the information
      set, from which all other parts can be reached. This item
      represents the entire topic map.</resourceData>
    </occurrence>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#xtm-definition"/>
      </instanceOf>
      <resourceRef xlink:href="http://www.topicmaps.org/xtm/1.0/#def-topic-map"/>
    </occurrence>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#xtm-description"/>
      </instanceOf>
      <resourceRef xlink:href="http://www.topicmaps.org/xtm/1.0/#desc-topic-map"/>
    </occurrence>
  </topic>
  
  <association>
    <instanceOf>
      <topicRef xlink:href="#property-assignment"/>
    </instanceOf>
    <member>
      <roleSpec>
	<topicRef xlink:href="#infoitem"/>
      </roleSpec>
      <topicRef xlink:href="#topic_map"/>
    </member>
    <member>
      <roleSpec>
	<topicRef xlink:href="#property"/>
      </roleSpec>
      <topicRef xlink:href="#topic_map.base_uri"/>
    </member>
  </association>
    
  <topic id="topic_map.base_uri">
    <instanceOf>
      <topicRef xlink:href="#property"/>
    </instanceOf>
    <baseName>
      <baseNameString>base universal resource identifier</baseNameString>
      <variant>
	<parameters>
	  <topicRef xlink:href="#propname"/>
	</parameters>
	<variantName>
	  <resourceData>base_uri</resourceData>
	</variantName>
      </variant>
    </baseName>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#description"/>
      </instanceOf>
      <resourceData>This is the base URI of the &lt;topicMap> element of
      the topic map document that gave rise to the topic map
      information set, as determined by the rules of the XML
      Information Set. (This implies that it may be
      null.)</resourceData>
    </occurrence>
  </topic>

  <association>
    <instanceOf>
      <topicRef xlink:href="#property-assignment"/>
    </instanceOf>
    <member>
      <roleSpec>
	<topicRef xlink:href="#infoitem"/>
      </roleSpec>
      <topicRef xlink:href="#topic_map"/>
    </member>
    <member>
      <roleSpec>
	<topicRef xlink:href="#property"/>
      </roleSpec>
      <topicRef xlink:href="#topic_map.topics"/>
    </member>
  </association>
  
  <association>
    <instanceOf>
      <topicRef xlink:href="#property-value-type"/>
    </instanceOf>
    <member>
      <roleSpec>
	<topicRef xlink:href="#property"/>
      </roleSpec>
      <topicRef xlink:href="#topic_map.topics"/>
    </member>
    <member>
      <roleSpec>
	<topicRef xlink:href="#value-type"/>
      </roleSpec>
      <topicRef xlink:href="#topic"/>
    </member>
  </association>

  <topic id="topic_map.topics">
    <instanceOf>
      <topicRef xlink:href="#property"/>
    </instanceOf>
    <baseName>
      <baseNameString>topics in a topic map</baseNameString>
      <variant>
	<parameters>
	  <topicRef xlink:href="#propname"/>
	</parameters>
	<variantName>
	  <resourceData>topics</resourceData>
	</variantName>
      </variant>
    </baseName>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#description"/>
      </instanceOf>
      <resourceData>This is a set of topic information
      items.</resourceData>
    </occurrence>
  </topic>

  <association>
    <instanceOf>
      <topicRef xlink:href="#property-assignment"/>
    </instanceOf>
    <member>
      <roleSpec>
	<topicRef xlink:href="#infoitem"/>
      </roleSpec>
      <topicRef xlink:href="#topic_map"/>
    </member>
    <member>
      <roleSpec>
	<topicRef xlink:href="#property"/>
      </roleSpec>
      <topicRef xlink:href="#topic_map.associations"/>
    </member>
  </association>

  <topic id="topic_map.associations">
    <instanceOf>
      <topicRef xlink:href="#property"/>
    </instanceOf>
    <baseName>
      <baseNameString>associations in a topic map</baseNameString>
      <variant>
	<parameters>
	  <topicRef xlink:href="#propname"/>
	</parameters>
	<variantName>
	  <resourceData>associations</resourceData>
	</variantName>
      </variant>
    </baseName>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#description"/>
      </instanceOf>
      <resourceData>This is a set of association information
      items.</resourceData>
    </occurrence>
  </topic>


  <!-- ================================================================ 
       Info item: The topic information item and its properties.
                                                                    -->

  <association>
    <instanceOf>
      <topicRef xlink:href="#defined-in"/>
    </instanceOf>
    <member>
      <roleSpec>
	<topicRef xlink:href="#infoset"/>
      </roleSpec>
      <topicRef xlink:href="#xtm-infoset"/>
    </member>
    <member>
      <roleSpec>
	<topicRef xlink:href="#infoitem"/>
      </roleSpec>
      <topicRef xlink:href="#topic"/>
    </member>
  </association>

  
  <topic id="topic">
    <instanceOf>
      <topicRef xlink:href="#infoitem"/>
    </instanceOf>
    <baseName>
      <baseNameString>The topic information item</baseNameString>
      <variant>
	<parameters>
	  <topicRef xlink:href="#itemname"/>
	</parameters>
	<variantName>
	  <resourceData>topic</resourceData>
	</variantName>
      </variant>
    </baseName>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#description"/>
      </instanceOf>
      <resourceData>A topic information item represents a single topic
      in a topic map, and this topic should be the only one
      representing its subject. Topic map processors are required to
      ensure that more than one topic with the same subject, according
      to the rules given below, are never present in the same topic
      map. </resourceData>
    </occurrence>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#xtm-definition"/>
      </instanceOf>
      <resourceRef xlink:href="http://www.topicmaps.org/xtm/1.0/#def-topic"/>
    </occurrence>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#xtm-description"/>
      </instanceOf>
      <resourceRef xlink:href="http://www.topicmaps.org/xtm/1.0/#desc-topic"/>
    </occurrence>
  </topic>

  <association>
    <instanceOf>
      <topicRef xlink:href="#property-assignment"/>
    </instanceOf>
    <member>
      <roleSpec>
	<topicRef xlink:href="#infoitem"/>
      </roleSpec>
      <topicRef xlink:href="#topic"/>
    </member>
    <member>
      <roleSpec>
	<topicRef xlink:href="#property"/>
      </roleSpec>
      <topicRef xlink:href="#topic.source_uris"/>
    </member>
  </association>

  <topic id="topic.source_uris">
    <instanceOf>
      <topicRef xlink:href="#property"/>
    </instanceOf>
    <baseName>
      <baseNameString>the source uris of a topic</baseNameString>
      <variant>
	<parameters>
	  <topicRef xlink:href="#propname"/>
	</parameters>
	<variantName>
	  <resourceData>source uris</resourceData>
	</variantName>
      </variant>
    </baseName>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#description"/>
      </instanceOf>
      <resourceData>This is a set of URIs, being the URIs of the
      &lt;topic> elements of the topic map document that gave rise to the
      topic information item. This set of URIs may be empty; it may
      also contain URIs assigned to the topic information item by
      means not described by this specification.</resourceData>
    </occurrence>
  </topic>

  <association>
    <instanceOf>
      <topicRef xlink:href="#property-assignment"/>
    </instanceOf>
    <member>
      <roleSpec>
	<topicRef xlink:href="#infoitem"/>
      </roleSpec>
      <topicRef xlink:href="#topic"/>
    </member>
    <member>
      <roleSpec>
	<topicRef xlink:href="#property"/>
      </roleSpec>
      <topicRef xlink:href="#topic.base_names"/>
    </member>
  </association>

  <topic id="topic.base_names">
    <instanceOf>
      <topicRef xlink:href="#property"/>
    </instanceOf>
    <baseName>
      <baseNameString>the base names of a topic</baseNameString>
      <variant>
	<parameters>
	  <topicRef xlink:href="#propname"/>
	</parameters>
	<variantName>
	  <resourceData>base names</resourceData>
	</variantName>
      </variant>
    </baseName>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#description"/>
      </instanceOf>
      <resourceData>This is a set of base name information items of a given topic.</resourceData>
    </occurrence>
  </topic>

  <association>
    <instanceOf>
      <topicRef xlink:href="#property-assignment"/>
    </instanceOf>
    <member>
      <roleSpec>
	<topicRef xlink:href="#infoitem"/>
      </roleSpec>
      <topicRef xlink:href="#topic"/>
    </member>
    <member>
      <roleSpec>
	<topicRef xlink:href="#property"/>
      </roleSpec>
      <topicRef xlink:href="#topic.occurrences"/>
    </member>
  </association>

  <topic id="topic.occurrences">
    <instanceOf>
      <topicRef xlink:href="#property"/>
    </instanceOf>
    <baseName>
      <baseNameString>the occurrences of a topic</baseNameString>
      <variant>
	<parameters>
	  <topicRef xlink:href="#propname"/>
	</parameters>
	<variantName>
	  <resourceData>topic occurrences</resourceData>
	</variantName>
      </variant>
    </baseName>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#description"/>
      </instanceOf>
      <resourceData>This is a set of occurrence information items.</resourceData>
    </occurrence>
  </topic>

  <association>
    <instanceOf>
      <topicRef xlink:href="#property-assignment"/>
    </instanceOf>
    <member>
      <roleSpec>
	<topicRef xlink:href="#infoitem"/>
      </roleSpec>
      <topicRef xlink:href="#topic"/>
    </member>
    <member>
      <roleSpec>
	<topicRef xlink:href="#property"/>
      </roleSpec>
      <topicRef xlink:href="#topic.roles"/>
    </member>
  </association>

  <topic id="topic.roles">
    <instanceOf>
      <topicRef xlink:href="#property"/>
    </instanceOf>
    <baseName>
      <baseNameString>the roles in which a topic participates</baseNameString>
      <variant>
	<parameters>
	  <topicRef xlink:href="#propname"/>
	</parameters>
	<variantName>
	  <resourceData>topic association roles</resourceData>
	</variantName>
      </variant>
    </baseName>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#description"/>
      </instanceOf>
      <resourceData>This is a set of association role information
      items.</resourceData>
    </occurrence>
  </topic>

  <association>
    <instanceOf>
      <topicRef xlink:href="#property-assignment"/>
    </instanceOf>
    <member>
      <roleSpec>
	<topicRef xlink:href="#infoitem"/>
      </roleSpec>
      <topicRef xlink:href="#topic"/>
    </member>
    <member>
      <roleSpec>
	<topicRef xlink:href="#property"/>
      </roleSpec>
      <topicRef xlink:href="#topic.subject_indicators"/>
    </member>
  </association>

  <topic id="topic.subject_indicators">
    <instanceOf>
      <topicRef xlink:href="#property"/>
    </instanceOf>
    <baseName>
      <baseNameString>the subject indicators of a topic</baseNameString>
      <variant>
	<parameters>
	  <topicRef xlink:href="#propname"/>
	</parameters>
	<variantName>
	  <resourceData>subject indicators</resourceData>
	</variantName>
      </variant>
    </baseName>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#description"/>
      </instanceOf>
      <resourceData>This is a set of URIs referring to the subject
      indicators of the topic.</resourceData>
    </occurrence>
  </topic>

  <association>
    <instanceOf>
      <topicRef xlink:href="#property-assignment"/>
    </instanceOf>
    <member>
      <roleSpec>
	<topicRef xlink:href="#infoitem"/>
      </roleSpec>
      <topicRef xlink:href="#topic"/>
    </member>
    <member>
      <roleSpec>
	<topicRef xlink:href="#property"/>
      </roleSpec>
      <topicRef xlink:href="#topic.subject_address"/>
    </member>
  </association>

  <topic id="topic.subject_address">
    <instanceOf>
      <topicRef xlink:href="#property"/>
    </instanceOf>
    <baseName>
      <baseNameString>the addressable subject of a topic</baseNameString>
      <variant>
	<parameters>
	  <topicRef xlink:href="#propname"/>
	</parameters>
	<variantName>
	  <resourceData>addressable subject</resourceData>
	</variantName>
      </variant>
    </baseName>
    <occurrence>
      <instanceOf>
	<topicRef xlink:href="#description"/>
      </instanceOf>
      <resourceData>This a URI referring to the resource that is the
      subject of this topic. The property may be null.</resourceData>
    </occurrence>
  </topic>
  
</topicMap>

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
Do you have 128-bit SSL encryption server security?
Get VeriSign's FREE Guide, "Securing Your
Web Site for Business." Get it now!
http://us.click.yahoo.com/EVNB7A/c.WCAA/bT0EAA/2n6YlB/TM
---------------------------------------------------------------------_->

To Post a message, send it to:   xtm-wg@eGroups.com

To Unsubscribe, send a blank message to: xtm-wg-unsubscribe@eGroups.com 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC