-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoteapi.ttl
505 lines (379 loc) · 19.6 KB
/
oteapi.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
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
@prefix : <http://w3id.org/emmo/domain/oteio/oteapi#> .
@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 skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@base <http://w3id.org/emmo/domain/oteio/oteapi#> .
<http://w3id.org/emmo/domain/oteio/oteapi> rdf:type owl:Ontology ;
owl:versionIRI <http://w3id.org/emmo/domain/oteio/0.4.0/oteapi> ;
owl:imports <https://w3id.org/emmo/1.0.0/disciplines/computerscience> ,
<https://w3id.org/emmo/1.0.0/reference/workflow> ,
<https://w3id.org/emmo/1.0.0/reference/data> ;
dcterms:abstract "An EMMO-based ontology providing a semantic descriptions of OTEAPI data models." ;
dcterms:author "Jesper Friis, SINTEF" ,
"Treesa Rose Joseph, SINTEF" ;
dcterms:title "OTEAPI Datamodel Ontology" ;
owl:versionInfo "0.4.0" .
#################################################################
# Annotation properties
#################################################################
### http://purl.org/dc/terms/contributor
dcterms:contributor rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/creator
dcterms:creator rdf:type owl:AnnotationProperty .
### http://www.w3.org/2004/02/skos/core#prefLabel
skos:prefLabel rdf:type owl:AnnotationProperty .
#################################################################
# Object Properties
#################################################################
### http://emmo.info/oteio#accessKey
:accessKey rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :DataCacheConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Key with which the downloaded content can be accessed. Should preferable be the hash (corresponding to `hashType`) of the content if it is known."@en ;
rdfs:label "accessKey"@en .
### http://emmo.info/oteio#accessRights
:accessRights rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ,
dcterms:accessRights ;
rdfs:domain :ResourceConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "A rights statement that concerns how the distribution is accessed."@en ;
rdfs:label "accessRights"@en .
### http://emmo.info/oteio#accessService
:accessService rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ,
dcat:accessService ;
rdfs:domain :ResourceConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "A data service that gives access to the distribution of the dataset."@en ;
rdfs:label "accessService"@en .
### http://emmo.info/oteio#accessUrl
:accessUrl rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ,
dcat:accessUrl ;
rdfs:domain :ResourceConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment """A URL of the resource that gives access to a distribution of the dataset. E.g. landing page, feed, SPARQL endpoint.
Usage: `accessURL` *SHOULD* be used for the URL of a service or location that can provide access to this distribution, typically through a Web form, query or API call.
`downloadURL` is preferred for direct links to downloadable resources."""@en ;
rdfs:label "accessUrl"@en .
### http://emmo.info/oteio#agraphHost
:agraphHost rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :TripleStoreConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "AllegroGraph host name."@en ;
rdfs:label "agraphHost"@en .
### http://emmo.info/oteio#agraphPassword
:agraphPassword rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :TripleStoreConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "AllegroGraph user password."@en ;
rdfs:label "agraphPassword"@en .
### http://emmo.info/oteio#agraphPort
:agraphPort rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :TripleStoreConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "AllegroGraph port number."@en ;
rdfs:label "agraphPort"@en .
### http://emmo.info/oteio#agraphUser
:agraphUser rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :TripleStoreConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "AllegroGraph user name."@en ;
rdfs:label "agraphUser"@en .
### http://emmo.info/oteio#cacheDir
:cacheDir rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :DataCacheConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Cache directory."@en ;
rdfs:label "cacheDir"@en .
### http://emmo.info/oteio#condition
:condition rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :FilterConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Logical statement indicating when a filter should be applied."@en ;
rdfs:label "condition"@en .
### http://emmo.info/oteio#configuration
:configuration rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :FilterConfig ,
:FunctionConfig ,
:GenericConfig ,
:MappingConfig ,
:ResourceConfig ,
:TransformationConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Model-specific configuration options which can either be given as key/value-pairs or set as attributes."@en ;
rdfs:label "configuration"@en .
### http://emmo.info/oteio#description
:description rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :FilterConfig ,
:FunctionConfig ,
:GenericConfig ,
:MappingConfig ,
:ResourceConfig ,
:TransformationConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "A description of the configuration model."@en ;
rdfs:label "description"@en .
### http://emmo.info/oteio#downloadUrl
:downloadUrl rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ,
dcat:downloadUrl ;
rdfs:domain :ResourceConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment """Definition: The URL of the downloadable file in a given format. E.g. CSV file or RDF file.
Usage: `downloadURL` *SHOULD* be used for the URL at which this distribution is available directly, typically through a HTTPS GET request or SFTP."""@en ;
rdfs:label "downloadUrl"@en .
### http://emmo.info/oteio#due
:due rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :TransformationConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Optional field to indicate a due data/time for when a transformation should finish."@en ;
rdfs:label "due"@en .
### http://emmo.info/oteio#expireTime
:expireTime rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :DataCacheConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Number of seconds before the cache entry expires. Zero means no expiration. Default is two weeks."@en ;
rdfs:label "expireTime"@en .
### http://emmo.info/oteio#filterType
:filterType rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :FilterConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Type of registered filter strategy. E.g., `filter/sql`."@en ;
rdfs:label "filterType"@en .
### http://emmo.info/oteio#functionType
:functionType rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :FunctionConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Type of registered function strategy."@en ;
rdfs:label "functionType"@en .
### http://emmo.info/oteio#hasProperty
:hasProperty rdf:type owl:ObjectProperty ;
rdfs:label "hasProperty"@en .
### http://emmo.info/oteio#hashType
:hashType rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :DataCacheConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Hash algorithm to use for creating hash keys for stored data. Can be any algorithm supported by hashlib."@en ;
rdfs:label "hashType"@en .
### http://emmo.info/oteio#license
:license rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :ResourceConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "A legal document under which the distribution is made available."@en ;
rdfs:label "license"@en .
### http://emmo.info/oteio#limit
:limit rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :FilterConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Number of items remaining after a filter expression."@en ;
rdfs:label "limit"@en .
### http://emmo.info/oteio#mappingType
:mappingType rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :MappingConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Type of registered mapping strategy."@en ;
rdfs:label "mappingType"@en .
### http://emmo.info/oteio#mediaType
:mediaType rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ,
dcat:mediaType ;
rdfs:domain :ResourceConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment """The media type of the distribution as defined by IANA [[IANA-MEDIA-TYPES](https://www.w3.org/TR/vocab-dcat-2/#bib-iana-media-types)].
Usage: This property *SHOULD* be used when the media type of the distribution is defined in IANA [[IANA-MEDIA-TYPES](https://www.w3.org/TR/vocab-dcat-2/#bib-iana-media-types)]."""@en ;
rdfs:label "mediaType"@en .
### http://emmo.info/oteio#name
:name rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :TransformationConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Human-readable name of the transformation strategy."@en ;
rdfs:label "name"@en .
### http://emmo.info/oteio#prefixes
:prefixes rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :MappingConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "List of shortnames that expands to an IRI given as local value/IRI-expansion-pairs."@en ;
rdfs:label "prefixes"@en .
### http://emmo.info/oteio#priority
:priority rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :TransformationConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Define the process priority of the transformation execution."@en ;
rdfs:label "priority"@en .
### http://emmo.info/oteio#publisher
:publisher rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :ResourceConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "The entity responsible for making the resource/item available."@en ;
rdfs:label "publisher"@en .
### http://emmo.info/oteio#query
:query rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :FilterConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Define a query operation."@en ;
rdfs:label "query"@en .
### http://emmo.info/oteio#repositoryName
:repositoryName rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :TripleStoreConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "The repository name, where the mappings are stored."@en ;
rdfs:label "repositoryName"@en .
### http://emmo.info/oteio#secret
:secret rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :TransformationConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Authorization secret given when running a transformation."@en ;
rdfs:label "secret"@en .
### http://emmo.info/oteio#tag
:tag rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :DataCacheConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Tag assigned to the downloaded content, typically identifying a session. Used with the `evict()` method to clean up a all cache entries with a given tag."@en ;
rdfs:label "tag"@en .
### http://emmo.info/oteio#transformationType
:transformationType rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :TransformationConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "Type of registered transformation strategy. E.g., `celery/remote`."@en ;
rdfs:label "transformationType"@en .
### http://emmo.info/oteio#triples
:triples rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :hasProperty ;
rdfs:domain :MappingConfig ;
rdfs:range rdfs:Resource ;
rdfs:comment "List of RDF triples given as (subject, predicate, object)."@en ;
rdfs:label "triples"@en .
### http://purl.org/dc/terms/accessRights
dcterms:accessRights rdf:type owl:ObjectProperty .
### http://www.w3.org/ns/dcat#accessService
dcat:accessService rdf:type owl:ObjectProperty .
### http://www.w3.org/ns/dcat#accessUrl
dcat:accessUrl rdf:type owl:ObjectProperty .
### http://www.w3.org/ns/dcat#downloadUrl
dcat:downloadUrl rdf:type owl:ObjectProperty .
### http://www.w3.org/ns/dcat#mediaType
dcat:mediaType rdf:type owl:ObjectProperty .
#################################################################
# Data properties
#################################################################
### http://emmo.info/oteio#hasPypiPackageName
:hasPypiPackageName rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf owl:topDataProperty ;
rdfs:range xsd:string ;
rdfs:comment "Relates a mapping function to the name of the PyPI package that provides it."@en ;
skos:prefLabel "hasPypiPackageName"@en .
### http://emmo.info/oteio#hasPythonFunctionName
:hasPythonFunctionName rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf owl:topDataProperty ;
rdfs:range xsd:string ;
rdfs:comment "Relates a mapping function to the name of the Python function implementing it."@en ;
skos:prefLabel "hasPythonFunctionName"@en .
### http://emmo.info/oteio#hasPythonModuleName
:hasPythonModuleName rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf owl:topDataProperty ;
rdfs:range xsd:string ;
rdfs:comment "Relates a mapping function to the fully qualified name of the Python module that implements it."@en ;
skos:prefLabel "hasPythonModuleName"@en .
### http://emmo.info/oteio#hasPythonPackageName
:hasPythonPackageName rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf owl:topDataProperty ;
rdfs:range xsd:string ;
rdfs:comment "Relates a mapping function to the name of the Python package that implements it."@en ;
skos:prefLabel "hasPythonPackageName"@en .
#################################################################
# Classes
#################################################################
### http://emmo.info/oteio#Configuration
:Configuration rdf:type owl:Class ;
rdfs:comment "A configuration of a filter. It provides all the configuration a filter needs for its execution, including which strategy should be used."@en ;
skos:prefLabel "Configuration"@en .
### http://emmo.info/oteio#DataCacheConfig
:DataCacheConfig rdf:type owl:Class ;
rdfs:subClassOf :Configuration ;
rdfs:comment """DataCache Configuration.
This class should not be used directly as a configuration object
for a strategy object, but only as a configuration field inside
a configuration object."""@en ;
rdfs:label "DataCacheConfig"@en .
### http://emmo.info/oteio#FilterConfig
:FilterConfig rdf:type owl:Class ;
rdfs:subClassOf :Configuration ;
rdfs:comment "Filter Strategy Data Configuration."@en ;
rdfs:label "FilterConfig"@en .
### http://emmo.info/oteio#FunctionConfig
:FunctionConfig rdf:type owl:Class ;
rdfs:subClassOf :Configuration ;
rdfs:comment "Function Strategy Data Configuration."@en ;
rdfs:label "FunctionConfig"@en .
### http://emmo.info/oteio#GenericConfig
:GenericConfig rdf:type owl:Class ;
rdfs:subClassOf :Configuration ;
rdfs:comment "Generic class for configuration objects."@en ;
rdfs:label "GenericConfig"@en .
### http://emmo.info/oteio#MappingConfig
:MappingConfig rdf:type owl:Class ;
rdfs:subClassOf :Configuration ;
rdfs:comment "Mapping Strategy Data Configuration."@en ;
rdfs:label "MappingConfig"@en .
### http://emmo.info/oteio#ResourceConfig
:ResourceConfig rdf:type owl:Class ;
rdfs:subClassOf :Configuration ;
rdfs:comment """Resource Strategy Data Configuration.
Important:
Either of the pairs of attributes `downloadUrl`/`mediaType` or
`accessUrl`/`accessService` MUST be specified."""@en ;
rdfs:label "ResourceConfig"@en .
### http://emmo.info/oteio#SessionUpdate
:SessionUpdate rdf:type owl:Class ;
rdfs:comment "Session Update Data Model for returning values."@en ;
rdfs:label "SessionUpdate"@en .
### http://emmo.info/oteio#TransformationConfig
:TransformationConfig rdf:type owl:Class ;
rdfs:subClassOf :Configuration ;
rdfs:comment "Transformation Strategy Data Configuration."@en ;
rdfs:label "TransformationConfig"@en .
### http://emmo.info/oteio#TripleStoreConfig
:TripleStoreConfig rdf:type owl:Class ;
rdfs:subClassOf :Configuration ;
rdfs:comment """TripleStore Configuration.
This is a configuration for the
[`TripleStore`][oteapi.triplestore.triplestore.TripleStore].
This class should not be used directly as a configuration object
for a strategy object, but only as a configuration field inside
a configuration object."""@en ;
rdfs:label "TripleStoreConfig"@en .
### http://www.w3.org/2000/01/rdf-schema#Resource
rdfs:Resource rdf:type owl:Class .
### Generated by the OWL API (version 4.5.25.2023-02-15T19:15:49Z) https://github.com/owlcs/owlapi