<?xml version='1.0' encoding='UTF-8'?>

<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:owl="http://www.w3.org/2002/07/owl#"
	xmlns:vs="http://www.w3.org/2003/06/sw-vocab-status/ns#"
	xmlns:foaf="http://xmlns.com/foaf/0.1/"
	xmlns:wot="http://xmlns.com/wot/0.1/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:sioc="http://rdfs.org/sioc/ns#"
>

<!-- Classes -->

<rdfs:Class rdf:about="http://rdfs.org/sioc/ns#Forum"
	 rdfs:label="Forum">
	<rdfs:comment>A discussion area on which Posts or entries are made.  Synonyms include channel and feed.</rdfs:comment>
	<rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
</rdfs:Class>

<rdfs:Class rdf:about="http://rdfs.org/sioc/ns#Post"
	 rdfs:label="Post">
	<rdfs:comment>An article or message posted to a Forum.  Synonyms include item and entry.</rdfs:comment>
        <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
</rdfs:Class>

<rdfs:Class rdf:about="http://rdfs.org/sioc/ns#Role"
	 rdfs:label="Role">
	<rdfs:comment>A Role is a function of a User that has the scope of Forum, Site or Usergroup.</rdfs:comment>
	<rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
</rdfs:Class>

<rdfs:Class rdf:about="http://rdfs.org/sioc/ns#Site"
	 rdfs:label="Site">
	<rdfs:comment>The location of an online community or set of communities, with Users and Groups creating Posts on a set of Forums.</rdfs:comment>
	<rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
</rdfs:Class>

<rdfs:Class rdf:about="http://rdfs.org/sioc/ns#User"
	 rdfs:label="User">
	<rdfs:comment>An online account (User) in an online community site.</rdfs:comment>
        <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
</rdfs:Class>

<rdfs:Class rdf:about="http://rdfs.org/sioc/ns#Usergroup"
	 rdfs:label="Usergroup">
	<rdfs:comment>A set of Users (accounts) who have a common purpose or interest.  Can be used for access control purposes.</rdfs:comment>
        <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
</rdfs:Class>

<!-- Properties -->

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#attachment"
	 rdfs:comment="A URI of the attachment related to a Post."
	 rdfs:label="attachment">
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#avatar"
	 rdfs:comment="An image or depiction used to represent this User."
	 rdfs:label="avatar">
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#User"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#container_of"
	 rdfs:comment="Forums contain Posts, and this refers to one of those."
	 rdfs:label="container_of">
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Forum"/>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Post"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#content"
	 rdfs:comment="The content of the Post."
	 rdfs:label="content">
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#content_encoded"
	 rdfs:comment="The encoded content of the Post, contained in CDATA areas."
	 rdfs:label="content_encoded">
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#created_at"
	 rdfs:comment="When this was created, in ISO 8601 format."
	 rdfs:label="created_at">
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#User"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#creator_of"
	 rdfs:label="creator_of">
	<rdfs:comment>The Post that this User is a creator of.  Being a creator of Post is not a Role.</rdfs:comment>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#User"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#description"
	 rdfs:comment="A full description, usually a longer version of the name."
	 rdfs:label="description">
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#email"
         rdfs:label="email">
	<rdfs:comment>An electronic mail address of the User.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#User"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#email_sha1"
         rdfs:label="email_sha1">
	<rdfs:comment>An electronic mail address of the User, encoded using SHA1.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#User"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>
<!--
<rdf:Property rdf:about="http://rdfs.org/sioc/ns#event"
	 rdfs:label="event">
	<rdfs:comment>A Post may be connected to some external event, which will detail the temporal information pertaining to it.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#finishes_at"
	 rdfs:label="finishes_at">
	<rdfs:comment>The date and time that the Post finishes, expressed in ISO 8601 format.  Used to control the duration of a Post.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>
