<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
         xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
         xmlns:daml="http://www.daml.org/2001/03/daml+oil#"
         xmlns:rdftm="http://psi.ontopia.net/rdf/#">

  <!-- CLASSES -->

  <rdfs:Class rdf:about="http://psi.ontopia.net/rdf/#TopicMapItem"
              rdfs:label="topic map item" 
              rdfs:comment="A common superclass for all the classes
              defined in this schema. This class has no direct
              counterpart in the topic map model, and is only used in
              order to better express the RDF schema.">
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdfs:Class>

  <rdfs:Class rdf:about="http://psi.ontopia.net/rdf/#Topic"
              rdfs:label="topic" 
              rdfs:comment="An RDF class corresponding to the topic
              map notion of a topic.">
    <rdfs:subClassOf rdf:resource="http://psi.ontopia.net/rdf/#TopicMapItem"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdfs:Class>

  <rdfs:Class rdf:about="http://psi.ontopia.net/rdf/#BaseName"
              rdfs:label="base name" 
              rdfs:comment="An RDF class corresponding to the topic
              map notion of a base name.">
    <rdfs:subClassOf rdf:resource="http://psi.ontopia.net/rdf/#TopicMapItem"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdfs:Class>

  <rdfs:Class rdf:about="http://psi.ontopia.net/rdf/#Variant"
              rdfs:label="variant name" 
              rdfs:comment="An RDF class corresponding to the topic
              map notion of a variant name.">
    <rdfs:subClassOf rdf:resource="http://psi.ontopia.net/rdf/#TopicMapItem"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdfs:Class>

  <rdfs:Class rdf:about="http://psi.ontopia.net/rdf/#Occurrence"
              rdfs:label="occurrence" 
              rdfs:comment="An RDF class corresponding to the topic
              map notion of an occurrence.">
    <rdfs:subClassOf rdf:resource="http://psi.ontopia.net/rdf/#TopicMapItem"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdfs:Class>

  <rdfs:Class rdf:about="http://psi.ontopia.net/rdf/#Association"
              rdfs:label="association" 
              rdfs:comment="An RDF class corresponding to the topic
              map notion of an association.">
    <rdfs:subClassOf rdf:resource="http://psi.ontopia.net/rdf/#TopicMapItem"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdfs:Class>

  <rdfs:Class rdf:about="http://psi.ontopia.net/rdf/#AssociationRole"
              rdfs:label="association role" 
              rdfs:comment="An RDF class corresponding to the topic
              map notion of an association role.">
    <rdfs:subClassOf rdf:resource="http://psi.ontopia.net/rdf/#TopicMapItem"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdfs:Class>


  <!-- PROPERTIES -->

  <rdf:Property rdf:about="http://psi.ontopia.net/rdf/#subject-identifier" 
                rdfs:label="subject identifier" 
                rdfs:comment="An RDF property corresponding to the
                topic map notion of a subject identifier.">

    <rdf:type rdf:resource="http://www.daml.org/2001/03/daml+oil#UnambiguousProperty"/>
    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#Topic"/>
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdf:Property>

  <rdf:Property rdf:about="http://psi.ontopia.net/rdf/#subject-address" 
                rdfs:label="subject address" 
                rdfs:comment="An RDF property corresponding to the
                topic map notion of a subject address.">

    <rdf:type rdf:resource="http://www.daml.org/2001/03/daml+oil#UnambiguousProperty"/>
    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#Topic"/>
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdf:Property>

  <rdf:Property rdf:about="http://psi.ontopia.net/rdf/#base-name" 
                rdfs:label="base name" 
                rdfs:comment="An RDF property associating the topic
                with its base names.">

    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#Topic"/>
    <rdfs:range rdf:resource="http://psi.ontopia.net/rdf/#BaseName"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdf:Property>

  <rdf:Property rdf:about="http://psi.ontopia.net/rdf/#occurrence" 
                rdfs:label="occurrence" 
                rdfs:comment="An RDF property associating the topic
                with its occurrences.">

    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#Topic"/>
    <rdfs:range rdf:resource="http://psi.ontopia.net/rdf/#Occurrence"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdf:Property>

  <rdf:Property rdf:about="http://psi.ontopia.net/rdf/#source-locator" 
                rdfs:label="source locator" 
                rdfs:comment="An RDF property associating topic map
                items of all types with their source locators.">

    <rdf:type rdf:resource="http://www.daml.org/2001/03/daml+oil#UnambiguousProperty"/>
    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#TopicMapItem"/>
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdf:Property>

  <rdf:Property rdf:about="http://psi.ontopia.net/rdf/#scope" 
                rdfs:label="scope" 
                rdfs:comment="An RDF property corresponding to the
                topic map notion of scope.">

    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#BaseName"/>
    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#Variant"/>
    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#Occurrence"/>
    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#Association"/>
    <rdfs:range rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdf:Property>

  <rdf:Property rdf:about="http://psi.ontopia.net/rdf/#value" 
                rdfs:label="value" 
                rdfs:comment="The string value of this base name, variant,
                or occurrence.">

    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#BaseName"/>
    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#Variant"/>
    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#Occurrence"/>
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdf:Property>

  <rdf:Property rdf:about="http://psi.ontopia.net/rdf/#variants" 
                rdfs:label="variants" 
                rdfs:comment="An RDF property associating the topic
                with its variants.">

    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#BaseName"/>
    <rdfs:range rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdf:Property>

  <rdf:Property rdf:about="http://psi.ontopia.net/rdf/#resource" 
                rdfs:label="resource" 
                rdfs:comment="An RDF property that refers to the
                resource which is this variant or occurrence.">

    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#Variant"/>
    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#Occurrence"/>
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdf:Property>

  <rdf:Property rdf:about="http://psi.ontopia.net/rdf/#occurrence-type" 
                rdfs:label="occurrence type" 
                rdfs:comment="An RDF property that refers to the topic
                that defines the type of this occurrence.">

    <rdfs:subPropertyOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#Occurrence"/>
    <rdfs:range rdf:resource="http://psi.ontopia.net/rdf/#Topic"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdf:Property>

  <rdf:Property rdf:about="http://psi.ontopia.net/rdf/#association-type" 
                rdfs:label="association type" 
                rdfs:comment="An RDF property that refers to the topic
                that defines the type of this association.">

    <rdfs:subPropertyOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#Association"/>
    <rdfs:range rdf:resource="http://psi.ontopia.net/rdf/#Topic"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdf:Property>

  <rdf:Property rdf:about="http://psi.ontopia.net/rdf/#roles" 
                rdfs:label="association roles" 
                rdfs:comment="An RDF property that connects the roles
                making up this association with the association.">

    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#Association"/>
    <rdfs:range rdf:resource="http://psi.ontopia.net/rdf/#AssociationRole"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdf:Property>

  <rdf:Property rdf:about="http://psi.ontopia.net/rdf/#role-type" 
                rdfs:label="role type" 
                rdfs:comment="An RDF property that refers to the topic
                that defines the type of this association role.">

    <rdfs:subPropertyOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#AssociationRole"/>
    <rdfs:range rdf:resource="http://psi.ontopia.net/rdf/#Topic"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdf:Property>

  <rdf:Property rdf:about="http://psi.ontopia.net/rdf/#role-player" 
                rdfs:label="role playing topic" 
                rdfs:comment="An RDF property that refers to the topic
                playing this role in the association.">

    <rdfs:domain rdf:resource="http://psi.ontopia.net/rdf/#AssociationRole"/>
    <rdfs:range rdf:resource="http://psi.ontopia.net/rdf/#Topic"/>
    <rdfs:isDefinedBy rdf:resource="http://psi.ontopia.net/rdf/"/>
  </rdf:Property>

</rdf:RDF>
