# Samizdat RDF Schema, N3 notation # # Copyright (c) 2002-2003 Dmitry Borodaenko # # This program is free software. # You can distribute/modify this program under the terms of # the GNU General Public License version 2 or later. # @prefix : <#> . # RDF Namespaces @prefix rdf: . @prefix rdfs: . # Dublin Core @prefix dc: . @prefix dct: . # General Resource Properties # Resource ID :id rdfs:domain rdfs:Resource ; rdfs:comment "Unique (within site) numeric id of the resource." . # Publication Timestamp dc:date rdfs:domain rdfs:Resource ; rdfs:comment "Date and time when the resource was published on a site." . # Resource Title dc:title rdfs:domain :Message . # todo: expand to rdfs:Resource # Samizdat Classes # Member :Member # todo: integrate with FOAF rdfs:subClassOf rdfs:Resource . :login rdfs:domain :Member ; rdfs:range rdfs:Literal . :fullName rdfs:subPropertyOf dc:title ; # todo: replace with dc:title rdfs:domain :Member ; rdfs:range rdfs:Literal . :email rdfs:domain :Member ; rdfs:range rdfs:Literal . # Messages and Threads :Message rdfs:subClassOf rdfs:Resource . :inReplyTo rdfs:subPropertyOf dct:references ; rdfs:domain :Message ; rdfs:range :Message . dc:creator rdfs:domain :Message ; rdfs:range :Member . dc:format rdfs:domain :Message . dc:description rdfs:domain :Message ; rdfs:range :Message . :content rdfs:domain :Message ; rdfs:range rdfs:Literal . # Content Organization and Filtering :Focus rdfs:subClassOf rdfs:Resource ; rdfs:comment "A characteristic of a resource. In addition to standard focuses, each site can create its own focuses, representing different topics of interest." . dc:relation rdfs:domain rdfs:Resource ; rdfs:range :Focus . # Voting :Proposition rdfs:subClassOf rdf:Statement ; rdfs:comment "A kind of statement that can be voted upon by site members." . :rating rdfs:domain :Proposition ; rdfs:range rdfs:Literal ; rdfs:comment "Approvement rating of a proposition as voted by site members. Calculated from individual votes." . :Vote rdfs:subClassOf rdfs:Resource ; rdfs:comment "Vote cast on approvement rating of a statement by a site member." . :voteProposition rdfs:domain :Vote ; rdfs:range :Proposition . :voteMember rdfs:domain :Vote ; rdfs:range :Member . :voteRating rdfs:domain :Vote ; rdfs:range rdfs:Literal . # Author-Approved Properties # Version Control dct:isVersionOf rdfs:domain :Message ; rdfs:range :Message . :openForAll rdfs:domain :Message ; rdfs:range rdfs:Literal rdfs:comment "When true, editing of this message is open for all members." . # Aggregate Messages dct:tableOfContents # compare with dct:hasPart rdfs:domain :Message . dct:isPartOf rdfs:domain :Message ; rdfs:range :Message .