-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathwfprov.owl
296 lines (200 loc) · 13.1 KB
/
wfprov.owl
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
<?xml version="1.0"?>
<!DOCTYPE rdf:RDF [
<!ENTITY foaf "http://xmlns.com/foaf/0.1/" >
<!ENTITY prov "http://www.w3.org/ns/prov#" >
<!ENTITY ro "http://purl.org/wf4ever/ro#" >
<!ENTITY parrot "http://vocab.ctic.es/parrot#" >
<!ENTITY owl "http://www.w3.org/2002/07/owl#" >
<!ENTITY wfprov "http://purl.org/wf4ever/wfprov#" >
<!ENTITY wfdesc "http://purl.org/wf4ever/wfdesc#" >
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
]>
<rdf:RDF xmlns="http://purl.org/wf4ever/wfprov"
xml:base="http://purl.org/wf4ever/wfprov"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:ro="http://purl.org/wf4ever/ro#"
xmlns:prov="http://www.w3.org/ns/prov#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:wfdesc="http://purl.org/wf4ever/wfdesc#"
xmlns:parrot="http://vocab.ctic.es/parrot#"
xmlns:wfprov="http://purl.org/wf4ever/wfprov#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<owl:Ontology rdf:about="http://purl.org/wf4ever/wfprov">
<rdfs:comment xml:lang="en">The wfprov ontology shows how to express minimal provenance information about the execution of a workflow described using the wf ontology.
Here the concern is mainly the provenance which affects the research object, so in particular how some ro:Resource's might have been generated or used by the execution of a wfdesc:Workflow.
The main class here is a wfprov:WorkflowRun which shows how wfprov:Artifact instances (the data) wfprov:wasOutputFrom a wfprov:ProcessRun for generated artifacts, or wfprov:usedInput for consumed artifacts. The WorkflowRun is also a ProcessRun, and so the overall inputs and outputs of thw workflow execution can be described in the same manner.
These provenance details are linked to the corresponding wfdesc descriptions using wfdesc:describedbyProcess, wfdesc:describedByWorkflow and wfdesc:describedByParameter.
This ontology can be further linked to more specific provenance ontologies like OPM-V or W3C PROV-O, but this should be done separately.</rdfs:comment>
<rdfs:seeAlso rdf:resource="http://purl.org/wf4ever/ro"/>
<owl:imports rdf:resource="http://purl.org/wf4ever/wfdesc"/>
<parrot:hasPrologue rdf:resource="http://purl.org/wf4ever/index.html#ro"/>
<owl:imports rdf:resource="http://www.w3.org/ns/prov-o#"/>
<owl:imports rdf:resource="http://xmlns.com/foaf/0.1/"/>
<owl:versionIRI rdf:resource="https://raw.github.com/wf4ever/ro/master/wfprov.owl"/>
</owl:Ontology>
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Annotation properties
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Datatypes
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<!-- http://purl.org/wf4ever/wfprov#durationInSeconds -->
<owl:DatatypeProperty rdf:about="&wfprov;durationInSeconds">
<rdfs:label xml:lang="en">duration in seconds</rdfs:label>
<rdfs:comment>How long it took to run the workflow (in seconds)</rdfs:comment>
<rdfs:domain rdf:resource="&wfprov;WorkflowRun"/>
<rdfs:range rdf:resource="&xsd;double"/>
</owl:DatatypeProperty>
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Object Properties
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<!-- http://purl.org/wf4ever/wfprov#describedByParameter -->
<owl:ObjectProperty rdf:about="&wfprov;describedByParameter">
<rdfs:comment xml:lang="en">This object property is used to associate a wfprov:Artifact to the wfdesc:Parameter description.</rdfs:comment>
<rdfs:range rdf:resource="&wfdesc;Parameter"/>
<rdfs:domain rdf:resource="&wfprov;Artifact"/>
</owl:ObjectProperty>
<!-- http://purl.org/wf4ever/wfprov#describedByProcess -->
<owl:ObjectProperty rdf:about="&wfprov;describedByProcess">
<rdfs:comment xml:lang="en">This object property associate a wfprov:Processrun to its wfdesc:Process description .</rdfs:comment>
<rdfs:range rdf:resource="&wfdesc;Process"/>
<rdfs:domain rdf:resource="&wfprov;ProcessRun"/>
</owl:ObjectProperty>
<!-- http://purl.org/wf4ever/wfprov#describedByWorkflow -->
<owl:ObjectProperty rdf:about="&wfprov;describedByWorkflow">
<rdfs:comment xml:lang="en">This property associates a wfprov:WorkflowRun to its corresponding wfdesc:Workflow description.</rdfs:comment>
<rdfs:range rdf:resource="&wfdesc;Workflow"/>
<rdfs:domain rdf:resource="&wfprov;WorkflowRun"/>
<rdfs:subPropertyOf rdf:resource="&wfprov;describedByProcess"/>
</owl:ObjectProperty>
<!-- http://purl.org/wf4ever/wfprov#interactedWith -->
<owl:ObjectProperty rdf:about="&wfprov;interactedWith">
<rdfs:comment xml:lang="en">An Agent the ProcessRun interacted with, for instance to consult, inform or to delegate making a decission.
The communication artifacts of this interaction is not normally considered inputs and outputs of the process run, so for instance a wfprov:ProcessRun :receiveEmail which has wfprov:usedInput :anEmail would not be considered wfprov:interactedWith the user who sent the email, although it could be that the overall wfprov:WorkflowRun in this case was considered to be interacting with the user.
</rdfs:comment>
<rdfs:domain rdf:resource="&wfprov;ProcessRun"/>
<rdfs:range rdf:resource="&foaf;Agent"/>
</owl:ObjectProperty>
<!-- http://purl.org/wf4ever/wfprov#usedInput -->
<owl:ObjectProperty rdf:about="&wfprov;usedInput">
<rdfs:comment xml:lang="en">This property specifies that a wfprov:ProcessRun used an wfprov:Artifact as an input</rdfs:comment>
<rdfs:range rdf:resource="&wfprov;Artifact"/>
<rdfs:domain rdf:resource="&wfprov;ProcessRun"/>
<rdfs:subPropertyOf rdf:resource="&prov;used"/>
</owl:ObjectProperty>
<!-- http://purl.org/wf4ever/wfprov#wasEnactedBy -->
<owl:ObjectProperty rdf:about="&wfprov;wasEnactedBy">
<rdfs:comment xml:lang="en">wfprov:wasEnactedBy associates a wfprov:ProcessRun with a wfprov:WorkflowEngine, specifying that the execution of the process was enacted by the engine.</rdfs:comment>
<rdfs:domain rdf:resource="&wfprov;ProcessRun"/>
<rdfs:range rdf:resource="&wfprov;WorkflowEngine"/>
<rdfs:subPropertyOf rdf:resource="&prov;wasAssociatedWith"/>
</owl:ObjectProperty>
<!-- http://purl.org/wf4ever/wfprov#wasInitiatedBy -->
<owl:ObjectProperty rdf:about="&wfprov;wasInitiatedBy">
<rdfs:comment xml:lang="en">The agent who decided to run the workflow, for example "Fred initiated the workflow run".
Note that an wfprov:WorkflowEngine starting nested workflows should normally instead be indicated with wfprov:wasEnactedBy, and a nested wfprov:WorkflowRun run as part of a wfprov:WorkflowRun is indicated with wfprov:wasPartOfWorkflowRun.</rdfs:comment>
<rdfs:domain rdf:resource="&wfprov;WorkflowRun"/>
<rdfs:seeAlso rdf:resource="&wfprov;wasEnactedBy"/>
<rdfs:seeAlso rdf:resource="&wfprov;wasPartOfWorkflowRun"/>
<rdfs:range rdf:resource="&foaf;Agent"/>
</owl:ObjectProperty>
<!-- http://purl.org/wf4ever/wfprov#wasOutputFrom -->
<owl:ObjectProperty rdf:about="&wfprov;wasOutputFrom">
<rdfs:comment xml:lang="en">This property specifies that a wfprov:Artifact was generated as an output from a wfprov:ProcessRun</rdfs:comment>
<rdfs:domain rdf:resource="&wfprov;Artifact"/>
<rdfs:range rdf:resource="&wfprov;ProcessRun"/>
<rdfs:subPropertyOf rdf:resource="&prov;wasGeneratedBy"/>
</owl:ObjectProperty>
<!-- http://purl.org/wf4ever/wfprov#wasPartOfWorkflowRun -->
<owl:ObjectProperty rdf:about="&wfprov;wasPartOfWorkflowRun">
<rdfs:comment xml:lang="en">This property specifies that a wfprov:ProcessRun was executed as part of a wfprov:WorkflowRun. This typically corresponds to wfdesc:hasSubProcess in the workflow description.</rdfs:comment>
<rdfs:domain rdf:resource="&wfprov;ProcessRun"/>
<rdfs:range rdf:resource="&wfprov;WorkflowRun"/>
</owl:ObjectProperty>
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Classes
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<!-- http://purl.org/wf4ever/wfdesc#Input -->
<rdf:Description rdf:about="&wfdesc;Input">
<rdfs:subClassOf rdf:resource="&prov;Role"/>
</rdf:Description>
<!-- http://purl.org/wf4ever/wfdesc#Output -->
<rdf:Description rdf:about="&wfdesc;Output">
<rdfs:subClassOf rdf:resource="&prov;Role"/>
</rdf:Description>
<!-- http://purl.org/wf4ever/wfdesc#Workflow -->
<rdf:Description rdf:about="&wfdesc;Workflow">
<rdfs:subClassOf rdf:resource="&prov;Plan"/>
</rdf:Description>
<!-- http://purl.org/wf4ever/wfprov#Artifact -->
<owl:Class rdf:about="&wfprov;Artifact">
<rdfs:subClassOf rdf:resource="&prov;Entity"/>
<rdfs:comment xml:lang="en">An artifact is a data value or item which wfprov:wasOutputFrom of a wfprov:ProcessRun or that the process run used as input (wfprov:usedInput). Such an artifact might also be a ro:Resource if it has been aggregated in the ro:ResearchObject (typically if the artifact was used or generated by a wfprov:WorkflowRun) - but this might always not be the case for intermediate values from wfprov:ProcessRun.</rdfs:comment>
<rdfs:seeAlso rdf:resource="&ro;ResearchObject"/>
<rdfs:seeAlso rdf:resource="&ro;Resource"/>
<rdfs:seeAlso rdf:resource="&wfprov;ProcessRun"/>
<rdfs:seeAlso rdf:resource="&wfprov;usedInput"/>
<rdfs:seeAlso rdf:resource="&wfprov;wasOutputFrom"/>
<rdfs:seeAlso rdf:resource="&wfprov;workflowRun"/>
</owl:Class>
<!-- http://purl.org/wf4ever/wfprov#ProcessRun -->
<owl:Class rdf:about="&wfprov;ProcessRun">
<rdfs:subClassOf rdf:resource="&prov;Activity"/>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="&prov;endedAtTime"/>
<owl:someValuesFrom rdf:resource="&xsd;dateTimeStamp"/>
</owl:Restriction>
</rdfs:subClassOf>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="&prov;startedAtTime"/>
<owl:someValuesFrom rdf:resource="&xsd;dateTimeStamp"/>
</owl:Restriction>
</rdfs:subClassOf>
<rdfs:comment xml:lang="en">A process run is a particular execution of a wfdesc:Process description (wfprov:describedByProcess), which can wfprov:usedInput some wfprov:Artifact instances, and produce new artifacts (wfprov:wasOutputFrom). A wfprov:WorkflowRun is a specialisation of this class.</rdfs:comment>
<rdfs:seeAlso rdf:resource="&wfdesc;Process"/>
<rdfs:seeAlso rdf:resource="&wfprov;Artifact"/>
<rdfs:seeAlso rdf:resource="&wfprov;WorkflowRun"/>
<rdfs:seeAlso rdf:resource="&wfprov;describedByProcess"/>
<rdfs:seeAlso rdf:resource="&wfprov;usedInput"/>
<rdfs:seeAlso rdf:resource="&wfprov;wasOutputFrom"/>
</owl:Class>
<!-- http://purl.org/wf4ever/wfprov#WorkflowEngine -->
<owl:Class rdf:about="&wfprov;WorkflowEngine">
<rdfs:subClassOf rdf:resource="&prov;SoftwareAgent"/>
<rdfs:subClassOf rdf:resource="&foaf;Agent"/>
<rdfs:comment xml:lang="en">A workflow engine is an foaf:Agent that is responsible for enacting a workflow definition (which could be described in a wfdesc:Workflow). The result of workflow enactment gives rise to a wfprov:WorkflowRun.</rdfs:comment>
<rdfs:seeAlso rdf:resource="&wfdesc;Workflow"/>
<rdfs:seeAlso rdf:resource="&wfprov;WorkflowRun"/>
</owl:Class>
<!-- http://purl.org/wf4ever/wfprov#WorkflowRun -->
<owl:Class rdf:about="&wfprov;WorkflowRun">
<rdfs:subClassOf rdf:resource="&wfprov;ProcessRun"/>
<rdfs:comment xml:lang="en">A workflow run is a wfprov:ProcessRun which have been enacted by a wfprov:WorkflowEngine, according to a workflow definition (which could be wfdesc:describedByWorkflow a wfdesc:Workflow). Such a process typically contains several subprocesses (wfprov:wasPartOfWorkflowRun) corresponding to wfdesc:Process descriptions</rdfs:comment>
<rdfs:seeAlso rdf:resource="&wfdesc;Process"/>
<rdfs:seeAlso rdf:resource="&wfdesc;Workflow"/>
<rdfs:seeAlso rdf:resource="&wfprov;WorkflowEngine"/>
</owl:Class>
</rdf:RDF>
<!-- Generated by the OWL API (version 3.3.1957) http://owlapi.sourceforge.net -->