-
Notifications
You must be signed in to change notification settings - Fork 0
/
ekgf-raw.ttl
324 lines (256 loc) · 12.6 KB
/
ekgf-raw.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
@prefix : <https://ekgf.org/ontology/raw#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@base <https://ekgf.org/ontology/raw#> .
:
rdf:type owl:Ontology ;
owl:imports rdf: ;
rdfs:comment
"The Raw Data Ontology is used by a \"capture step\" in an EKG DataOps pipeline to capture any data from any data source as RDF triples without mapping it to higher level ontologies. It is assumed that subsequent steps in a given EKG DataOps pipeline will transform the raw data to match with target ontologies."@en ;
rdfs:label "The Raw Data Ontology"@en .
#################################################################
# Annotation properties
#################################################################
### http://purl.org/dc/elements/1.1/creator
<http://purl.org/dc/elements/1.1/creator>
rdf:type owl:AnnotationProperty .
#################################################################
# Object Properties
#################################################################
### https://ekgf.org/ontology/raw#forPredicate
:forPredicate
rdf:type owl:ObjectProperty ;
rdfs:domain :Value ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:14:28Z"^^xsd:dateTime ;
rdfs:comment "The predicate for which the given value was encountered"@en ;
rdfs:label "For Predicate"@en .
### https://ekgf.org/ontology/raw#hasView
:hasView
rdf:type owl:ObjectProperty ;
owl:inverseOf :isViewIn ;
rdf:type owl:InverseFunctionalProperty ;
rdfs:domain :Source ;
rdfs:range :View ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:28:29Z"^^xsd:dateTime ;
rdfs:comment "One Source can have multiple Views"@en .
### https://ekgf.org/ontology/raw#isRowInView
:isRowInView
rdf:type owl:ObjectProperty, owl:FunctionalProperty ;
rdfs:domain :Row ;
rdfs:range :View ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:36:41Z"^^xsd:dateTime ;
rdfs:comment "The current row occurs in the given view."@en .
### https://ekgf.org/ontology/raw#isViewIn
:isViewIn
rdf:type owl:ObjectProperty, owl:FunctionalProperty ;
rdfs:domain :View ;
rdfs:range :Source ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:30:00Z"^^xsd:dateTime ;
rdfs:comment "This View occurs in the given Source"@en .
### https://ekgf.org/ontology/raw#predicate
:predicate
rdf:type owl:ObjectProperty, owl:FunctionalProperty ;
rdfs:domain :Column ;
rdfs:range rdf:Property ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:33:37Z"^^xsd:dateTime ;
rdfs:comment "The property that this Column is mapped to"@en .
### https://ekgf.org/ontology/raw#valueOf
:valueOf
rdf:type owl:ObjectProperty ;
rdfs:range :Row ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:17:59Z"^^xsd:dateTime ;
rdfs:comment "The Row at which we encountered this value"@en ;
rdfs:label "Value of"@en .
#################################################################
# Data properties
#################################################################
### https://ekgf.org/ontology/raw#columnNumber
:columnNumber
rdf:type owl:DatatypeProperty, owl:FunctionalProperty ;
rdfs:domain :Column ;
rdfs:range xsd:integer ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:31:29Z"^^xsd:dateTime ;
rdfs:comment "1-based column index"@en ;
rdfs:label "Column number"@en .
### https://ekgf.org/ontology/raw#count
:count
rdf:type owl:DatatypeProperty ;
rdfs:domain :Column ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
rdfs:comment "Count non-NA cells for each column or row."@en ;
rdfs:label "Count"@en ;
rdfs:seeAlso
"https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.count.html#pandas.DataFrame.count"@en .
### https://ekgf.org/ontology/raw#fileName
:fileName
rdf:type owl:DatatypeProperty, owl:FunctionalProperty ;
rdfs:domain :File ;
rdfs:range xsd:string ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:26:52Z"^^xsd:dateTime ;
rdfs:comment "The name of the file as it was passed to the capture step"@en ;
rdfs:label "File name"@en .
### https://ekgf.org/ontology/raw#freq
:freq
rdf:type owl:DatatypeProperty ;
rdfs:domain :Column ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
rdfs:label "The most common value’s frequency"@en ;
rdfs:seeAlso "https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.describe.html"@en .
### https://ekgf.org/ontology/raw#legacyId
:legacyId
rdf:type owl:DatatypeProperty, owl:FunctionalProperty ;
rdfs:domain :Row ;
rdfs:range xsd:string ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:38:33Z"^^xsd:dateTime ;
rdfs:comment "The values in the key-column in the given view will always be mapped to raw:legacyId"@en ;
rdfs:label "Legacy ID"@en .
### https://ekgf.org/ontology/raw#legacyIdInIri
:legacyIdInIri
rdf:type owl:DatatypeProperty, owl:FunctionalProperty ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:40:31Z"^^xsd:dateTime ;
rdfs:comment "The value of legacyId translated to an IRI-compliant lower kebab-case value"@en .
### https://ekgf.org/ontology/raw#localName
:localName
rdf:type owl:DatatypeProperty, owl:FunctionalProperty ;
rdfs:domain :Column ;
rdfs:range xsd:string ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:32:26Z"^^xsd:dateTime ;
rdfs:comment "The local name of the property that this Column is mapped to"@en ;
rdfs:label "Local name"@en .
### https://ekgf.org/ontology/raw#max
:max
rdf:type owl:DatatypeProperty ;
rdfs:domain :Column ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
rdfs:comment "The maximum of the values for the given axis."@en ;
rdfs:label "Maximum"@en ;
rdfs:seeAlso
"https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.max.html#pandas.DataFrame.max"@en .
### https://ekgf.org/ontology/raw#mean
:mean
rdf:type owl:DatatypeProperty ;
rdfs:domain :Column ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
rdfs:comment "The mean of the values for the given axis."@en ;
rdfs:label "Mean"@en ;
rdfs:seeAlso
"https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.mean.html#pandas.DataFrame.mean"@en .
### https://ekgf.org/ontology/raw#min
:min
rdf:type owl:DatatypeProperty ;
rdfs:domain :Column ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
rdfs:comment "The minimum of the values for the requested axis."@en ;
rdfs:label "Minimum"@en ;
rdfs:seeAlso
"https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.min.html#pandas.DataFrame.min"@en .
### https://ekgf.org/ontology/raw#std
:std
rdf:type owl:DatatypeProperty ;
rdfs:domain :Column ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
rdfs:comment "The sample standard deviation over given axis."@en ;
rdfs:label "Standard deviation"@en ;
rdfs:seeAlso
"https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.std.html#pandas.DataFrame.std"@en .
### https://ekgf.org/ontology/raw#top
:top
rdf:type owl:DatatypeProperty ;
rdfs:domain :Column ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
rdfs:label "Most common value"@en ;
rdfs:seeAlso "https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.describe.html"@en .
### https://ekgf.org/ontology/raw#unique
:unique
rdf:type owl:DatatypeProperty ;
rdfs:domain :Column ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
rdfs:label "Number of unique values"@en ;
rdfs:seeAlso "https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.describe.html"@en .
### https://ekgf.org/ontology/raw#viewRowNumber
:viewRowNumber
rdf:type owl:DatatypeProperty, owl:FunctionalProperty ;
rdfs:domain :Row ;
rdfs:range xsd:integer ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:41:42Z"^^xsd:dateTime ;
rdfs:comment "The 0-based sequence number of the Row in the given View as it was encountered in the Source"@en .
### https://ekgf.org/ontology/raw#25pct
:25pct
rdf:type owl:DatatypeProperty ;
rdfs:domain :Column ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> .
### https://ekgf.org/ontology/raw#50pct
:50pct
rdf:type owl:DatatypeProperty ;
rdfs:domain :Column ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> .
### https://ekgf.org/ontology/raw#75pct
:75pct
rdf:type owl:DatatypeProperty ;
rdfs:domain :Column ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> .
#################################################################
# Classes
#################################################################
### https://ekgf.org/ontology/raw#Column
:Column
rdf:type owl:Class ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:09:19Z"^^xsd:dateTime ;
rdfs:isDefinedBy <https://ekgf.org/ontology/raw#> .
### https://ekgf.org/ontology/raw#File
:File
rdf:type owl:Class ;
rdfs:subClassOf :Source ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:26:36Z"^^xsd:dateTime ;
rdfs:isDefinedBy <https://ekgf.org/ontology/raw#> .
### https://ekgf.org/ontology/raw#Row
:Row
rdf:type owl:Class ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:09:08Z"^^xsd:dateTime ;
rdfs:isDefinedBy <https://ekgf.org/ontology/raw#> .
### https://ekgf.org/ontology/raw#Source
:Source
rdf:type owl:Class ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:26:09Z"^^xsd:dateTime ;
rdfs:isDefinedBy <https://ekgf.org/ontology/raw#> .
### https://ekgf.org/ontology/raw#Value
:Value
rdf:type owl:Class ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:14:07Z"^^xsd:dateTime ;
rdfs:isDefinedBy <https://ekgf.org/ontology/raw#> .
### https://ekgf.org/ontology/raw#View
:View
rdf:type owl:Class ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:25:24Z"^^xsd:dateTime ;
rdfs:isDefinedBy <https://ekgf.org/ontology/raw#> .
### https://ekgf.org/ontology/raw#XlsxFile
:XlsxFile
rdf:type owl:Class ;
rdfs:subClassOf :File ;
<http://purl.org/dc/elements/1.1/creator> <http://orcid.org/0000-0003-2309-5068> ;
<http://purl.org/dc/elements/1.1/date> "2020-06-13T09:26:15Z"^^xsd:dateTime ;
rdfs:isDefinedBy <https://ekgf.org/ontology/raw#> .
### Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi