forked from iop-alliance/OpenKnowHow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathokh.ttl
1131 lines (1042 loc) · 38.1 KB
/
okh.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
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
@base <https://w3id.org/oseg/ont/okh> .
@prefix okh: <#> .
@prefix cc: <http://creativecommons.org/ns#> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dctype: <http://purl.org/dc/dcmitype/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix npg: <http://ns.nature.com/terms/> .
@prefix obo: <http://purl.obolibrary.org/obo/> .
@prefix okhmeta: <https://w3id.org/oseg/ont/okhmeta> .
@prefix osegprof: <https://w3id.org/oseg/ont/oseg-profiles#> .
@prefix otrl: <https://w3id.org/oseg/ont/otrl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix patent: <http://data.epo.org/linked-data/def/patent/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <http://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix spdxt: <http://spdx.org/rdf/terms#> .
@prefix spdxl: <https://spdx.org/licenses/> .
@prefix tsdc: <https://w3id.org/oseg/ont/tsdc/core#> .
@prefix vaem: <http://www.linkedmodel.org/schema/vaem#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<>
a owl:Ontology ;
a spdxt:File ;
vann:preferredNamespacePrefix "okh" ;
vann:preferredNamespaceUri "https://w3id.org/oseg/ont/okh#"^^xsd:anyURI ;
owl:versionInfo "1.1.0" ;
owl:versionIRI <https://w3id.org/oseg/ont/1.1.0/okh> ;
dcterms:title "Open Know How (OKH) ontology"@en ;
dcterms:description "Used for indexing, searching and comparing Open Source Hardware projects"@en ;
schema:comment '''
# SPDX-FileCopyrightText: 2020 - 2021 Martin Häuer <martin.haeuer@ose-germany.de>
# SPDX-FileCopyrightText: 2020 - 2024 Robin Vobruba <hoijui.quaero@gmail.com>
#
# SPDX-License-Identifier: GPL-3.0-or-later
''' ;
schema:comment '''Regarding the use of `schema:domainIncludes`
and `schema:rangeIncludes` in this ontology:
Looking at the definitions for the RDFS version
of the two, `rdfs:domain` and `rdfs:range`:
* https://www.w3.org/TR/rdf-schema/#ch_domain
* https://www.w3.org/TR/rdf-schema/#ch_range
and as described in this StackOverflow answer:
<https://stackoverflow.com/a/74782257/586229>,
multiple objects for the two RDFS properties mean,
that *all of them* apply, simultaneously,
not *one of them*.
You may think of this as an `AND` coupling.
We want the *one of them* meaning though (`OR`).
The `schema:*` properties give us just that.'''@en ;
dcterms:language <http://id.loc.gov/vocabulary/iso639-1/en> ;
dcterms:created "2020-10-02"^^xsd:date ;
dcterms:creator osegprof:martinHaeuer ;
schema:creator osegprof:martinHaeuer ;
dcterms:creator osegprof:robinVobruba ;
schema:creator osegprof:robinVobruba ;
dcterms:publisher osegprof:Iopa ;
dcterms:issued "2021-08-24T16:32:33Z"^^xsd:dateTimeStamp ;
dcterms:modified "2022-02-22T12:01:28Z"^^xsd:dateTimeStamp ;
dcterms:license "https://www.gnu.org/licenses/gpl-3.0.txt"^^xsd:anyURI ;
cc:license "https://www.gnu.org/licenses/gpl-3.0.txt"^^xsd:anyURI ;
spdxt:licenseDeclared spdxl:GPL-3.0-or-later ;
dcterms:source "https://github.com/iop-alliance/OpenKnowHow/master/src/spec/okh.ttl"^^xsd:anyURI ;
schema:codeRepository "https://github.com/iop-alliance/OpenKnowHow/"^^xsd:anyURI ;
dcat:keyword "OKH", "hardware", "design", "open-source", "open-source-hardware", "project" ;
dcat:contactPoint "https://github.com/iop-alliance/OpenKnowHow/"^^xsd:anyURI ;
.
okh:Component
a owl:Class ;
a skos:Concept ;
rdfs:label "component"@en ;
rdfs:comment "Either a module (MOSH) or Part (POSH); more component types may be added in the future"@en ;
rdfs:subClassOf spdxt:Package ;
vs:term_status "unstable" ;
okhmeta:hasMetaTag okhmeta:PartsTag ;
.
okh:Module
a owl:Class ;
a skos:Concept ;
rdfs:label "module"@en ;
rdfs:comment "Module of Open Source Hardware (MOSH)"@en ;
rdfs:subClassOf okh:Component ;
vs:term_status "unstable" ;
okhmeta:hasMetaTag okhmeta:PartsTag ;
.
okh:Part
a owl:Class ;
a skos:Concept ;
rdfs:label "part"@en ;
rdfs:comment "Piece of Open Source Hardware (POSH)"@en ;
rdfs:subClassOf okh:Component ;
vs:term_status "unstable" ;
okhmeta:hasMetaTag okhmeta:PartsTag ;
.
okh:Software
a owl:Class ;
a skos:Concept ;
rdfs:label "software"@en ;
rdfs:comment "Software (including firmware) needed to run & use the OSH"@en ;
rdfs:subClassOf okh:Component ;
rdfs:subClassOf dctype:Software ;
vs:term_status "unstable" ;
okhmeta:hasMetaTag okhmeta:PartsTag ;
.
okh:Reference
a owl:Class ;
rdfs:label "unambiguous reference"@en ;
vs:term_status "unstable" ;
.
okh:Publication
a owl:Class ;
a skos:Concept ;
rdfs:label "scientific publication"@en ;
rdfs:comment "_scientific_ (that is: peer reviewed) publication that _contains_ the design files"@en;
rdfs:subClassOf npg:Publication ;
vs:term_status "unstable" ;
okhmeta:hasMetaTag okhmeta:QualityTag ;
okhmeta:hasMetaTag okhmeta:AcademicTag ;
.
okh:Standard
a owl:Class ;
a skos:Concept ;
rdfs:label "technical standard"@en ;
rdfs:comment "official standard used in the _design_ (_not_ e.g. DIN SPEC 3105-1)"@en ;
vaem:todo "TODO We need a list of individuals of this class somewhere. It should already exist out there!" ;
rdfs:subClassOf dcterms:Standard ;
vs:term_status "unstable" ;
okhmeta:hasMetaTag okhmeta:QualityTag ;
.
okh:WebsiteUrl
a owl:Class ;
rdfs:label "website URL"@en ;
rdfs:subClassOf okh:Reference ;
rdfs:subClassOf schema:URL ;
vs:term_status "unstable" ;
.
okh:FileUrl
a owl:Class ;
rdfs:label "permanent URL to file"@en ;
rdfs:subClassOf okh:ComponentReference ;
rdfs:subClassOf schema:URL ;
vs:term_status "deprecated" ;
owl:deprecated "true"^^xsd:boolean ;
cc:deprecatedOn "2023-07-11"^^xsd:date ;
schema:supersededBy okh:File ;
.
okh:File
a owl:Class ;
rdfs:subClassOf schema:CreativeWork ;
rdfs:label "file"@en ;
rdfs:comment "A file that forms part of the project, specified/located either by a URL (okh:url) or a repo-/project-relative path (okh:relativePath)."@en ;
vs:term_status "unstable" ;
.
okh:ManifestFile
a owl:Class ;
a skos:Concept ;
rdfs:label "manifest file"@en ;
rdfs:comment "source file holding this projects OKH data in TOML format, from which RDF is generated"@en ;
rdfs:subClassOf okh:File ;
rdfs:subClassOf schema:TextDigitalDocument ;
vs:term_status "unstable" ;
okhmeta:hasMetaTag okhmeta:DataGatheringTag ;
.
okh:Image
a owl:Class ;
a skos:Concept ;
rdfs:label "image"@en ;
rdfs:subClassOf okh:File ;
rdfs:subClassOf schema:ImageObject ;
rdfs:subClassOf foaf:Image ;
rdfs:subClassOf dctype:StillImage ;
vs:term_status "unstable" ;
okhmeta:hasMetaTag okhmeta:BasicTag ;
.
okh:Dimensions
a owl:Class ;
a skos:Concept ;
rdfs:label "outer dimensions"@en ;
rdfs:comment '''… of a module or a part;
This follows the same logic as the "bounding-box" in computer graphics,
but in the physical world.
This is commonly used to calculate (or at least estimate)
how many items of a manufactured module or part
can be packed into storage space of known dimensions.'''@en ;
rdfs:subClassOf dcterms:SizeOrDuration ;
vs:term_status "unstable" ;
okhmeta:hasMetaTag okhmeta:PhysicalTag ;
okhmeta:hasMetaTag okhmeta:TransportationTag ;
.
okh:Mass
a owl:Class ;
a skos:Concept ;
rdfs:label "mass"@en ;
rdfs:comment "… of a module or a part"@en ;
vs:term_status "deprecated" ;
owl:deprecated "true"^^xsd:boolean ;
cc:deprecatedOn "2024-06-16"^^xsd:date ;
okhmeta:hasMetaTag okhmeta:PhysicalTag ;
okhmeta:hasMetaTag okhmeta:TransportationTag ;
.
okh:ComponentReference
a owl:Class ;
a skos:Concept ;
rdfs:subClassOf okh:Reference ;
rdfs:label "component reference"@en ;
rdfs:comment '''others shall be able to identify/procure this component only by the given reference(s),
MOSH → URL to corresponding release
POSH → URL to containing folder
STD → standard designation (preferably naming the _latest_ standard)
BUY → unambiguous reference'''@en ;
vs:term_status "deprecated" ;
owl:deprecated "true"^^xsd:boolean ;
cc:deprecatedOn "2023-08-19"^^xsd:date ;
okhmeta:hasMetaTag okhmeta:PartsTag ;
.
okh:okhv
a owl:DatatypeProperty ;
rdfs:label "OKH version"@en ;
rdfs:comment "version of OKH specification the metadata is following (different version → different data fields)"@en ;
rdfs:subPropertyOf schema:version ;
vs:term_status "unstable" ;
schema:domainIncludes okh:ManifestFile ;
owl:cardinality 1 ;
.
okh:dataSource
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "metadata source"@en ;
rdfs:comment "platform, where the crawler found the metadata (e.g. GitHub, Wikifactory)"@en ;
rdfs:seeAlso okh:repoHost ;
rdfs:subPropertyOf schema:url ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Module ;
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:DataTag ;
.
okh:repoHost
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "repository host"@en ;
rdfs:comment "platform where the OSH documentation is located (e.g. GitLab, Wikifactory or any self-hosted website or wiki)"@en ;
rdfs:seeAlso okh:dataSource ;
rdfs:subPropertyOf schema:url ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Module ;
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:HistoryTag ;
.
okh:uploadMethod
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "upload method"@en ;
rdfs:comment "e.g. auto (fully integrated platforms) or manifest file (for connected platforms)"@en ;
vs:term_status "unstable" ;
schema:rangeIncludes xsd:normalizedString ;
schema:domainIncludes okh:Component ;
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:DataGatheringTag ;
.
okh:repo
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "repository"@en ;
rdfs:comment '''URL to the (human browsable) place where development happens;
typically the repository.
Following this link, people should be able to contribute to the development:
reporting issues, suggesting changes, connecting to the team etc.'''@en;
rdfs:subPropertyOf schema:codeRepository ;
vs:term_status "unstable" ;
schema:rangeIncludes okh:WebsiteUrl ;
schema:domainIncludes okh:Module ;
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:BasicTag ;
okhmeta:hasMetaTag okhmeta:HistoryTag ;
okhmeta:hasMetaTag okhmeta:IdentificationTag ;
.
okh:repoSnapshot
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "repository snapshot"@en ;
rdfs:comment "Repository snapshot (=specific version) URL"@en ;
rdfs:subPropertyOf okh:repo ;
vs:term_status "unstable" ;
schema:rangeIncludes okh:WebsiteUrl ;
owl:cardinality 1 ;
schema:domainIncludes okh:Module ;
okhmeta:hasMetaTag okhmeta:HistoryTag ;
.
okh:version
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "version"@en ;
rdfs:comment "version of this Component, preferably in the semantic versioning scheme (semver.org)"@en ;
rdfs:subPropertyOf schema:version ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Module ;
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:HistoryTag ;
okhmeta:hasMetaTag okhmeta:IdentificationTag ;
.
okh:forkOf
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "fork of"@en ;
rdfs:comment "Indicates that this project was split of (aka forked) from an other project at some point in the past"@en ;
rdfs:subPropertyOf schema:isBasedOn ;
vs:term_status "unstable" ;
owl:maxCardinality 1 ;
schema:domainIncludes
okh:Module,
okh:Part ;
okhmeta:hasMetaTag okhmeta:HistoryTag ;
okhmeta:hasMetaTag okhmeta:IdentificationTag ;
.
okh:versionOf
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "version of"@en ;
rdfs:comment "connects specific versions of Modules with their versionless superclass"@en ;
vs:term_status "unstable" ;
schema:rangeIncludes okh:Module ;
schema:domainIncludes okh:Module ;
okhmeta:hasMetaTag okhmeta:HistoryTag ;
okhmeta:hasMetaTag okhmeta:IdentificationTag ;
.
okh:documentationLanguage
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "documentation language"@en ;
rdfs:comment '''denotes the language of the documentation.
The concrete format is an IETF language tag
following the BCP 47 standard;
e.g. "en-GB"'''@en;
rdfs:subPropertyOf schema:inLanguage ;
vs:term_status "unstable" ;
schema:domainIncludes
okh:Module,
okh:Part ;
skos:example "en-GB" ;
skos:example "en-US" ;
skos:example "en" ;
skos:example "de-DE" ;
skos:example "de" ;
skos:example "es" ;
okhmeta:hasMetaTag okhmeta:DocumentationTag ;
.
okh:licensor
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:subPropertyOf dcterms:rightsHolder ;
rdfs:label "licensor"@en ;
rdfs:comment "organization/individual behind the hardware design (holder of intellectual property)"@en ;
rdfs:subPropertyOf dcterms:rightsHolder ;
rdfs:subPropertyOf schema:copyrightHolder ;
vs:term_status "unstable" ;
schema:rangeIncludes
dcterms:Agent,
schema:Organization,
schema:Person ;
schema:domainIncludes okh:Module ;
okhmeta:hasMetaTag okhmeta:LegalTag ;
.
okh:organization
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "organization"@en ;
rdfs:comment "organization representing (some) contributors of this project"@en ;
vs:term_status "unstable" ;
schema:rangeIncludes schema:Organization ;
schema:domainIncludes okh:Module ;
okhmeta:hasMetaTag okhmeta:LegalTag ;
.
okh:licenseExpression
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "license expression"@en ;
rdfs:comment '''An SPDX license _expression_
(see: <https://spdx.github.io/spdx-spec/v2-draft/SPDX-license-expressions/>),
usually a single SPDX license ID
(see complete list: <https://spdx.org/licenses/>),
or a combination of those,
combined with AND or OR.
If your license is not SPDX registered (yet),
use a custom string prefixed with "LicenseRef-",
for example "LicenseRef-MyVeryOwnLicense-1.3";
please use the "SPDX identifier" from
<https://scancode-licensedb.aboutcode.org/>,
if your license is there but not SPDX registered.
Use "LicenseRef-NOASSERTION" if no license is specified,
"LicenseRef-NONE" if no license is specified
(which usually means: all rights reserved),
or "LicenseRef-AllRightsReserved" or similar
for projects clearly indicating that they are proprietary.'''@en ;
rdfs:comment "see <https://github.com/spdx/spdx-spec/issues/49> and <https://github.com/spdx/spdx-spec/issues/50>" ;
rdfs:comment "see <https://github.com/spdx/spdx-spec/issues/977>" ;
rdfs:subPropertyOf dcterms:license ;
skos:closeMatch schema:license ;
rdfs:seeAlso okh:license ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Module ;
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:LegalTag ;
.
okh:license
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "license"@en ;
rdfs:comment '''An SPDX license expression,
decoded into actual SPDX RDF/OWL,
(see: <https://spdx.github.io/spdx-spec/v2-draft/SPDX-license-expressions/>).
This is the RDF/OWL version of `okh:licenseExpression`,
and necessarily needs to contain the same info,
just in a different format.'''@en ;
rdfs:comment "see <https://github.com/spdx/spdx-spec/issues/49> an <https://github.com/spdx/spdx-spec/issues/50>" ;
rdfs:comment "see <https://github.com/spdx/spdx-spec/issues/977>" ;
vaem:todo "TODO For the crawler to be able to actually fill this with data, we need to be able to do 'SPDX Expression string' -> 'SPDX license RDF/OWL' conversion, which is the topic of this issue: <https://github.com/spdx/spdx-spec/issues/977>" ;
rdfs:subPropertyOf dcterms:license ;
rdfs:subPropertyOf spdxt:licenseDeclared ;
skos:closeMatch schema:license ;
rdfs:seeAlso okh:licenseExpression ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Module ;
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:LegalTag ;
.
okh:spdxLicense
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "SPDX license identifier"@en ;
rdfs:comment "view complete list under https://spdx.org/licenses/"@en ;
skos:closeMatch schema:license ;
vs:term_status "deprecated" ;
owl:deprecated "true"^^xsd:boolean ;
cc:deprecatedOn "2024-06-25"^^xsd:date ;
schema:supersededBy okh:license ;
schema:domainIncludes okh:Module ;
schema:rangeIncludes spdxt:ListedLicense ; # aka SPDX license identifier for a single, atomar license
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:LegalTag ;
.
okh:alternativeLicense
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "non-SPDX license"@en ;
rdfs:comment "URL to legal code of a license without SPDX identifier, hence OSHWA-compliance is to be checked manually"@en ;
skos:closeMatch schema:license ;
vs:term_status "deprecated" ;
owl:deprecated "true"^^xsd:boolean ;
cc:deprecatedOn "2024-06-25"^^xsd:date ;
schema:supersededBy okh:license ;
schema:domainIncludes okh:Module ;
schema:rangeIncludes okh:File ;
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:LegalTag ;
.
# okh:contributorCount
# a owl:DatatypeProperty ;
# a skos:Concept ;
# rdfs:label "number of contributors participating in the project" ;
# vs:term_status "unstable" ;
# schema:domainIncludes okh:Module ;
# schema:rangeIncludes xsd:int ;
# .
## ----- development stage -----
okh:technologyReadinessLevel
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "Technology Readiness Level (TRL)"@en ;
rdfs:comment "Indicates the development stage of the **hardware design** using the OTRL definitions; see the OTRL ontology."@en ;
vs:term_status "unstable" ;
owl:cardinality 1 ;
schema:rangeIncludes otrl:OTRL ;
schema:domainIncludes okh:Module ;
okhmeta:hasMetaTag okhmeta:DevelopmentTag ;
okhmeta:hasMetaTag okhmeta:QualityTag ;
.
okh:documentationReadinessLevel
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "Documentation Readiness Level (DLR)"@en ;
rdfs:comment "Indicates the development stage of the **documentation** using the ODRL definitions; see the OTRL ontology."@en ;
vs:term_status "unstable" ;
owl:cardinality 1 ;
schema:rangeIncludes otrl:ODRL ;
schema:domainIncludes okh:Module ;
okhmeta:hasMetaTag okhmeta:DevelopmentTag ;
okhmeta:hasMetaTag okhmeta:QualityTag ;
.
okh:attestation
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "attestation"@en ;
rdfs:comment '''A permanent URL to a valid attestation;
evidence of completeness and compliance to OSH principles,
for example from OSHWA, FSF, or DIN SPEC 3105.
Issuing conformity assessment bodies according to DIN SPEC 3105-2:
- [Open Hardware Observatory](https://en.oho.wiki/wiki/Request_certification_for_your_project)
- [Open Source Ecology Germany](https://gitlab.opensourceecology.de/verein/projekte/cab/CAB)
OSHWA:
- [OSHWA certification programme](https://certification.oshwa.org/)
FSF (computing only):
- [Hardware Devices that Support GNU/Linux](https://www.fsf.org/resources/hw)
'''@en ;
vs:term_status "unstable" ;
schema:rangeIncludes okh:WebsiteUrl ;
schema:domainIncludes okh:Module ;
okhmeta:hasMetaTag okhmeta:DevelopmentTag ;
okhmeta:hasMetaTag okhmeta:QualityTag ;
.
okh:hasPublication
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "has Publication"@en ;
rdfs:comment "design files of this OSH module have been peer reviewed in the linked to scientific publication"@en ;
vs:term_status "unstable" ;
rdfs:subPropertyOf npg:hasPublication;
schema:domainIncludes okh:Module ;
okhmeta:hasMetaTag okhmeta:DevelopmentTag ;
.
# okh:certificate
# a owl:ObjectProperty ;
# a skos:Concept ;
# rdfs:label "certificate" ;
# rdfs:comment "official certificate, such as CE mark" ;
# FIXME rdfs:subPropertyOf ;
# vs:term_status "unstable" ;
# schema:domainIncludes okh:Module ;
# okhmeta:hasMetaTag okhmeta:DevelopmentTag ;
# .
okh:cpcPatentClass
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "patent class"@en ;
rdfs:comment '''Cooperative Patent Classification identifier (CPC-ID)
of the International Patent Classification (IPC)
that describes best the field of technology of the OSH module.
To find the meaning of one,
or to find one fitting to your project,
please use this resource:
<https://worldwide.espacenet.com/classification>'''@en ;
skos:example "D03D 35/00" ;
rdfs:subPropertyOf patent:classificationIPCInventive;
vs:term_status "unstable" ;
schema:domainIncludes okh:Module ;
schema:rangeIncludes xsd:normalizedString ;
okhmeta:hasMetaTag okhmeta:BasicTag ;
okhmeta:hasMetaTag okhmeta:IdentificationTag ;
.
okh:compliesWith
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "complies with"@en ;
rdfs:comment "Links to a standard the subject complies with"@en ;
rdfs:subPropertyOf dcterms:conformsTo ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Component ;
schema:rangeIncludes okh:Standard ;
okhmeta:hasMetaTag okhmeta:QualityTag ;
.
okh:standardID
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "document ID"@en ;
rdfs:comment "document identifier for the technical standard"@en ;
rdfs:subPropertyOf dcterms:identifier ;
vs:term_status "unstable" ;
schema:rangeIncludes xsd:normalizedString ;
schema:domainIncludes okh:Standard ;
okhmeta:hasMetaTag okhmeta:QualityTag ;
.
okh:function
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "functional description"@en ;
rdfs:comment '''What does the hardware actually do,
what problem does it solve,
for whom,
under which conditions etc.
If you wish that someone finds & uses your OSH -
specifically e.g. for solving a concrete medical issue -
include relevant keywords in this field.
Optional:
description of input, output and interfaces'''@en ;
rdfs:subPropertyOf obo:BFO_0000016 ; # aka function
vs:term_status "unstable" ;
owl:cardinality 1 ;
schema:domainIncludes okh:Module ;
schema:rangeIncludes xsd:string ;
okhmeta:hasMetaTag okhmeta:BasicTag ;
.
okh:hasReadme
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "has ReadMe"@en ;
rdfs:comment "links to the corresponding ReadMe, which is the (human) entry-point into the (sources of) an OSH project"@en ;
rdfs:subPropertyOf dcterms:instructionalMethod ;
vs:term_status "unstable" ;
schema:rangeIncludes okh:File ;
schema:domainIncludes okh:Module ;
skos:example "README.md" ;
skos:example "README.txt" ;
skos:example "README" ;
okhmeta:hasMetaTag okhmeta:BasicTag ;
okhmeta:hasMetaTag okhmeta:DocumentationTag ;
.
okh:hasContributionGuide
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "has contribution guide"@en ;
rdfs:comment "links to the corresponding Contribution Guide"@en ;
rdfs:subPropertyOf dcterms:instructionalMethod ;
vs:term_status "unstable" ;
schema:rangeIncludes okh:File ;
schema:domainIncludes okh:Module ;
okhmeta:hasMetaTag okhmeta:DocumentationTag ;
okhmeta:hasMetaTag okhmeta:ExtendedInfoTag ;
.
okh:hasBoM
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "has Bill of Materials"@en ;
rdfs:comment "links to the corresponding Bill of Materials, which is a list or table of the parts required to build a component"@en ;
vs:term_status "unstable" ;
schema:rangeIncludes okh:File ;
schema:domainIncludes okh:Module ;
skos:example "bom.csv" ;
skos:example "src/mech/bom.csv" ;
skos:example "src/elec/bom.csv" ;
okhmeta:hasMetaTag okhmeta:DataTag ;
okhmeta:hasMetaTag okhmeta:PartsTag ;
.
okh:hasComponent
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "has Component"@en ;
rdfs:comment "Links to sub-components of the Module. In the case of that sub-component being an external Module, it has to refer to a snapshot of the RDF object representing that OKH Module. Each sub-component should also appear in the BoM."@en ;
vs:term_status "unstable" ;
schema:rangeIncludes
okh:Part,
okh:Module,
okh:WebsiteUrl ;
schema:domainIncludes okh:Module ;
okhmeta:hasMetaTag okhmeta:PartsTag ;
.
okh:hasImage
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "has image"@en ;
rdfs:comment "links to the corresponding Image"@en ;
vs:term_status "unstable" ;
rdfs:subPropertyOf schema:image ;
schema:rangeIncludes okh:Image ;
schema:domainIncludes okh:Component ;
okhmeta:hasMetaTag okhmeta:BasicTag ;
.
okh:functionalMetadata
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "functionality metadata"@en ;
rdfs:comment "Metadata addressing functionality, such as dimensions, material, weight, RPM,… (not standardized)"@en ;
rdfs:subPropertyOf schema:value ;
vs:term_status "unstable" ;
schema:rangeIncludes schema:StructuredValue ;
schema:domainIncludes okh:Module ;
.
okh:productionMetadata
a rdf:Property ;
a skos:Concept ;
rdfs:label "production metadata"@en ;
rdfs:comment "production-relevant metadata, such as material, manufacturing technology, outer dimensions, smallest tolerance, finest surface roughness"@en ;
vaem:todo "TODO This is somewhat superseded by okhmeta:MakingTag" ;
rdfs:subPropertyOf schema:value ;
vs:term_status "unstable" ;
schema:domainIncludes
okh:Module,
okh:Part ;
okhmeta:hasMetaTag okhmeta:MakingTag ;
.
okh:manufacturingProcess
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "manufacturing process"@en ;
vaem:todo "TODO Needs more properties: comment, domain and range"@en ;
rdfs:subPropertyOf okh:productionMetadata ;
vs:term_status "unstable" ;
okhmeta:hasMetaTag okhmeta:MakingTag ;
.
okh:material
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "material"@en ;
vaem:todo "TODO Define the range of this property"@en ;
rdfs:subPropertyOf okh:productionMetadata ;
vs:term_status "unstable" ;
okhmeta:hasMetaTag okhmeta:PhysicalTag ;
.
okh:hasOuterDimensions
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "outer dimensions"@en ;
rdfs:comment "defined through width, depth and height in mm"@en ;
schema:rangeIncludes okh:Dimensions ;
rdfs:subPropertyOf okh:productionMetadata ;
rdfs:subPropertyOf dcterms:format ;
vs:term_status "unstable" ;
vaem:todo "TODO Maybe remove this and add hasProduct (1-*) instead, each one being of type <https://schema.org/Product>, which has width, height and depth also." ;
okhmeta:hasMetaTag okhmeta:PhysicalTag ;
.
okh:hasMass
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "mass [g]"@en ;
rdfs:comment "mass of the component in g"@en ;
rdfs:subPropertyOf okh:productionMetadata ;
vs:term_status "unstable" ;
schema:rangeIncludes xsd:float ;
okhmeta:hasMetaTag okhmeta:PhysicalTag ;
.
okh:openSCAD
a owl:DatatypeProperty ;
rdfs:label "OpenSCAD code defining a shape"@en ;
vs:term_status "deprecated" ;
owl:deprecated "true"^^xsd:boolean ;
cc:deprecatedOn "2024-06-16"^^xsd:date ;
schema:supersededBy okh:width, okh:depth, okh:height;
schema:domainIncludes okh:Dimensions ;
schema:rangeIncludes xsd:string ;
.
okh:openScad
a owl:DatatypeProperty ;
rdfs:label "OpenSCAD volume"@en ;
vs:term_status "deprecated" ;
owl:deprecated "true"^^xsd:boolean ;
cc:deprecatedOn "2023-07-06"^^xsd:date ;
schema:supersededBy okh:openSCAD ;
owl:sameAs okh:openSCAD ;
.
okh:width
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "width [mm]"@en ;
rdfs:comment "The outer width of the product"@en ;
vaem:todo "TODO Define in the comment, whether this includes or excludes packaging"@en ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Dimensions ;
schema:rangeIncludes xsd:float ;
vaem:todo "TODO or should the range rather be int?"@en ;
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:PhysicalTag ;
.
okh:depth
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "depth [mm]"@en ;
rdfs:comment "The outer depth of the product"@en ;
vaem:todo "TODO Define in the comment, whether this includes or excludes packaging"@en ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Dimensions ;
schema:rangeIncludes xsd:float ;
vaem:todo "TODO or should the range rather be int?"@en ;
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:PhysicalTag ;
.
okh:height
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "height [mm]"@en ;
rdfs:comment "The outer height of the product"@en ;
vaem:todo "TODO Define in the comment, whether this includes or excludes packaging"@en ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Dimensions ;
schema:rangeIncludes xsd:float ;
vaem:todo "TODO or should the range rather be int?"@en ;
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:PhysicalTag ;
.
okh:unit
a owl:DatatypeProperty ;
rdfs:label "unit"@en ;
rdfs:comment "mm, cm, m, g, kg"@en ;
rdfs:comment "the unit of measurement associated with a property (additionally required okh:value)"@en ;
vs:term_status "deprecated" ;
owl:deprecated "true"^^xsd:boolean ;
cc:deprecatedOn "2024-06-16"^^xsd:date ;
schema:domainIncludes
okh:Mass,
okh:Dimensions ;
.
okh:value
a owl:DatatypeProperty ;
rdfs:label "value"@en ;
rdfs:comment "the numerical value associated with a property (additionally required okh:unit)"@en ;
vs:term_status "deprecated" ;
owl:deprecated "true"^^xsd:boolean ;
cc:deprecatedOn "2024-06-16"^^xsd:date ;
schema:supersededBy okh:hasMass;
schema:domainIncludes okh:Mass ;
.
okh:smallestToleranceClass
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "smallest tolerance class"@en ;
rdfs:comment "according to the ISO 286 standard"@en ;
vaem:todo "TODO FIXME link! with rdfs:subPropertyOf"@en ;
rdfs:subPropertyOf okh:productionMetadata ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Part ;
okhmeta:hasMetaTag okhmeta:PhysicalTag ;
okhmeta:hasMetaTag okhmeta:MakingTag ;
.
okh:hasManifestFile
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "has manifest file"@en ;
rdfs:comment "Links to the source TOML manifest file for (this) RDF data"@en ;
rdfs:subPropertyOf dcterms:hasFormat ;
vs:term_status "unstable" ;
schema:rangeIncludes okh:ManifestFile ;
schema:domainIncludes
okh:Module,
okh:Part ;
okhmeta:hasMetaTag okhmeta:DataGatheringTag ;
.
okh:doi
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "DOI"@en ;
rdfs:comment "The digital object identifier (DOI) associated with the publication"@en ;
schema:domainIncludes okh:Publication ;
rdfs:subPropertyOf npg:doi ;
vs:term_status "unstable" ;
okhmeta:hasMetaTag okhmeta:AcademicTag ;
.
okh:relativePath
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "Project-/Repo-relative file path"@en ;
rdfs:comment "Starts directly with the first path element, *NOT* with '/' or './'"@en ;
rdfs:subPropertyOf schema:url ;
vs:term_status "unstable" ;
schema:domainIncludes okh:File ;
# NOTE Looked for HOURS to find a file-path, file-location, ... anything like that in the RDF world, suitable for relative paths, and there seems to be none!
# Closest thing was this: <https://www.semanticdesktop.org/ontologies/2007/03/22/nfo/#fileUrl>,
# which links to this: <https://commons.apache.org/proper/commons-vfs/filesystems.html#Local_Files>,
# which does not allow for relative paths, only for absolute ones.
# (Searched with <https://lov.linkeddata.es/dataset/lov/terms>)
schema:rangeIncludes xsd:normalizedString ;
okhmeta:hasMetaTag okhmeta:DataTag ;
.
okh:url
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "file URL"@en ;
rdfs:comment "Global file locator, using either the HTTP or the HTTPS protocol."@en ;
rdfs:subPropertyOf schema:url ;
vs:term_status "unstable" ;
schema:domainIncludes okh:File ;
okhmeta:hasMetaTag okhmeta:DataTag ;
.
okh:fileUrl
a owl:ObjectProperty ;
rdfs:label "file URL"@en ;
rdfs:subPropertyOf schema:url ;
schema:domainIncludes okh:File ;
vs:term_status "deprecated" ;
owl:deprecated "true"^^xsd:boolean ;
cc:deprecatedOn "2023-07-11"^^xsd:date ;
schema:supersededBy okh:url ;
.
okh:permaURL
a owl:ObjectProperty ;
rdfs:label "Permanent file URL"@en ;
rdfs:comment "It was not 'permanent', but rather 'frozen in time', and it was also used in the Krawler, but badly. Things simply should not be done that way, but rather with a separate manifest file, where either everything is frozen, or nothing is, and the manifest file (internally) itself being marked accordingly."@en ;
schema:domainIncludes okh:File ;
vs:term_status "deprecated" ;
owl:deprecated "true"^^xsd:boolean ;
cc:deprecatedOn "2023-07-11"^^xsd:date ;
.
okh:fileFormat
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "file format"@en ;
rdfs:subPropertyOf schema:encodingFormat ;
rdfs:subPropertyOf dcterms:format ;
vaem:todo "TODO Further specify valid values here; maybe mime-types? maybe rdfs:subPropertyOf <https://www.semanticdesktop.org/ontologies/2007/01/19/nie/#mimeType>? Currently e.g. 'MD' or 'CSV' is used; see sample data. dcterms:format suggests MIME-types, indeed; e.g. 'application/rdf+xml'."@en ;
vs:term_status "unstable" ;
schema:domainIncludes okh:File ;
okhmeta:hasMetaTag okhmeta:DataTag ;
.
okh:timestamp
a owl:ObjectProperty ;
rdfs:label "timestamp"@en ;
rdfs:comment "following ISO 8601; see: <https://www.w3.org/TR/xmlschema11-2/#dateTimeStamp>"@en ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Module ;
schema:rangeIncludes xsd:dateTimeStamp ;
okhmeta:hasMetaTag okhmeta:DataGatheringTag ;
.
okh:source
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "has source file"@en ;
rdfs:comment "Links to a file that forms part of the sources of the project; meaning, these are the primary files the designers and other contributors of the project are working on."@en ;
rdfs:seeAlso okh:export ;
rdfs:seeAlso okh:auxiliary ;
vs:term_status "unstable" ;
schema:rangeIncludes okh:File ;
schema:domainIncludes
okh:Module,
okh:Part ;
skos:example "src/mech/3D-parts/part1.fcstd" ;
skos:example "src/mech/3D-parts/model2.fcstd" ;
skos:example "src/elec/converter/proj1.kicad_pro" ;
skos:example "https://repo-hosting-service.org/accounts/my_account/my_project/src/mech/3D-parts/part1.fcstd" ;
skos:example "https://my-orgs-server.org/projects/my_project/src/mech/3D-parts/model2.fcstd" ;
skos:example "https://my-projs-server.org/files/src/elec/converter/proj1.kicad_pro" ;