issue-pane 2.6.1 → 3.0.0-a58a4367

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/wf.ttl DELETED
@@ -1,368 +0,0 @@
1
- # Issue tracking - Workflow application definition ontology
2
- #
3
- # Finite state automaton ontology
4
- #
5
- # See requirements for tracking tools http://www.w3.org/2005/01/06-tool-req.html
6
- #
7
- @keywords a, is, of.
8
-
9
- @prefix : <http://www.w3.org/2005/01/wf/flow#>.
10
- @prefix wf: <http://www.w3.org/2005/01/wf/flow#>.
11
-
12
- @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
13
- @prefix s: <http://www.w3.org/2000/01/rdf-schema#> .
14
- @prefix owl: <http://www.w3.org/2002/07/owl#>.
15
- @prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
16
-
17
- @prefix doc: <http://www.w3.org/2000/10/swap/pim/doc#> .
18
- @prefix log: <http://www.w3.org/2000/10/swap/log#> .
19
- @prefix foaf: <http://xmlns.com/foaf/0.1/>.
20
- @prefix contact: <http://www.w3.org/2000/10/swap/pim/contact#> .
21
- @prefix doap: <http://usefulinc.com/ns/doap#>.
22
- @prefix dc: <http://purl.org/dc/elements/1.1/>.
23
- @prefix dct: <http://purl.org/dc/terms/>.
24
- @prefix ui: <http://www.w3.org/ns/ui#>.
25
-
26
- <> dc:title "Issue Tracking Ontology";
27
-
28
- dct:creator <http://www.w3.org/People/Berners-Lee/card#i>;
29
-
30
- s:comment """This ontology defines a very general class (Task)
31
- which can used for any kind of bug tracking, issue tracking,
32
- to-do-list management, action items, goal dependency, and so on.
33
- It captures the state of a task as a subclass, so that
34
- subsumption can be used.
35
- It captures a discussion thread about a task.
36
- It captures subtasks structure if necessary.
37
- A "Tracker" defines actual set of states, categories, etc.,
38
- which a task can be in. The data about the tracker
39
- guides the software managing the task.
40
-
41
- There is some workflow modeling finite state machine
42
- terms which are optional for more complex definition
43
- of the transitions allowed.
44
- """.
45
-
46
- Task a s:Class;
47
- s:label "task"@en; owl:disjointUnionOf (Open Closed);
48
- s:comment """Something to be done in a wide sense,
49
- an agenda item at a meeting is one example, but any
50
- issue, task, action item, goal, product, deliverable, milestone, can such a thing.
51
- The requirement for this framework was that it would allow
52
- one to customize ontologies for things such as agenda items,
53
- action items, working group issues with a spec, w3c Last Call issues,
54
- software bugs and administrative requests.
55
- In π-calculus, a process.
56
- Make your type of issue a subclass of Task.
57
- """.
58
-
59
- Open a s:Class; s:subClassOf Task;
60
- s:label "open"@en, "ouvert"@fr;
61
- ui:backgroundColor "#d6f5d6"; # green like github for some reason
62
- s:comment """A task which needs attention. The very crude states of Open and Closed all
63
- interoperability between different systems if the states for a given
64
- application are made subclasses of either Open or Closed. This allows
65
- tasks from different systems to be mixed and treated together with
66
- limited but valuable functionality.
67
- """.
68
-
69
- Closed a s:Class; s:subClassOf Task;
70
- s:label "closed"@en, "fermé"@fr;
71
- ui:backgroundColor "#f5d6d6"; # pink
72
- s:comment """A task which does not need attention. It may be closed because
73
- has been abandoned or completed, for example.
74
- """.
75
-
76
-
77
- ActionItem a s:Class;
78
- s:subClassOf Task;
79
- s:label "action item"@en; owl:disjointUnionOf (Open Closed);
80
- s:comment """An obligation taken on by a person, typically at a meeting.
81
- """.
82
-
83
-
84
- description a rdf:Property;
85
- s:label "description";
86
- s:comment """The description, definition,
87
- or abstract. Information explaining what this is.
88
- Not arbitrary comment about anything, only about the subject.
89
- (Use this property for anything. There is no domain restriction.).""".
90
-
91
- dependent a rdf:Property;
92
- s:label "how"; owl:inverseOf [ s:label "why"];
93
- s:domain Task; s:range Task;
94
- s:comment """Another task upon which this depends, in the sense that
95
- this task cannot be completed without that task being done.
96
- You can't use this for dependencies on anything other than other tasks.
97
- (Note the US spelling of the URI. In the UK, a dependant is a something
98
- which is dependent on somehing else.)""".
99
-
100
- assignee a rdf:Property;
101
- s:label "assigned to"; owl:inverseOf [s:label "assignment"];
102
- # s:domain Task;
103
- s:range foaf:Agent;
104
- s:comment """The person or group to whom this has been assigned.""".
105
-
106
- # use dct:modified
107
- #modified a rdf:Property;
108
- # s:label "last changed".
109
-
110
- modifiedBy a rdf:Property;
111
- s:range foaf:Agent;
112
- s:label "changed by".
113
-
114
- # use dct:created instead
115
- #created a rdf:Property;
116
- # s:range xsd:dateTime;
117
- #
118
- # Use foaf:maker instead
119
- #creator a rdf:Property;
120
- # s:range foaf:Agent;
121
- # s:label "changed by".
122
-
123
- subscriber a rdf:Property;
124
- s:label "subscriber";
125
- s:range foaf:Agent.
126
-
127
-
128
- ################## Products
129
- #
130
- #
131
- # History: The Tracker system included a cocept of a product,
132
- # such that an action could be associated with *either* an issue *or* a product.
133
- # Noah Mendelsohn for the TAG needed to be able make
134
- # and to give products: Goals, scuuess criteria,
135
- # deliverables with dates, schedules, TAG members assigned, related issues.
136
- #
137
-
138
-
139
- Product a s:Class; s:subClassOf Task;
140
- s:label "product";
141
- s:comment """A product is a task which monitors something
142
- which must be produced.""".
143
-
144
- deliverable a rdf:Property; s:subPropertyOf dependent;
145
- s:range Product;
146
- s:label "deliverable"@en;
147
- s:comment """Something which must be delivered to accomplish this""".
148
-
149
- goalDescription a rdf:Property, owl:DatatypeProperty;
150
- s:domain Task; s:range xsd:string;
151
- s:label "goals";
152
- s:comment """A textual description of the goals of this product, etc.""".
153
-
154
- successCriteria a rdf:Property, owl:DatatypeProperty;
155
- s:domain Task; s:range xsd:string;
156
- s:label "success criteria";
157
- s:comment """A textual description of the successs critera.
158
- How when we know this is done?""".
159
-
160
- dateDue a rdf:Property, owl:DatatypeProperty;
161
- s:domain Task; s:range xsd:date;
162
- s:label "due"@en;
163
- s:comment """The date this task is due.
164
- """.
165
-
166
- ################## Attachments
167
-
168
- attachment a rdf:Property;
169
- s:label "attachment";
170
- s:comment """Something related is attached for information.""".
171
-
172
- screenShot a rdf:Property; s:subPropertyOf attachment;
173
- s:label "screen shot"@en;
174
- s:comment """An image taken by capturing the state of a
175
- computer screen, for example to demonstrate a problem""".
176
-
177
- testData a rdf:Property; s:subPropertyOf attachment;
178
- s:label "test data"@en;
179
- s:comment """A file which can be used as inpiut to a test
180
- or to demonstrate a problem. """.
181
-
182
-
183
- terminalOutput a rdf:Property; s:subPropertyOf attachment;
184
- s:label "terminal output"@en;
185
- s:comment """A file showing user interaction from a
186
- text terminal or console etc. """.
187
-
188
-
189
- message a rdf:Property; s:subPropertyOf attachment;
190
- s:label "message"@en;
191
- s:comment """A message about this. Attached for information.""".
192
-
193
-
194
- Message a s:Class; s:label "message"@en.
195
- recipent a rdf:Property; s:label "to"; s:domain Message; s:range foaf:Agent.
196
- sender a rdf:Property; s:label "from"; s:domain Message; s:range foaf:Agent.
197
-
198
- ############################# A Tracker connects and manages issues
199
-
200
- tracker a rdf:Property;
201
- s:label "tracker";
202
- owl:inverseOf [ s:label "issue"];
203
- s:domain Task;
204
- s:range Tracker.
205
-
206
- Tracker a s:Class;
207
- s:label "tracker";
208
- s:comment """A set of issues and
209
- the constraints on how they evolve.
210
- To use this ontology, craete a new tracker.
211
- Copy an existing one or make up your own.""".
212
-
213
- issueClass a rdf:Property;
214
- s:label "all issues must be in";
215
- s:domain Tracker;
216
- s:range s:Class, State;
217
- s:comment """The class of issues which are allowed in this tracker.
218
- This is essemtial to the operation of the tracker,
219
- as it defines which states an issue can be in.
220
- (The issueClass must be a disjointUnionOf the state classes)""".
221
-
222
- issueCategory a rdf:Property;
223
- s:label "issue category";
224
- s:domain Tracker;
225
- s:range s:Class;
226
- s:comment """Issues may be categorized according to the
227
- subclasses of this class""".
228
-
229
- stateStore a rdf:Property;
230
- s:label "state store";
231
- s:domain Tracker;
232
- s:range doc:Document;
233
- s:comment """A read-write document.
234
- The state of the issues is modified here.
235
- When you set up a trcaker, thgis must be set to point
236
- to a writeble data resource on the web.""".
237
-
238
- transactionStore
239
- a rdf:Property;
240
- s:label "transaction store";
241
- s:domain Tracker;
242
- s:range doc:Document;
243
- s:comment """An appendable document. Transactions and messsages
244
- can be written into here""".
245
-
246
- asigneeClass
247
- a rdf:Property;
248
- s:label "assignees must be";
249
- s:domain Tracker;
250
- s:range s:Class; # Subclass of foaf:Agent
251
- s:comment """When an issue is assigned, the assignee must be from this class""".
252
-
253
- initialState
254
- a rdf:Property;
255
- s:label "initial state"@en;
256
- s:label "état initial"@fr;
257
- s:domain Tracker;
258
- s:range State;
259
- s:comment """The initial state for a new issue""".
260
-
261
- # Use this to link a project to a tracker
262
- doap:bug-database owl:inverseOf [ s:label "project"@en ].
263
-
264
-
265
-
266
-
267
- ############################################################
268
- #
269
- # Finite state machines
270
- #
271
- Change a s:Class;
272
- s:label "change";
273
- s:comment """The universal class of things which
274
- change the state of a task.
275
- Included now: Creation, Transition. (Maybe in the future
276
- more π-calculus constructions such as splitting & merging tasks,
277
- and import/export of obligations to a foreign opaque system.)
278
- """.
279
-
280
- Transition a s:Class; s:subClassOf Change;
281
- s:label "transition";
282
- s:comment """A transition is a change of state of
283
- a task. Typical properties include date and/or source
284
- (a document causing the transition), and a final state.""".
285
-
286
- Creation a s:Class; s:subClassOf Change;
287
- s:label "creation";
288
- s:comment """A creation is a change from existence
289
- to non-existence
290
- a task. Typical properties include date and/or source
291
- (a document causing the transition), and a final state.""".
292
-
293
-
294
- date s:range DateTime.
295
-
296
- final a rdf:Property;
297
- s:label "to";
298
- s:domain Transition;
299
- s:range State.
300
-
301
- task a rdf:Property;
302
- s:range Task;
303
- s:label "task".
304
-
305
- requires a rdf:Property;
306
- s:label "requires";
307
- s:domain Transition;
308
- s:range rdf:List; # Of properties for validation
309
- s:comment """To be a valid transition,
310
- a necessary (but not necessarily sufficuent) condition
311
- is that there be recorded these properties for the record""".
312
-
313
- affects a rdf:Property;
314
- s:label "affects";
315
- s:domain doc:Work;
316
- s:range Task.
317
-
318
-
319
- # { ?x a Transition; task ?t; source ?doc } => { ?doc affects ?t }.
320
-
321
-
322
- creates a rdf:Property;
323
- s:label "creates";
324
- s:domain doc:Work;
325
- s:range Task.
326
-
327
-
328
- allowedTransitions a rdf:Property;
329
- s:domain State;
330
- s:range rdf:List; # @@@ of Action
331
- s:label "allowed transitions";
332
- s:comment """The state machine is defined
333
- by these lists of transition allowed for each issue.
334
- (An interesting option in the Web is to make an allowed transition
335
- to a state in soemone else's ontology, which in turn allows
336
- transitions into many ontologies. So a finite state maxchine
337
- may become very large. In practice this means that a task handed
338
- off to another organization may be processed on all kinds of ways.)""".
339
-
340
- # { ?x a TerminalState} => { ?x allowedTransitions () }.
341
-
342
- final a rdf:Property;
343
- s:label "to";
344
- s:range State.
345
-
346
- issue a rdf:Property;
347
- s:label "issue";
348
- s:comment
349
- """A transition changes the state of the given issue.""".
350
-
351
- source a rdf:Property;
352
- s:label "source";
353
- s:comment """The source of a transition is
354
- the document by which it happened""";
355
- s:range doc:Work.
356
- TerminalState a s:Class;
357
- s:subClassOf State;
358
- s:label "terminal state";
359
- s:comment """A state from which there are no transitions.""".
360
-
361
- NonTerminalState a s:Class;
362
- s:label "non-terminal state";
363
- owl:disjointWith TerminalState;
364
- s:comment """A state from which there are transitions.""".
365
-
366
- ######################################################
367
-
368
- #ends