Merged from mwolson@gnu.org--2006 (patch 38)
[planner-el.git] / planner-rdf.owl
blobcd0d5d41df78b02d9b7e975cc433b45d6f858070
1 <?xml version="1.0"?>
2 <rdf:RDF
3 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
4 xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
5 xmlns:planner="http://www.rainervolz.de/schema/2004/11/planner-rdf#"
6 xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
7 xmlns="http://localhost/planner/"
8 xmlns:owl="http://www.w3.org/2002/07/owl#"
9 xml:base="http://localhost/planner/">
10 <owl:Ontology rdf:about="http://localhost/planner">
11 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
13 OWL schema for Emacs PlannerMode.
14 </rdfs:comment>
15 <owl:versionInfo rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
16 >$Id$</owl:versionInfo>
17 </owl:Ontology>
18 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Page">
19 <rdfs:subClassOf>
20 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Thing"/>
21 </rdfs:subClassOf>
22 </owl:Class>
23 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Link">
24 <owl:disjointWith>
25 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Tag"/>
26 </owl:disjointWith>
27 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
28 >Represents a PlannerMode link, e.g. [[http://www.emacswiki.org][EmacsWiki]]). </rdfs:comment>
29 <rdfs:subClassOf>
30 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Thing"/>
31 </rdfs:subClassOf>
32 </owl:Class>
33 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Thing">
34 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
35 >Abstract superclass for PlannerMode-related concepts.</rdfs:comment>
36 </owl:Class>
37 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#PageType">
38 <rdfs:subClassOf rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Thing"/>
39 </owl:Class>
40 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Note">
41 <rdfs:subClassOf rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Thing"/>
42 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
43 >A representation of PlanerMode note. Contains all data except the note text. However, all tags and links mentioned in the note text are stored in the link/tag collections.</rdfs:comment>
44 <owl:disjointWith>
45 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Task"/>
46 </owl:disjointWith>
47 </owl:Class>
48 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Tag">
49 <rdfs:subClassOf rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Thing"/>
50 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
51 >A represetation of tags i.e., {{&lt;tag-id>:&lt;tag-value>}}. An example are the global task numbers: {{Tasks:153}}. Tags are used to represent abstract things, for which there is no link address.</rdfs:comment>
52 <owl:disjointWith rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Link"/>
53 </owl:Class>
54 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Task">
55 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
56 >Represetation of a PlannerMode task. Contains all information. Tags and links mentioned are stored in their collections.</rdfs:comment>
57 <owl:disjointWith rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Note"/>
58 <rdfs:subClassOf rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Thing"/>
59 </owl:Class>
60 <owl:ObjectProperty rdf:about="http://localhost/planner/note">
61 <rdfs:domain rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Page"/>
62 <rdfs:range rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Note"/>
63 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
64 >Links to the contained notes</rdfs:comment>
65 </owl:ObjectProperty>
66 <owl:ObjectProperty rdf:about="http://localhost/planner/task">
67 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
68 >Links to contained tasks</rdfs:comment>
69 <rdfs:domain rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Page"/>
70 <rdfs:range rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Task"/>
71 </owl:ObjectProperty>
72 <owl:ObjectProperty rdf:about="http://localhost/planner/alias">
73 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
74 >The same element on a different page</rdfs:comment>
75 <rdfs:domain>
76 <owl:Class>
77 <owl:unionOf rdf:parseType="Collection">
78 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Task"/>
79 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Note"/>
80 </owl:unionOf>
81 </owl:Class>
82 </rdfs:domain>
83 <rdfs:range>
84 <owl:Class>
85 <owl:unionOf rdf:parseType="Collection">
86 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Note"/>
87 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Task"/>
88 </owl:unionOf>
89 </owl:Class>
90 </rdfs:range>
91 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
92 </owl:ObjectProperty>
93 <owl:ObjectProperty rdf:about="http://localhost/planner/page-type">
94 <rdfs:domain rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Page"/>
95 <rdfs:range rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#PageType"/>
96 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
97 </owl:ObjectProperty>
98 <owl:ObjectProperty rdf:about="http://localhost/planner/tag-parent">
99 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
100 <rdfs:range>
101 <owl:Class>
102 <owl:unionOf rdf:parseType="Collection">
103 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Task"/>
104 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Note"/>
105 </owl:unionOf>
106 </owl:Class>
107 </rdfs:range>
108 </owl:ObjectProperty>
109 <owl:ObjectProperty rdf:about="http://localhost/planner/link">
110 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
111 >A collection of PlannerMode links mentioned in the element.</rdfs:comment>
112 <rdfs:domain>
113 <owl:Class>
114 <owl:unionOf rdf:parseType="Collection">
115 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Task"/>
116 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Note"/>
117 </owl:unionOf>
118 </owl:Class>
119 </rdfs:domain>
120 <rdfs:range rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Link"/>
121 </owl:ObjectProperty>
122 <owl:ObjectProperty rdf:about="http://localhost/planner/tag">
123 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
124 >The collection PlannerTags entioned in the element.</rdfs:comment>
125 <rdfs:range rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Tag"/>
126 <rdfs:domain>
127 <owl:Class>
128 <owl:unionOf rdf:parseType="Collection">
129 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Task"/>
130 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Note"/>
131 </owl:unionOf>
132 </owl:Class>
133 </rdfs:domain>
134 </owl:ObjectProperty>
135 <owl:DatatypeProperty rdf:about="http://localhost/planner/task-id">
136 <rdfs:domain rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Task"/>
137 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#positiveInteger"/>
138 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
139 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
140 >The value of the {{Tasks:&lt;Number>}} tag, if used.</rdfs:comment>
141 </owl:DatatypeProperty>
142 <owl:DatatypeProperty rdf:about="http://localhost/planner/task-priority">
143 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
144 >PlannerMode uses currently 3 values (A,B,C) to indicate the importance of a task.</rdfs:comment>
145 <rdfs:range>
146 <owl:DataRange>
147 <owl:oneOf rdf:parseType="Resource">
148 <rdf:rest rdf:parseType="Resource">
149 <rdf:rest rdf:parseType="Resource">
150 <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
151 <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
152 >C</rdf:first>
153 </rdf:rest>
154 <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
155 >B</rdf:first>
156 </rdf:rest>
157 <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
158 >A</rdf:first>
159 </owl:oneOf>
160 </owl:DataRange>
161 </rdfs:range>
162 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
163 <rdfs:domain rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Task"/>
164 </owl:DatatypeProperty>
165 <owl:DatatypeProperty rdf:about="http://localhost/planner/link-type">
166 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
167 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
168 >Type means the URI scheme e.g., http, mailto etc. A convenience field for searching.</rdfs:comment>
169 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
170 <rdfs:domain rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Link"/>
171 </owl:DatatypeProperty>
172 <owl:DatatypeProperty rdf:about="http://localhost/planner/tag-type">
173 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
174 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
175 <rdfs:domain rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Tag"/>
176 </owl:DatatypeProperty>
177 <owl:DatatypeProperty rdf:about="http://localhost/planner/note-time">
178 <rdfs:domain rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Note"/>
179 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#time"/>
180 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
181 >If the note title contains a time (HH:MM) it is stored here.</rdfs:comment>
182 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
183 </owl:DatatypeProperty>
184 <owl:DatatypeProperty rdf:about="http://localhost/planner/plan">
185 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
186 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
187 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
188 >Name of the plan page.</rdfs:comment>
189 </owl:DatatypeProperty>
190 <owl:DatatypeProperty rdf:about="http://localhost/planner/link-text">
191 <rdfs:domain rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Link"/>
192 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
193 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
194 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
195 >The link's label. Optional.</rdfs:comment>
196 </owl:DatatypeProperty>
197 <owl:FunctionalProperty rdf:about="http://localhost/planner/link-parent">
198 <rdfs:range>
199 <owl:Class>
200 <owl:unionOf rdf:parseType="Collection">
201 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Note"/>
202 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Task"/>
203 </owl:unionOf>
204 </owl:Class>
205 </rdfs:range>
206 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
207 </owl:FunctionalProperty>
208 <owl:FunctionalProperty rdf:about="http://localhost/planner/task-number">
209 <rdfs:domain rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Task"/>
210 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
211 >A number indicating the number of a task relative to the task-priority.</rdfs:comment>
212 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
213 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#positiveInteger"/>
214 </owl:FunctionalProperty>
215 <owl:FunctionalProperty rdf:about="http://localhost/planner/task-status">
216 <rdfs:range>
217 <owl:DataRange>
218 <owl:oneOf rdf:parseType="Resource">
219 <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
220 >_</rdf:first>
221 <rdf:rest rdf:parseType="Resource">
222 <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
223 >P</rdf:first>
224 <rdf:rest rdf:parseType="Resource">
225 <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
226 >o</rdf:first>
227 <rdf:rest rdf:parseType="Resource">
228 <rdf:rest rdf:parseType="Resource">
229 <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
230 >C</rdf:first>
231 <rdf:rest rdf:parseType="Resource">
232 <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
233 >D</rdf:first>
234 <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
235 </rdf:rest>
236 </rdf:rest>
237 <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
238 >X</rdf:first>
239 </rdf:rest>
240 </rdf:rest>
241 </rdf:rest>
242 </owl:oneOf>
243 </owl:DataRange>
244 </rdfs:range>
245 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
246 >PlannerMode currently indicates the status of a task with "_" not started, "P" pending, "o" ongoing, "X" finished, "C" cancelled, and "D" delegated.</rdfs:comment>
247 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
248 <rdfs:domain rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Task"/>
249 </owl:FunctionalProperty>
250 <owl:FunctionalProperty rdf:about="http://localhost/planner/date">
251 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#date"/>
252 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
253 <rdfs:domain>
254 <owl:Class>
255 <owl:unionOf rdf:parseType="Collection">
256 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Task"/>
257 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Note"/>
258 </owl:unionOf>
259 </owl:Class>
260 </rdfs:domain>
261 </owl:FunctionalProperty>
262 <owl:FunctionalProperty rdf:about="http://localhost/planner/tag-id">
263 <rdfs:domain rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Tag"/>
264 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
265 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
266 </owl:FunctionalProperty>
267 <owl:FunctionalProperty rdf:about="http://localhost/planner/container">
268 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#anyURI"/>
269 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
270 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
271 >File URI,containing the task.
272 </rdfs:comment>
273 </owl:FunctionalProperty>
274 <owl:FunctionalProperty rdf:about="http://localhost/planner/description">
275 <rdfs:domain>
276 <owl:Class>
277 <owl:unionOf rdf:parseType="Collection">
278 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Task"/>
279 <owl:Class rdf:about="http://www.rainervolz.de/schema/2004/11/planner-rdf#Note"/>
280 </owl:unionOf>
281 </owl:Class>
282 </rdfs:domain>
283 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
284 >The note title, as plain text.</rdfs:comment>
285 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
286 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
287 </owl:FunctionalProperty>
288 <owl:FunctionalProperty rdf:about="http://localhost/planner/note-id">
289 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
290 >The ID (number) of the note, relative to the containing page.</rdfs:comment>
291 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
292 <rdfs:domain rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Note"/>
293 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
294 </owl:FunctionalProperty>
295 <owl:FunctionalProperty rdf:about="http://localhost/planner/link-uri">
296 <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#anyURI"/>
297 <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
298 <rdfs:domain rdf:resource="http://www.rainervolz.de/schema/2004/11/planner-rdf#Link"/>
299 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
300 >The complet URI of the link.</rdfs:comment>
301 </owl:FunctionalProperty>
302 <planner:PageType rdf:about="http://localhost/planner/topic-page">
303 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
304 >A page about a certain topic or project.</rdfs:comment>
305 </planner:PageType>
306 <planner:PageType rdf:about="http://localhost/planner/day-page">
307 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
308 >A journal page about a day in the life of ...</rdfs:comment>
309 </planner:PageType>
310 <planner:PageType rdf:about="http://localhost/planner/other-page">
311 <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
312 >No day or topic page, probably a generated page, an index etc.</rdfs:comment>
313 </planner:PageType>
314 </rdf:RDF>
316 <!-- Created with Protege (with OWL Plugin 1.3, Build 208) http://protege.stanford.edu -->