-
Notifications
You must be signed in to change notification settings - Fork 0
/
data-metrics.ttl
631 lines (384 loc) · 15.7 KB
/
data-metrics.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
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
@prefix : <http://ontology/data-metrics#> .
@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 obda: <https://w3id.org/obda/vocabulary#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <http://ontology/data-metrics> .
<http://ontology/data-metrics> rdf:type owl:Ontology ;
dc:author "t.smith:cdsrv.llc"^^xsd:string ;
rdfs:comment "extend xsd with convertible units for bits & bytes" ,
"simplified + readable version of https://bioportal.bioontology.org/ontologies/UO/" ;
rdfs:isDefinedBy "https://en.wikipedia.org/wiki/Units_of_information"^^xsd:anyURI ;
owl:versionInfo "0.0a : rewrite of \"UO\" to avoid index-ID as property literals" .
#################################################################
# Annotation properties
#################################################################
### http://purl.org/dc/elements/1.1/author
dc:author rdf:type owl:AnnotationProperty .
#################################################################
# Object Properties
#################################################################
### http://ontology/data-metrics#BinaryRelation
:BinaryRelation rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :RelationType .
### http://ontology/data-metrics#Member
:Member rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf owl:topObjectProperty .
### http://ontology/data-metrics#RelationProperty
:RelationProperty rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf owl:topObjectProperty .
### http://ontology/data-metrics#RelationType
:RelationType rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf owl:topObjectProperty .
### http://ontology/data-metrics#Set
:Set rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf owl:topObjectProperty .
### http://ontology/data-metrics#SubSet
:SubSet rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :Set .
### http://ontology/data-metrics#bit
:bit rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf owl:topObjectProperty .
### http://ontology/data-metrics#byte
:byte rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :bit .
### http://ontology/data-metrics#divisibility
:divisibility rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :reflexive .
### http://ontology/data-metrics#equality
:equality rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :reflexive .
### http://ontology/data-metrics#exa
:exa rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :rangeName .
### http://ontology/data-metrics#giga
:giga rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :rangeName .
### http://ontology/data-metrics#hasDimension
:hasDimension rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf owl:topObjectProperty .
### http://ontology/data-metrics#hasDuration
:hasDuration rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf owl:topObjectProperty .
### http://ontology/data-metrics#hasNotationSystem
:hasNotationSystem rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf owl:topObjectProperty .
### http://ontology/data-metrics#hasNumericSystem
:hasNumericSystem rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf owl:topObjectProperty .
### http://ontology/data-metrics#hasQuantity
:hasQuantity rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf owl:topObjectProperty .
### http://ontology/data-metrics#hasSize
:hasSize rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf owl:topObjectProperty .
### http://ontology/data-metrics#inclusion
:inclusion rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :reflexive .
### http://ontology/data-metrics#irreflexive
:irreflexive rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :RelationProperty .
### http://ontology/data-metrics#isCoprimeTo
:isCoprimeTo rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :irreflexive .
### http://ontology/data-metrics#isFunction
:isFunction rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :BinaryRelation .
### http://ontology/data-metrics#isGreaterThan
:isGreaterThan rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :irreflexive .
### http://ontology/data-metrics#isGreaterThanOrEqualTo
:isGreaterThanOrEqualTo rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :reflexive .
### http://ontology/data-metrics#isLessThan
:isLessThan rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :irreflexive .
### http://ontology/data-metrics#isLessThanOrEqualTo
:isLessThanOrEqualTo rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :reflexive .
### http://ontology/data-metrics#isProperSubsetOf
:isProperSubsetOf rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :irreflexive .
### http://ontology/data-metrics#kilo
:kilo rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :rangeName .
### http://ontology/data-metrics#mega
:mega rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :rangeName .
### http://ontology/data-metrics#notEqualTo
:notEqualTo rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :irreflexive .
### http://ontology/data-metrics#peta
:peta rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :rangeName .
### http://ontology/data-metrics#rangeName
:rangeName rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf owl:topObjectProperty .
### http://ontology/data-metrics#reflexive
:reflexive rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :RelationProperty .
### http://ontology/data-metrics#symmetric
:symmetric rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :RelationProperty .
### http://ontology/data-metrics#tera
:tera rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :rangeName .
### http://ontology/data-metrics#transitive
:transitive rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :RelationProperty .
#################################################################
# Classes
#################################################################
### http://ontology/data-metrics#Addition
:Addition rdf:type owl:Class ;
rdfs:subClassOf :Binary .
### http://ontology/data-metrics#Alpha
:Alpha rdf:type owl:Class ;
rdfs:subClassOf :ValueType .
### http://ontology/data-metrics#And
:And rdf:type owl:Class ;
rdfs:subClassOf :Logic .
### http://ontology/data-metrics#Binary
:Binary rdf:type owl:Class ;
rdfs:subClassOf :Operation .
### http://ontology/data-metrics#BinaryRelation
:BinaryRelation rdf:type owl:Class ;
rdfs:subClassOf :Relation .
### http://ontology/data-metrics#Complement
:Complement rdf:type owl:Class ;
rdfs:subClassOf :Binary .
### http://ontology/data-metrics#Composition
:Composition rdf:type owl:Class ;
rdfs:subClassOf :Binary .
### http://ontology/data-metrics#Converse
:Converse rdf:type owl:Class ;
rdfs:subClassOf :Binary .
### http://ontology/data-metrics#Count
:Count rdf:type owl:Class ;
rdfs:comment "https://en.wikipedia.org/wiki/Cardinality"^^xsd:anyURI .
### http://ontology/data-metrics#Division
:Division rdf:type owl:Class ;
rdfs:subClassOf :Binary .
### http://ontology/data-metrics#Element
:Element rdf:type owl:Class ;
rdfs:subClassOf :Set .
### http://ontology/data-metrics#EqualTo
:EqualTo rdf:type owl:Class ;
rdfs:subClassOf :Relation .
### http://ontology/data-metrics#Exponentiation
:Exponentiation rdf:type owl:Class ;
rdfs:subClassOf :Binary .
### http://ontology/data-metrics#False
:False rdf:type owl:Class ;
rdfs:subClassOf :Logical .
### http://ontology/data-metrics#Function
:Function rdf:type owl:Class .
### http://ontology/data-metrics#GreaterThan
:GreaterThan rdf:type owl:Class ;
rdfs:subClassOf :Relation .
### http://ontology/data-metrics#Integer
:Integer rdf:type owl:Class ;
rdfs:subClassOf :Rational .
### http://ontology/data-metrics#Intersection
:Intersection rdf:type owl:Class ;
rdfs:subClassOf :Binary .
### http://ontology/data-metrics#Irrational
:Irrational rdf:type owl:Class ;
rdfs:subClassOf :Real ;
owl:disjointWith :Rational .
### http://ontology/data-metrics#LessThan
:LessThan rdf:type owl:Class ;
rdfs:subClassOf :Relation .
### http://ontology/data-metrics#Logic
:Logic rdf:type owl:Class ;
rdfs:subClassOf :Operation .
### http://ontology/data-metrics#Logical
:Logical rdf:type owl:Class ;
rdfs:subClassOf :ValueType .
### http://ontology/data-metrics#Member
:Member rdf:type owl:Class ;
rdfs:subClassOf :Set .
### http://ontology/data-metrics#Multiplication
:Multiplication rdf:type owl:Class ;
rdfs:subClassOf :Binary .
### http://ontology/data-metrics#Natural
:Natural rdf:type owl:Class ;
rdfs:subClassOf :Whole .
### http://ontology/data-metrics#Not
:Not rdf:type owl:Class ;
rdfs:subClassOf :Logic .
### http://ontology/data-metrics#NotationPrefix
:NotationPrefix rdf:type owl:Class .
### http://ontology/data-metrics#NotationSystem
:NotationSystem rdf:type owl:Class ;
rdfs:comment "https://en.wikipedia.org/wiki/Positional_notation"^^xsd:anyURI .
### http://ontology/data-metrics#NumberType
:NumberType rdf:type owl:Class .
### http://ontology/data-metrics#NumeralSystem
:NumeralSystem rdf:type owl:Class ;
rdfs:comment "https://en.wikipedia.org/wiki/Numeral_system"^^xsd:anyURI .
### http://ontology/data-metrics#Numeric
:Numeric rdf:type owl:Class ;
rdfs:subClassOf :ValueType .
### http://ontology/data-metrics#Operand
:Operand rdf:type owl:Class .
### http://ontology/data-metrics#Operation
:Operation rdf:type owl:Class ;
rdfs:comment "https://en.wikipedia.org/wiki/Operation_(mathematics)"^^xsd:anyURI .
### http://ontology/data-metrics#Operator
:Operator rdf:type owl:Class .
### http://ontology/data-metrics#Or
:Or rdf:type owl:Class ;
rdfs:subClassOf :Logic .
### http://ontology/data-metrics#PositionalNotation
:PositionalNotation rdf:type owl:Class ;
rdfs:subClassOf :NotationSystem .
### http://ontology/data-metrics#Quantity
:Quantity rdf:type owl:Class ;
rdfs:subClassOf :numerical .
### http://ontology/data-metrics#Rational
:Rational rdf:type owl:Class ;
rdfs:subClassOf :Real .
### http://ontology/data-metrics#Real
:Real rdf:type owl:Class ;
rdfs:subClassOf :NumberType .
### http://ontology/data-metrics#Relation
:Relation rdf:type owl:Class .
### http://ontology/data-metrics#Restriction
:Restriction rdf:type owl:Class ;
rdfs:subClassOf :Binary .
### http://ontology/data-metrics#Set
:Set rdf:type owl:Class .
### http://ontology/data-metrics#Size
:Size rdf:type owl:Class ;
rdfs:subClassOf :numerical .
### http://ontology/data-metrics#Subtraction
:Subtraction rdf:type owl:Class ;
rdfs:subClassOf :Binary .
### http://ontology/data-metrics#Symbol
:Symbol rdf:type owl:Class .
### http://ontology/data-metrics#Symbolic
:Symbolic rdf:type owl:Class ;
rdfs:subClassOf :ValueType .
### http://ontology/data-metrics#True
:True rdf:type owl:Class ;
rdfs:subClassOf :Logical .
### http://ontology/data-metrics#Unary
:Unary rdf:type owl:Class ;
rdfs:subClassOf :Operation .
### http://ontology/data-metrics#Union
:Union rdf:type owl:Class ;
rdfs:subClassOf :Binary .
### http://ontology/data-metrics#UnitSystem
:UnitSystem rdf:type owl:Class .
### http://ontology/data-metrics#Value
:Value rdf:type owl:Class .
### http://ontology/data-metrics#ValueType
:ValueType rdf:type owl:Class .
### http://ontology/data-metrics#Whole
:Whole rdf:type owl:Class ;
rdfs:subClassOf :Rational .
### http://ontology/data-metrics#base
:base rdf:type owl:Class ;
rdfs:subClassOf :NumeralSystem .
### http://ontology/data-metrics#bits
:bits rdf:type owl:Class ;
rdfs:subClassOf :information .
### http://ontology/data-metrics#bytes
:bytes rdf:type owl:Class ;
rdfs:subClassOf :bits .
### http://ontology/data-metrics#character
:character rdf:type owl:Class ;
rdfs:subClassOf :Symbol .
### http://ontology/data-metrics#day
:day rdf:type owl:Class ;
rdfs:subClassOf :hour .
### http://ontology/data-metrics#digit
:digit rdf:type owl:Class ;
rdfs:subClassOf :PositionalNotation .
### http://ontology/data-metrics#dimension
:dimension rdf:type owl:Class ;
rdfs:subClassOf :space .
### http://ontology/data-metrics#glyph
:glyph rdf:type owl:Class ;
rdfs:subClassOf :Symbol .
### http://ontology/data-metrics#hour
:hour rdf:type owl:Class ;
rdfs:subClassOf :minute .
### http://ontology/data-metrics#index
:index rdf:type owl:Class ;
rdfs:subClassOf :PositionalNotation .
### http://ontology/data-metrics#information
:information rdf:type owl:Class ;
rdfs:subClassOf :unitType .
### http://ontology/data-metrics#minute
:minute rdf:type owl:Class ;
rdfs:subClassOf :second .
### http://ontology/data-metrics#month
:month rdf:type owl:Class ;
rdfs:subClassOf :day .
### http://ontology/data-metrics#negative
:negative rdf:type owl:Class ;
rdfs:subClassOf :Integer .
### http://ontology/data-metrics#numerical
:numerical rdf:type owl:Class ;
rdfs:subClassOf :unitType .
### http://ontology/data-metrics#position
:position rdf:type owl:Class ;
rdfs:subClassOf :PositionalNotation .
### http://ontology/data-metrics#positive
:positive rdf:type owl:Class ;
rdfs:subClassOf :Integer .
### http://ontology/data-metrics#radix
:radix rdf:type owl:Class ;
rdfs:subClassOf :NumeralSystem .
### http://ontology/data-metrics#second
:second rdf:type owl:Class ;
rdfs:subClassOf :time .
### http://ontology/data-metrics#space
:space rdf:type owl:Class ;
rdfs:subClassOf :unitType .
### http://ontology/data-metrics#time
:time rdf:type owl:Class ;
rdfs:subClassOf :unitType .
### http://ontology/data-metrics#unitType
:unitType rdf:type owl:Class .
### http://ontology/data-metrics#volume
:volume rdf:type owl:Class ;
rdfs:subClassOf :space .
### http://ontology/data-metrics#year
:year rdf:type owl:Class ;
rdfs:subClassOf :month .
### http://ontology/data-metrics#zero
:zero rdf:type owl:Class ;
rdfs:subClassOf :Whole .
#################################################################
# Annotations
#################################################################
:BinaryRelation rdfs:comment "https://en.wikipedia.org/wiki/Binary_relation"^^xsd:anyURI .
:Set rdfs:comment "https://en.wikipedia.org/wiki/Set_(mathematics)"^^xsd:anyURI .
owl:topDataProperty rdfs:comment "lots todo" .
#################################################################
# General axioms
#################################################################
[ rdf:type owl:AllDisjointClasses ;
owl:members ( :Addition
:Division
:Exponentiation
:Multiplication
:Subtraction
)
] .
[ rdf:type owl:AllDisjointProperties ;
owl:members ( :exa
:giga
:kilo
:mega
:peta
:tera
)
] .
### Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi