<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF
  xml:lang="en"
  xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
  xmlns:rdfs='http://www.w3.org/2000/01/rdf-schema#'
  xml:base="http://schema.spam.com/"
>

  <!--                     Class Person                     -->

  <rdfs:Class rdf:ID="Person">
    <rdfs:comment>The class of persons</rdfs:comment>
    <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
  </rdfs:Class>

  <!--                     Class User                     -->

  <rdfs:Class rdf:ID="User">
    <rdfs:label>The class of users.</rdfs:label>
    <rdfs:subClassOf rdf:resource="#Person"/>
  </rdfs:Class>

  <rdf:Property rdf:ID="nickname">
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
    <rdfs:domain rdf:resource="#User"/>
  </rdf:Property>

  <rdf:Property rdf:ID="email">
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
    <rdfs:domain rdf:resource="#User"/>
  </rdf:Property>

  <!--                     Class Organization                     -->

  <rdfs:Class rdf:ID="Organization">
    <rdfs:comment>Educational institutions, insurance providers, practices, etc.</rdfs:comment>
    <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
  </rdfs:Class>

  <rdf:Property rdf:ID="name">
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
    <rdfs:domain rdf:resource="#Person"/>
    <rdfs:domain rdf:resource="#Organization"/>
  </rdf:Property>

  <rdf:Property rdf:ID="employs">
    <rdfs:range rdf:resource="#Person"/>
    <rdfs:domain rdf:resource="#Organization"/>
  </rdf:Property>

  <!--                     Class Moderator                     -->

  <rdfs:Class rdf:ID="Moderator">
    <rdfs:label>The class of moderators.</rdfs:label>
    <rdfs:subClassOf rdf:resource="#User"/>
  </rdfs:Class>

  <rdf:Property rdf:ID="represents">
    <rdfs:range rdf:resource="#Organization"/>
    <rdfs:domain rdf:resource="#Moderator"/>
  </rdf:Property>

</rdf:RDF>
