forked from OPEN-NEXT/OKH-LOSH
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathokh.ttl
1139 lines (1059 loc) · 40.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 <http://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 doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
#@prefix isoprops: <http://w3id.org/isoprops#> .
@prefix mime: <http://www.iana.org/assignments/media-types/> .
@prefix npg: <http://ns.nature.com/terms/> .
@prefix obo: <http://purl.obolibrary.org/obo/> .
@prefix okhkrawl: <http://w3id.org/oseg/ont/okh-krawler#> .
@prefix okhmeta: <http://w3id.org/oseg/ont/okhmeta> .
@prefix osegprof: <http://w3id.org/oseg/ont/oseg-profiles#> .
@prefix otrl: <http://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 sh: <http://www.w3.org/ns/shacl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix spdxl: <http://spdx.org/licenses/> .
@prefix spdx: <http://spdx.org/rdf/terms#> .
@prefix tsdc: <http://w3id.org/oseg/ont/tsdc/core#> .
@prefix vaem: <http://www.linkedmodel.org/schema/vaem#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix void: <http://rdfs.org/ns/void#> .
@prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<>
a owl:Ontology ;
a spdx:SpdxItem ;
a dcterms:Standard ;
vann:preferredNamespacePrefix "okh" ;
vann:preferredNamespaceUri "http://w3id.org/oseg/ont/okh#"^^xsd:anyURI ;
sh:declare [
sh:prefix "okh" ;
sh:namespace "https://w3id.org/oseg/ont/okh#"^^xsd:anyURI ;
] ;
sh:suggestedShapesGraph <https://w3id.org/oseg/ont/okh/shacl#Ontology> ;
owl:versionInfo "1.1.0" ;
owl:versionIRI <http://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 ;
skos:editorialNote '''
# SPDX-FileCopyrightText: 2020 - 2021 Martin Häuer <[email protected]>
# SPDX-FileCopyrightText: 2020 - 2024 Robin Vobruba <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later
''' ;
skos:editorialNote '''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 ;
skos:editorialNote """We try to follow:
(Recommendations for Vocabulary_Design](
https://lov.linkeddata.es/Recommendations_Vocabulary_Design.pdf)""" ;
skos:editorialNote """We try to follow:
[Semantic Web and Linked Data: Best Practices and Standards](
https://guides.library.ucla.edu/semantic-web/bestpractices#s-lg-page-section-2410777)""" ;
dcterms:language <http://id.loc.gov/vocabulary/iso639-1/en> ;
dcterms:created "2020-10-02Z"^^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 ;
spdx: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/issues/"^^xsd:anyURI ;
.
okh:Dataset
a owl:Class ;
a skos:Concept ;
rdfs:subClassOf dcat:Dataset ;
rdfs:subClassOf void:Dataset ;
rdfs:subClassOf spdx:SpdxItem ;
rdfs:label "Dataset"@en ;
rdfs:comment "A collection of data, published or curated by a single source; See `dcat:Dataset` for more info (and translations)."@en ;
vs:term_status "unstable" ;
okhmeta:hasMetaTag okhmeta:DataGatheringTag ;
.
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 schema:CreativeWork ; # NOTE Probably better suited for the OSH Ontology
# rdfs:subClassOf doap:Project ;
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:DataProvider
a owl:Class ;
rdfs:subClassOf dcat:DataService ;
rdfs:label "Data Provider"@en ;
rdfs:comment "A platform or other system that hosts projects, or at least their (OKH) meta data, for example 'GitHub.com' or 'Appropedia.org'. Individuals can be found e.g. in the `okhkrawl` ontology."@en ;
vs:term_status "unstable" ;
.
okh:DataSourcingProcedure
a owl:Class ;
# rdfs:subClassOf dcat:DataService ; # TODO Find one that fits
rdfs:label "Data Sourcing Procedure"@en ;
rdfs:comment "Rough categorization of how the OKH data gets from the project to the Indexing Server. Individuals can be found e.g. in the `okhkrawl` ontology."@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:HttpUrl
a rdfs:Datatype ;
rdfs:subClassOf xsd:anyURI ;
# rdfs:subClassOf schema:URL ;
rdfs:label "website URL"@en ;
rdfs:subClassOf okh:Reference ;
rdfs:subClassOf schema:URL ;
sh:pattern "^https?:.*" ;
vs:term_status "unstable" ;
.
okh:File
a owl:Class ;
#rdfs:subClassOf schema:DigitalDocument ; commented out, because this does not include images, for example
#rdfs:subClassOf schema:MediaObject ;
rdfs:subClassOf schema:CreativeWork ;
# rdfs:subClassOf foaf:Document ;
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 # TODO MAYBE! Remove this and use okh:File directly
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 # TODO MAYBE! Remove this and use okh:File directly
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:TimeStamp # TODO Check
a rdfs:Datatype ;
owl:onDatatype xsd:dateTimeStamp ;
owl:equivalentClass xsd:dateTimeStamp ;
rdfs:label "time-stamp"@en ;
rdfs:comment "Date and time, always including time-zone, maximum accuracy is in seconds"@en ;
rdfs:comment "following ISO 8601; see: <https://www.w3.org/TR/xmlschema11-2/#dateTimeStamp>"@en ;
vs:term_status "unstable" ;
.
okh:name
a owl:DatatypeProperty ;
rdfs:label "name"@en ;
rdfs:comment "Working title of the OSH component"@en ;
rdfs:subPropertyOf dcterms:title ;
rdfs:subPropertyOf rdfs:label ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Component ;
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:BasicTag ;
okhmeta:hasMetaTag okhmeta:RequiredTag ;
.
okh:okhv
a owl:DatatypeProperty ;
rdfs:label "OKH version"@en ;
rdfs:comment "version of OKH specification the OSH projects metadata follows (different version → different data fields in this file)"@en ;
rdfs:subPropertyOf schema:version ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Dataset ;
owl:cardinality 1 ;
.
okh:dataProvider
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "metadata source"@en ;
rdfs:comment "Provider of the OKH meta-data.. RDF Individuals can be found e.g. in the `okhkrawl` ontology."@en ;
rdfs:seeAlso okh:repoHost ;
# rdfs:subPropertyOf schema:url ;
rdfs:subPropertyOf dcat:accessService ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Dataset ;
schema:rangeIncludes okh:DataProvider ;
skos:example okhkrawl:dataProviderGithub ;
skos:example okhkrawl:dataProviderAppropedia ;
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:DataTag ;
.
okh:repoHost
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "repository host"@en ;
rdfs:comment "Hosting provider of the main project data (vs meta-data), like 3D models and PCB designs. RDF Individuals can be found e.g. in the `okhkrawl` ontology."@en ;
rdfs:seeAlso okh:dataProvider ;
rdfs:subPropertyOf schema:url ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Module ;
schema:rangeIncludes okh:DataProvider ;
skos:example okhkrawl:dataProviderGitlab ;
skos:example okhkrawl:dataProviderThingiverse ;
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:HistoryTag ;
.
okh:dataSourcingProcedure
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "upload method"@en ;
rdfs:comment "Describe show the OKH met-data finds its way into the final RDF file or triple DB. RDF Individuals can be found e.g. in the `okhkrawl` ontology."@en ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Dataset ;
schema:rangeIncludes okh:DataSourcingProcedure ;
skos:example okhkrawl:dataSourcingProcedureApi ;
skos:example okhkrawl:dataSourcingProcedureDirect ;
skos:example okhkrawl:dataSourcingProcedureGeneratedManifest ;
skos:example okhkrawl:dataSourcingProcedureManifest ;
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:DataGatheringTag ;
.
okh:repo
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "repository"@en ;
rdfs:comment """URL to the (human browsable) place where development happens;
typically a (git) repository or Wiki page.
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 ;
# rdfs:subPropertyOf doap:repository ;
vs:term_status "unstable" ;
schema:rangeIncludes okh:HttpUrl ;
schema:domainIncludes okh:Module ;
owl:cardinality 1 ;
okhmeta:hasMetaTag okhmeta:BasicTag ;
okhmeta:hasMetaTag okhmeta:HistoryTag ;
okhmeta:hasMetaTag okhmeta:IdentificationTag ;
.
okh:repoSnapshot
a owl:DatatypeProperty ;
a skos:Concept ;
rdfs:label "repository snapshot"@en ;
rdfs:comment "Repository snapshot (=specific version) URL"@en ;
vs:term_status "unstable" ;
schema:rangeIncludes okh:HttpUrl ;
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 Module, preferably following the [semantic versioning-scheme v2.0.0](https://semver.org/#semantic-versioning-200)"@en ;
rdfs:subPropertyOf schema:version ;
skos:example
"2.3.4",
"1.0.0-alpha",
"1.0.0-alpha.1",
"1.0.0-alpha.beta",
"1.0.0-beta",
"1.0.0-beta.2",
"1.0.0-beta.11",
"1.0.0-rc.1",
"1.0.0",
"0.0.1-24-g6a8a3a7",
"v0.3.1",
"6a8a3a7",
"baf0e65d8d93e1b64e883dfd2ffc5b838a22ca25",
61 ;
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:Component ;
schema:rangeIncludes okh:Component ;
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:subPropertyOf schema:copyrightHolder ; # NOTE Probably better suited for the OSH Ontology
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 ,
foaf:Person ,
schema:Organization ,
schema:Person ;
schema:domainIncludes okh:Module ;
skos:example
osegprof:martinHaeuer ,
osegprof:robinVobruba ,
[
a schema:Person ;
schema:givenName "John" ;
schema:familyName "Doe" ;
schema:email "[email protected]" ;
] ,
[
a schema:Person ;
schema:givenName "Jane" ;
schema:familyName "Doe" ;
schema:email "[email protected]" ;
schema:affiliation [
a schema:Organization ;
schema:name "FSF" ;
schema:legalName "Free Software Foundation, Inc." ;
schema:url <https://www.fsf.org> ;
] ;
] ,
[
a foaf:Person ;
foaf:mbox <mailto:[email protected]> ;
foaf:member osegprof:osegAssociation ;
foaf:name "Jane Doe" ;
foaf:nick "jd" ;
foaf:topic_interest "Open Source Hardware" ;
foaf:topic_interest "Art" ;
] ;
okhmeta:hasMetaTag okhmeta:LegalTag ;
.
okh:organization
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "organization"@en ;
rdfs:comment "organization of the licensor or that represents (some of) the contributors of to 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" or
"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 ;
skos:editorialNote """
- 'NONE' -
<https://github.com/spdx/spdx-spec/issues/49>
- 'NOASSERTION' -
<https://github.com/spdx/spdx-spec/issues/50>
- Convert an SPDX license expression into valid OWL/RDF -
<https://github.com/spdx/spdx-spec/issues/977>
""" ;
skos:note "NOTE: When no SPDX key is found by the crawler, metadata might not be indexed n the server until the alternative license has been whitelisted by maintainers. At OKH we need to make sure that all results are actually open source." ;
skos:example
"GPL-3.0-or-later",
"AGPL-3.0-or-later",
"GPL-3.0-only",
"AGPL-3.0-only",
"0BSD",
"CC0-1.0",
"CC-BY-SA-4.0",
"CC-BY-4.0",
"Unlicense",
"LicenseRef-NOASSERTION",
"LicenseRef-NONE",
"LicenseRef-AllRightsReserved",
"LicenseRef-RandomNonSpdxRegisteredLicense",
"LicenseRef-MyVeryOwnLicense" ;
rdfs:subPropertyOf dcterms:license ;
skos:closeMatch schema:license ;
rdfs:seeAlso okh:license ;
vs:term_status "unstable" ;
schema:domainIncludes okh:Module ;
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 ;
skos:example
spdxl:GPL-3.0-or-later,
spdxl:AGPL-3.0-or-later,
spdxl:GPL-3.0-only,
spdxl:AGPL-3.0-only,
spdxl:0BSD,
spdxl:CC0-1.0,
spdxl:CC-BY-SA-4.0,
spdxl:CC-BY-4.0,
spdxl:Unlicense ;
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 spdx: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: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 ;
# .
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:DatatypeProperty ;
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:HttpUrl ;
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 rdf:langString ;
okhmeta:hasMetaTag okhmeta:BasicTag ;
.
okh:hasReadme
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "has ReadMe"@en ;
rdfs:comment "repo-relative path (or absolute HTTP(S) URL) to 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" ;
skos:example "README-JP.md" ;
skos:example "README-JP" ;
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 ;
# rdfs:subPropertyOf schema:hasPart ; # NOTE Probably better suited for the OSH Ontology
vs:term_status "unstable" ;
schema:rangeIncludes
okh:Component, # TODO These two are an issue for the SHACL generator, because one is a class and the other a datatype, so it would have to be both OWL property types, but the SHACL generator (owl2shacl) can not handle that one (yet)
okh:HttpUrl ;
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 ;
# rdfs:subPropertyOf foaf:depiction ; # NOTE This would probably be wrong, or at least misleading, because a project logo or a technical drawing of a part would fit for `okh:hasImage`, but not `foaf:depiction`
# Somehow related: `foaf:logo`, `doap:screenshot`
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: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: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 ;
sh:minExclusive 0 ;
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 ;
sh:minExclusive 0 ;
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 ;
sh:minExclusive 0 ;
okhmeta:hasMetaTag okhmeta:PhysicalTag ;
.
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:domainIncludes okh:Dataset ;
schema:rangeIncludes okh:ManifestFile ;
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 # TODO Use with okh:HttpUrl as range, and remove "rdfs:subPropertyOf schema:url, dcat:downloadURL"
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 ;
rdfs:subPropertyOf dcat:downloadURL ;
vs:term_status "unstable" ;
schema:domainIncludes okh:File ;
okhmeta:hasMetaTag okhmeta:DataTag ;
.
okh:fileFormat
a owl:ObjectProperty ;
a skos:Concept ;
rdfs:label "file format"@en ;
rdfs:comment "The format/file-type for a file."@en ;
rdfs:subPropertyOf dcat:mediaType ;
skos:editorialNote "2024-12-15 If dcterms:format would be used instead of dcat:mediaType, it would be advised to use MIME-types as well (as strings), indeed; e.g. 'application/rdf+xml'"@en ;
rdfs:seeAlso "https://www.iana.org/assignments/media-types/media-types.xhtml"^^xsd:anyURI ;
skos:example <http://www.iana.org/assignments/media-types/text/turtle> ;
skos:example <http://www.iana.org/assignments/media-types/application/rdf+xml> ;
skos:example mime:application\/rdf\+xml ;
skos:example mime:image\/jpeg ;
skos:example mime:model\/stl ;
skos:example mime:text\/markdown ;
vs:term_status "unstable" ;
schema:domainIncludes okh:File ;
okhmeta:hasMetaTag okhmeta:DataTag ;
.