-
Notifications
You must be signed in to change notification settings - Fork 0
/
ekgf-story.ttl
326 lines (288 loc) · 10.5 KB
/
ekgf-story.ttl
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
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
@base <https://ekgf.org/ontology/story#> .
@prefix : <https://ekgf.org/ontology/story#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix api: <https://ekgf.org/ontology/api#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix obda: <https://w3id.org/obda/vocabulary#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix concept: <https://ekgf.org/ontology/concept#> .
@prefix outcome: <https://ekgf.org/ontology/outcome#> .
@prefix persona: <https://ekgf.org/ontology/persona#> .
#
#
# #################################################################
# #
# # Annotation properties
# #
# #################################################################
#
#
# http://purl.org/dc/elements/1.1/creator
#
# http://purl.org/dc/elements/1.1/date
#
#
#
# #################################################################
# #
# # Object Properties
# #
# #################################################################
#
#
# https://ekgf.org/ontology/concept#hasConcept
#
# https://ekgf.org/ontology/story#canUseStory
#
# https://ekgf.org/ontology/story#creates
#
# https://ekgf.org/ontology/story#deletes
#
# https://ekgf.org/ontology/story#hasInput
#
# https://ekgf.org/ontology/story#hasOutcome
#
# https://ekgf.org/ontology/story#hasOutput
#
# https://ekgf.org/ontology/story#hasPersona
#
# https://ekgf.org/ontology/story#implementedBy
#
# https://ekgf.org/ontology/story#implements
#
# https://ekgf.org/ontology/story#supportedByStory
#
# https://ekgf.org/ontology/story#supportsConcept
#
#
#
# #################################################################
# #
# # Data properties
# #
# #################################################################
#
#
# https://ekgf.org/ontology/story#createsProvenance
#
# https://ekgf.org/ontology/story#currentTime
#
# https://ekgf.org/ontology/story#isPlural
#
# https://ekgf.org/ontology/story#isServerProvided
#
# https://ekgf.org/ontology/story#isSingular
#
# https://ekgf.org/ontology/story#serverGeneratedGuid
#
#
#
# #################################################################
# #
# # Classes
# #
# #################################################################
#
#
# https://ekgf.org/ontology/story#CreationInfo
#
# https://ekgf.org/ontology/story#MandatoryParameter
#
# https://ekgf.org/ontology/story#ObfuscationRule
#
# https://ekgf.org/ontology/story#OptionalParameter
#
# https://ekgf.org/ontology/story#OptionalStoryOutput
#
# https://ekgf.org/ontology/story#Rule
#
# https://ekgf.org/ontology/story#SPARQLRule
#
# https://ekgf.org/ontology/story#Story
#
# https://ekgf.org/ontology/story#StoryInput
#
# https://ekgf.org/ontology/story#StoryOutput
#
# https://ekgf.org/ontology/story#StoryRequest
#
# https://ekgf.org/ontology/story#StoryResult
#
# https://ekgf.org/ontology/story#TransformationRule
#
# https://ekgf.org/ontology/story#ValidationRule
#
# Generated by the OWL API (version 4.5.26.2023-07-17T20:34:13Z) https://github.com/owlcs/owlapi
<#> a owl:Ontology;
owl:imports <concept#>, <outcome#>, <persona#>;
rdfs:comment "The EKGF story Ontology"@en;
rdfs:label "EKGF Story Ontology"@en .
dc:creator a owl:AnnotationProperty .
dc:date a owl:AnnotationProperty .
concept:hasConcept rdfs:domain _:genid1 .
_:genid1 a owl:Class;
owl:unionOf _:genid3 .
_:genid3 a rdf:List;
rdf:first :StoryInput;
rdf:rest _:genid2 .
_:genid2 a rdf:List;
rdf:first :StoryOutput;
rdf:rest rdf:nil .
:canUseStory a owl:ObjectProperty;
owl:inverseOf :hasPersona;
rdfs:domain persona:Persona;
rdfs:range :Story .
:creates a owl:ObjectProperty;
rdfs:domain :Rule;
rdfs:range :CreationInfo;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-04-08T07:01:36Z"^^xsd:dateTime;
rdfs:comment "A story or rule can create new triples in the target graph, \"creates\" points to a blank node (usually) that has parts of a reified triple (rdf:Statement) showing what will be created by this rule."@en .
:deletes a owl:ObjectProperty;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-04-08T07:17:55Z"^^xsd:dateTime;
rdfs:comment "A story or rule can delete old triples in the source graph (the \"raw\" data graph usually). \"deletes\" points to a blank node (usually) that has parts of a reified triple (rdf:Statement) showing what will be deleted by this rule."@en .
:hasInput a owl:ObjectProperty;
rdfs:domain :Story;
rdfs:range :StoryInput;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-04-28T13:27:52Z"^^xsd:dateTime;
rdfs:comment "An Input Parameter links a Concept to a Story as one of its inputs"@en;
rdfs:label "has input parameter"@en .
:hasOutcome a owl:ObjectProperty;
rdfs:domain :Story;
rdfs:range outcome:Outcome;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-04-01T18:12:32Z"^^xsd:dateTime .
:hasOutput a owl:ObjectProperty;
rdfs:domain :Story;
rdfs:range :StoryOutput;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-04-28T18:48:14Z"^^xsd:dateTime .
:hasPersona a owl:ObjectProperty;
rdfs:domain :Story;
rdfs:range persona:Persona;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-04-01T18:12:45Z"^^xsd:dateTime;
rdfs:comment "The Persona (or Personas) of the given Story"@en .
:implementedBy a owl:ObjectProperty;
owl:inverseOf :implements;
rdfs:domain :Story;
rdfs:label "Implemented By"@en .
:implements a owl:ObjectProperty, owl:FunctionalProperty;
rdfs:range :Story .
:supportedByStory a owl:ObjectProperty;
owl:inverseOf :supportsConcept;
rdfs:domain concept:Concept;
rdfs:range :Story;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-07-02T13:11:03Z"^^xsd:dateTime;
rdfs:label "Supported by transform rule"@en .
:supportsConcept a owl:ObjectProperty;
rdfs:domain :Story;
rdfs:range concept:Concept;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-07-02T13:10:04Z"^^xsd:dateTime;
rdfs:comment "This story or rule supports the given Concept in the sense that it either uses or creates the data represented by the Concept"@en;
rdfs:label "Supports Concept"@en .
:createsProvenance a owl:DatatypeProperty;
rdfs:domain :Story;
rdfs:range xsd:boolean;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-04-07T22:36:52Z"^^xsd:dateTime .
:currentTime a owl:DatatypeProperty, owl:FunctionalProperty;
rdfs:domain :StoryInput;
rdfs:range xsd:dateTime;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-04-07T20:48:22Z"^^xsd:dateTime;
rdfs:comment "indicates that, if provided and if true, the Story Service needs to provide the current time as the value for this input parameter."@en .
:isPlural a owl:DatatypeProperty, owl:FunctionalProperty;
rdfs:domain :Story;
rdfs:range xsd:boolean;
owl:propertyDisjointWith :isSingular;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-05-06T09:38:46Z"^^xsd:dateTime;
rdfs:comment "Do not use, use isSingular"@en .
:isServerProvided a owl:DatatypeProperty, owl:FunctionalProperty;
rdfs:domain :StoryInput;
rdfs:range xsd:boolean;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-04-07T20:48:22Z"^^xsd:dateTime;
rdfs:comment "indicates that, if provided and if true, the Story Service needs to provide a KGIRI as the value for this input parameter."@en .
:isSingular a owl:DatatypeProperty, owl:FunctionalProperty;
rdfs:domain :Story;
rdfs:range xsd:boolean;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-05-06T09:37:47Z"^^xsd:dateTime;
rdfs:comment "Means that the story results in a singular Thing as its output"@en .
:serverGeneratedGuid a owl:DatatypeProperty, owl:FunctionalProperty;
rdfs:domain :StoryInput;
rdfs:range xsd:boolean;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-04-07T20:48:22Z"^^xsd:dateTime;
rdfs:comment "indicates that, if provided and if true, the Story Service needs to generate a GUID KGIRI as the value for this input parameter."@en .
:CreationInfo a owl:Class .
:MandatoryParameter a owl:Class;
rdfs:subClassOf :StoryInput;
owl:disjointWith :OptionalParameter;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-05-03T10:47:58Z"^^xsd:dateTime;
rdfs:isDefinedBy <#> .
:ObfuscationRule a owl:Class;
rdfs:subClassOf :Rule;
rdfs:isDefinedBy <#>;
rdfs:label "Obfuscation Rule"@en .
:OptionalParameter a owl:Class;
rdfs:subClassOf :StoryInput;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-05-03T10:48:18Z"^^xsd:dateTime;
rdfs:isDefinedBy <#> .
:OptionalStoryOutput a owl:Class;
rdfs:subClassOf :StoryOutput;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-05-06T09:03:23Z"^^xsd:dateTime;
rdfs:isDefinedBy <#> .
:Rule a owl:Class;
rdfs:subClassOf :Story;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-04-07T22:35:33Z"^^xsd:dateTime;
rdfs:isDefinedBy <#> .
:SPARQLRule a owl:Class;
rdfs:subClassOf :Rule;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-04-07T22:35:38Z"^^xsd:dateTime;
rdfs:isDefinedBy <#>;
rdfs:label "SPARQL Rule"@en .
:Story a owl:Class;
owl:disjointWith :StoryInput, :StoryOutput, :StoryRequest, :StoryResult;
rdfs:isDefinedBy <#>;
rdfs:label "Story"@en .
:StoryInput a owl:Class;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-04-01T17:24:36Z"^^xsd:dateTime;
rdfs:comment "A StoryInput in the context of the Concept and Story Ontologies is the type of a blank node that serves as the specification of a parameter to a story."@en;
rdfs:isDefinedBy <#> .
:StoryOutput a owl:Class;
dc:creator <http://orcid.org/0000-0003-2309-5068>;
dc:date "2020-04-07T20:40:12Z"^^xsd:dateTime;
rdfs:comment "A StoryOutput in the context of the Concept and Story Ontologies is the type of a blank node that serves as the specification of a result-column or result-key of a story."@en;
rdfs:isDefinedBy <#> .
:StoryRequest a owl:Class;
rdfs:comment "Request to Execute a Story"@en;
rdfs:isDefinedBy <#>;
rdfs:label "Story Request"@en .
:StoryResult a owl:Class;
rdfs:comment "Every Story produces a Result, whether in the form of just an error code, success code or a stream of data points."@en;
rdfs:isDefinedBy <#>;
rdfs:label "Story Result"@en .
:TransformationRule a owl:Class;
rdfs:subClassOf :Rule;
rdfs:isDefinedBy <#>;
rdfs:label "Transformation Rule"@en .
:ValidationRule a owl:Class;
rdfs:subClassOf :Rule;
rdfs:isDefinedBy <#>;
rdfs:label "Validation Rule"@en .