This file is indexed.

/usr/share/samizdat/rdf/schema.n3 is in samizdat 0.7.0-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# Samizdat RDF Schema, N3 notation
# 
#   Copyright (c) 2002-2011 Dmitry Borodaenko <angdraug@debian.org>
#
#   This program is free software.
#   You can distribute/modify this program under the terms of
#   the GNU General Public License version 3 or later.
#

@prefix : <#> .

# RDF Namespaces
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .

# Dublin Core
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dct: <http://purl.org/dc/terms/> .

# General Resource Properties

# Resource ID
:id
	rdfs:subPropertyOf dct:identifier ;
	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:isPartOf ;
	rdfs:domain :Message ;
	rdfs:range :Message .

:isTranslationOf
	rdfs:subPropertyOf dct:isPartOf ;
	rdfs:domain :Message ;
	rdfs:range :Message ;
	rdfs:comment "Subject message is a translation of object message into dc:language." .

dc:creator
	rdfs:domain :Message ;
	rdfs:range :Member .

dc:format
	rdfs:domain :Message .

dc:language
	rdfs:domain :Message .

:hidden
	rdfs:domain :Message ;
	rdfs:range rdfs:Literal 
	rdfs:comment "When true, message is hidden from public view." .

:locked
	rdfs:domain :Message ;
	rdfs:range rdfs:Literal 
	rdfs:comment "When true, no replies can be added to the message." .

:content
	rdfs:domain :Message ;
	rdfs:range rdfs:Literal .

# Content Organization and Filtering

:Tag
	rdfs:subClassOf rdfs:Resource ;
	rdfs:comment "A characteristic of a resource. In addition to standard tags, each site can create its own tags, representing different topics of interest." .

dc:relation
	rdfs:domain rdfs:Resource ;
	rdfs:range :Tag .

:subTagOf
	rdfs:subPropertyOf dct:isPartOf ;
	rdfs:domain :Tag ;
	rdfs:range :Tag .

# 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 Resources
dct:isPartOf
	rdfs:domain :Resource ;
	rdfs:range :Resource .

:isPartOfSubProperty
	rdfs:domain :Resource ;
	rdfs:range :Resource ;
	rdfs:comment "Specific subproperty of a dct:isPartOf predicate" .

:partSequenceNumber
	rdfs:domain :Resource ;
	rdfs:range rdfs:Literal .

dct:tableOfContents   # compare with dct:hasPart
	rdfs:domain :Message .