-->
<rdf:Property rdf:about="http://rdfs.org/sioc/ns#first_name"
	 rdfs:label="first_name">
	<rdfs:comment>First (real) name of this User.  Synonyms include given name or christian name.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#User"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#function_of"
	 rdfs:comment="This Role is a function of a particular User or Usergroup."
	 rdfs:label="function_of">
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Role"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#has_container"
	 rdfs:label="has_container">
	<rdfs:comment>The Forum where the Post has been created, or subsequently moved to.</rdfs:comment>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Forum"/>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#has_creator"
	 rdfs:label="has_creator">
	<rdfs:comment>This is the User who made this Post.  Being a creator of a Post is not a Role.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#User"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#has_function"
	 rdfs:label="has_function">
	<rdfs:comment>Users can have many functions in different areas, for which we use the term Role.</rdfs:comment>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Role"/>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#User"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#has_host"
	 rdfs:comment="The Site that hosts this Forum."
	 rdfs:label="has_host">
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Forum"/>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Site"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#has_member"
	 rdfs:comment="This Group can list the Users that are members."
	 rdfs:label="has_member">
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#User"/>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Usergroup"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#has_parent"
	 rdfs:comment="The Forum that this Forum is a child of."
	 rdfs:label="has_parent">
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Forum"/>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Forum"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#has_reply"
	 rdfs:label="has_reply">
	<rdfs:comment>This details replies or responses to this Post, which can be used for purposes of display ordering.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Post"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#has_revisor"
         rdfs:label="has_revisor">
	<rdfs:comment>This is the User who modified this Post.  Being a revisor of a Post is not a Role.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#User"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#has_sibling"
	 rdfs:label="has_sibling">
	<rdfs:comment>A Post may have a sibling or a twin that exists in a different Forum, but the siblings may differ in some small way (for example, language, category, etc.).  The sibling of this Post only needs to have the changed information.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Post"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#has_scope"
	 rdfs:comment="The target area that this Role applies to."
	 rdfs:label="has_scope">
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Role"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#host_of"
	 rdfs:comment="The Forum that this Site hosts."
	 rdfs:label="host_of">
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Forum"/>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Site"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#ip_address"
	 rdfs:label="ip_address">
	<rdfs:comment>The IP address used when creating this Post.  This can then be associated with the creator.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#is_category"
	 rdfs:label="is_category">
	<rdfs:comment>If a Forum is a category, it does not contain any Posts, and simply acts as a parent for other Forums.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Forum"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#is_closed"
	 rdfs:comment="Details if this (and any children) is closed."
	 rdfs:label="is_closed">
<!--	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Forum"/>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/> -->
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#knows"
	 rdfs:comment="Another User that this User knows."
	 rdfs:label="knows">
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#User"/>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#User"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#last_name"
	 rdfs:label="last_name">
	<rdfs:comment>Last (real) name of this user.  Synonyms include surname or family name.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#User"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#link"
	 rdfs:comment="The URI where information on this can be found."
	 rdfs:label="link">
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#location"
	 rdfs:comment="The geographic location."
	 rdfs:label="location">
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#User"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#member_of"
	 rdfs:comment="The Usergroup that this User is a member of."
	 rdfs:label="member_of">
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#User"/>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Usergroup"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#modified_at"
	 rdfs:comment="When this was modified, in ISO 8601 format."
	 rdfs:label="modified_at">
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#name"
	 rdfs:comment="The name, usually a shorter version of the full description."
	 rdfs:label="name">
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#next_version"
         rdfs:label="next_version">
	<rdfs:comment>Links to the next revision of this Post.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Post"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#note"
	 rdfs:label="note">
	<rdfs:comment>A note associated with this Post, for example if it has been edited by a User.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#parent_of"
	 rdfs:comment="A child Forum of this Forum."
	 rdfs:label="parent_of">
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Forum"/>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Forum"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#previous_version"
         rdfs:label="previous_version">
	<rdfs:comment>Links to a previous revision of this Post.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Post"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#reference"
	 rdfs:label="reference">
	<rdfs:comment>Links either created explicitly or extracted implicitly on the HTML level from the Post.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#related_to"
	 rdfs:label="related_to">
	<rdfs:comment>Related Posts for this Post, perhaps determined implicitly from topics or references.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Post"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#reply_of"
	 rdfs:label="reply_of">
	<rdfs:comment>Links to a previous Post, which this Post is a reply of (or to).</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Post"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#revisor_of"
         rdfs:label="revisor_of">
	<rdfs:comment>This User revised a Post.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#User"/>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Post"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#sibling_of"
	 rdfs:label="sibling_of">
	<rdfs:comment>This Post differs from its sibling in some small way.  The other sibling can be used as a source for any missing data.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Post"/>
</rdf:Property>
<!--
<rdf:Property rdf:about="http://rdfs.org/sioc/ns#starts_at"
	 rdfs:label="starts_at">
	<rdfs:comment>The start date and time expressed in ISO 8601 format.  Used to control the duration of a Post.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>
-->
<rdf:Property rdf:about="http://rdfs.org/sioc/ns#subject"
	 rdfs:label="subject">
	<rdfs:comment>This is the Subject line of the Post, and for a Post that has no parents it would detail the topic thread.</rdfs:comment>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#scope_of"
	 rdfs:comment="This is a target area where a Role applies to."
	 rdfs:label="scope_of">
<!--	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Forum"/>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Site"/>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Usergroup"/> -->
	<rdfs:range rdf:resource="http://rdfs.org/sioc/ns#Role"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#topic"
	 rdfs:label="topic">
	<rdfs:comment>A topic of interest, linking to the appropriate URI, e.g. in the Open Directory Project or of a SKOS category.</rdfs:comment>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#type"
	 rdfs:label="type">
	<rdfs:comment>This allows us to identify the type of Post, Forum or Role.  Some predefined types for online communities are available at http://rdfs.org/sioc/types/ (maybe we need a module for types).</rdfs:comment>
<!--	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Forum"/>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Role"/> -->
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

<rdf:Property rdf:about="http://rdfs.org/sioc/ns#views"
	 rdfs:comment="The number of times this Post has been viewed."
	 rdfs:label="views">
	<rdfs:domain rdf:resource="http://rdfs.org/sioc/ns#Post"/>
	<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
</rdf:Property>

</rdf:RDF>
