-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathontology.js
3395 lines (3083 loc) · 96 KB
/
ontology.js
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
// TODO? graph status (archived / rejected etc.)
module.exports = {
'@context': {
sa: 'http://ns.sci.pe#',
rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
rdfs: 'http://www.w3.org/2000/01/rdf-schema#',
owl: 'http://www.w3.org/2002/07/owl#',
vs: 'http://www.w3.org/2003/06/sw-vocab-status/ns#',
xsd: 'http://www.w3.org/2001/XMLSchema#',
bibo: 'http://purl.org/ontology/bibo/',
skos: 'http://www.w3.org/2004/02/skos/core#',
dc: 'http://purl.org/dc/terms/',
schema: 'http://schema.org/',
oa: 'http://www.w3.org/ns/oa#',
hydra: 'http://www.w3.org/ns/hydra/core#',
sameAs: { '@id': 'owl:sameAs', '@type': '@id' },
seeAlso: { '@id': 'rdfs:seeAlso', '@type': '@id' },
equivalentClass: { '@id': 'owl:equivalentClass', '@type': '@id' },
equivalentProperty: { '@id': 'owl:equivalentProperty', '@type': '@id' },
domain: { '@id': 'rdfs:domain', '@type': '@id' },
range: { '@id': 'rdfs:range', '@type': '@id' },
subClassOf: {
'@id': 'rdfs:subClassOf',
'@type': '@id',
'@container': '@set'
},
subPropertyOf: 'rdfs:subPropertyOf',
comment: 'rdfs:comment',
label: 'rdfs:label',
altLabel: 'skos:altLabel',
status: 'vs:term_status',
source: { '@id': 'dc:source', '@type': '@id' },
defines: { '@reverse': 'rdfs:isDefinedBy', '@type': '@id' }
},
'@id': 'https://ns.sci.pe/',
defines: [
// Rhetorical elements kind of (all subclassOf schema:WebPageElement)
{
'@id': 'sa:WPUnspecified',
'@type': 'rdfs:Class',
label: 'WPUnspecified',
comment: 'A section that is unknown or otherwise unspecified.',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPAbstract',
'@type': 'rdfs:Class',
label: 'WPAbstract',
comment:
"A brief summary of a book, a research article, thesis, review, conference proceeding or any in-depth analysis of a particular subject or discipline, the purpose of which is to help the reader quickly ascertain the publication's purpose.",
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPAbstractSection',
'@type': 'rdfs:Class',
label: 'WPAbstractSection',
comment: 'A section of an abstract',
subClassOf: 'sa:Abstract',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPImpactStatement',
'@type': 'rdfs:Class',
label: 'WPImpactStatement',
altLabel: 'Impact Statement',
comment:
"A brief summary, in lay terms of the impact of the work ('So what?', 'Who cares?' etc.).",
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPAuthors',
'@type': 'rdfs:Class',
label: 'WPAuthors',
altLabel: ['Authors'],
comment:
'A list of items each denoting an author of a particular publication.',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPContributors',
'@type': 'rdfs:Class',
label: 'WPContributors',
altLabel: ['Contributors'],
comment:
'A list of items, each denoting a contributor to a publication where such contributions are insufficient to warrant classification as author.',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPAffiliations',
'@type': 'rdfs:Class',
label: 'WPAffiliations',
altLabel: ['Affiliations'],
comment: 'A list of affiliations for the authors and contributors.',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPIntroduction',
'@type': 'rdfs:Class',
label: 'Introduction',
sameAs: 'http://purl.org/spar/deo/Introduction',
comment:
'An initial description which states the purpose and goals of the following writing, and, in the case of journal articles, typically includes background information on the research topic and a review of related work in the area.',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPMaterialsAndMethods',
'@type': 'rdfs:Class',
label: 'WPMaterialsAndMethods',
altLabel: ['Materials And Methods', 'Materials', 'Methods'],
comment:
"A description in a research paper documenting the specialized materials and/or methods used in the work described. This description is contained in a section often entitled 'Methods and Materials', 'Experimental' or a related term.",
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPNotes',
'@type': 'rdfs:Class',
label: 'WPNotes',
comment:
'A list of items that are general notes on the authors, affiliations, or the document.',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPLicense',
'@type': 'rdfs:Class',
label: 'WPLicense',
comment: 'A section conveying licensing information about the document.',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPResults',
'@type': 'rdfs:Class',
label: 'WPResults',
sameAs: 'http://purl.org/spar/deo/Results',
comment:
'The report of the specific findings of an investigation, given without discussion or conclusion being drawn.',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPDiscussion',
'@type': 'rdfs:Class',
label: 'WPDiscussion',
comment:
'An interpretation and discussion of the results obtained and an analysis of their significance, in support of conclusions. These conclusions may be part of this discussion or may be included in a separate section of the document.',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPConclusion',
'@type': 'rdfs:Class',
label: 'WPConclusion',
comment:
'A reflection on the preceding text, summarizing the evidence, arguments or premises presented in the document and their logical outcomes. Conclusions are a fundamental feature in academic research publications, and may be included in the Discussion section.',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPAcknowledgements',
'@type': 'rdfs:Class',
label: 'WPAcknowledgements',
sameAs: 'http://purl.org/spar/deo/Acknowledgements',
comment:
'Usually part of the preface, or a separate section in its own right, often as part of the back matter, it acknowledges those, including funding agencies, who contributed to the undertaking of a research project described in a publication, or to the creation of the work in some way. In scientific articles, the acknowledgements are usually placed as a separated section immediately following the Discussion or Conclusions.',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPCopyright',
'@type': 'rdfs:Class',
label: 'WPCopyright',
comment: 'A section containing a copyright mention for the document.',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPDisclosure',
'@type': 'rdfs:Class',
label: 'WPDisclosure',
altLabel: ['Conflict of Interest', 'Competing Interest'],
comment:
'A section containing acknowledgment of facts that interfere with or could reasonably be perceived as interfering with the full and objective presentation, peer review, editorial decision-making, or publication of research',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPFunding',
'@type': 'rdfs:Class',
label: 'WPFunding',
comment:
'Person or Organization that funded the research on which a work was based.',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPKeywords',
'@type': 'rdfs:Class',
label: 'WPKeywords',
comment:
"A section containing a list of keywords as part of the document's metadata.",
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPSupportingInformation',
'@type': 'rdfs:Class',
label: 'WPSupportingInformation',
sameAs: 'http://purl.org/spar/doco/Appendix',
altLabel: [
'supplementary material',
'supplementary files',
'additional files',
'additional information',
'additional material',
'appendix',
'supplemental information',
'supplemental material',
'supplementary appendix',
'supplementary data'
],
comment:
'Any information either auxiliary to the main content of the creative work or required to reproduce or verify the results of the creative work',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPReferenceList',
'@type': 'rdfs:Class',
label: 'WPReferenceList',
altLabel: [
'References',
'Literature',
'Bibliography',
'Works Cited',
'Citations'
],
sameAs: 'http://purl.org/spar/doco/ListOfReferences',
comment:
'A list of items each representing a reference to a specific part of the same document, or to another publication.',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
{
'@id': 'sa:WPReference',
'@type': 'rdfs:Class',
label: 'WPReference',
altLabel: ['Citation'],
sameAs: 'http://purl.org/spar/deo/Reference',
comment:
'A reference to a specific part of the document, or to another publication.',
subClassOf: 'schema:WebPageElement',
status: 'stable',
source: 'https://github.com/scienceai/ontology/issues/26'
},
// release requirements
{
'@id': 'sa:releaseRequirement',
'@type': 'rdf:Property',
label: 'releaseRequirement',
comment: 'The release requirement',
altLabel: 'release requirement',
range: 'sa:ReleaseRequirementType',
domain: 'sa:CreateReleaseAction',
status: 'stable'
},
{
'@id': 'sa:ReleaseRequirementType',
'@type': 'rdfs:Class',
comment: 'Release requirement',
label: 'ReleaseRequirementType',
subClassOf: ['schema:Enumeration']
},
{
'@id': 'sa:SubmissionReleaseRequirement',
'@type': 'sa:ReleaseRequirementType',
label: 'SubmissionReleaseRequirement',
comment:
'Submission release requirement (as opposed to production release requirement)'
},
{
'@id': 'sa:ProductionReleaseRequirement',
'@type': 'sa:ReleaseRequirementType',
label: 'ProductionReleaseRequirement',
comment:
'Production release requirement (as opposed to submission release requirement)'
},
// release notes
{
'@id': 'sa:releaseNotes',
'@type': 'rdf:Property',
label: 'releaseNotes',
comment: 'Release notes',
altLabel: 'release notes',
range: 'schema:Text',
domain: 'sa:CreateReleaseAction',
status: 'stable'
},
// revision types
{
'@id': 'sa:revisionType',
'@type': 'rdf:Property',
label: 'revisionType',
comment: 'The type of revision requested during an assessment',
altLabel: 'revision type',
range: 'sa:RevisionType',
domain: 'schema:AssessAction',
status: 'stable'
},
{
'@id': 'sa:RevisionType',
'@type': 'rdfs:Class',
comment: 'A type of revision',
label: 'RevisionType',
subClassOf: ['schema:Enumeration']
},
{
'@id': 'sa:PatchRevision',
'@type': 'sa:RevisionType',
label: 'PatchRevision',
comment: 'Patch (correction) revision'
},
{
'@id': 'sa:MinorRevision',
'@type': 'sa:RevisionType',
label: 'MinorRevision',
comment: 'Minor revision'
},
{
'@id': 'sa:MajorRevision',
'@type': 'sa:RevisionType',
label: 'Major Revision',
comment: 'Major revision'
},
// Tokens
{
'@id': 'sa:Token',
'@type': 'rdfs:Class',
label: 'Token',
subClassOf: 'schema:Intangible',
comment: 'A token',
status: 'stable',
seeAlso: 'https://en.wikipedia.org/wiki/Access_token'
},
{
'@id': 'sa:tokenType',
'@type': 'rdf:Property',
label: 'tokenType',
comment: 'The type of the token.',
altLabel: 'token type',
range: 'schema:Text',
domain: 'sa:Token',
status: 'stable'
},
{
'@id': 'sa:tokenValue',
'@type': 'rdf:Property',
label: 'tokenValue',
comment: 'The value of the token.',
altLabel: 'token value',
range: 'schema:Text',
domain: 'sa:Token',
status: 'stable'
},
{
'@id': 'sa:password',
'@type': 'rdf:Property',
label: 'password',
comment: 'A password.',
altLabel: 'password',
range: 'schema:Text',
domain: 'sa:Token',
status: 'stable'
},
// token status
{
'@id': 'sa:tokenStatus',
'@type': 'rdf:Property',
label: 'tokenStatus',
comment: 'The status of a Token',
altLabel: 'token status',
range: 'sa:TokenStatusType',
domain: 'sa:Token',
status: 'stable'
},
{
'@id': 'sa:TokenStatusType',
'@type': 'rdfs:Class',
comment: 'The status of a token',
label: 'TokenStatusType',
subClassOf: ['schema:Enumeration']
},
{
'@id': 'sa:PotentialTokenStatus',
'@type': 'sa:TokenStatusType',
label: 'PotentialTokenStatus',
comment: 'A token waiting to be activated'
},
{
'@id': 'sa:ActiveTokenStatus',
'@type': 'sa:TokenStatusType',
label: 'ActiveTokenStatus',
comment: 'An active token'
},
{
'@id': 'sa:ArchivedTokenStatus',
'@type': 'sa:TokenStatusType',
label: 'ArchivedTokenStatus',
comment: 'An archived token'
},
// DiscountToken
{
'@id': 'sa:DiscountToken',
'@type': 'rdfs:Class',
label: 'DiscountToken',
subClassOf: 'sa:Token',
comment: 'A discount token',
status: 'testing'
},
{
'@id': 'sa:percentDiscount',
'@type': 'rdf:Property',
label: 'percentDiscount',
comment: 'The percent discount granted by the token',
altLabel: 'percent discount',
range: 'sa:Number',
domain: 'sa:DiscountToken',
status: 'testing'
},
{
'@id': 'sa:eligibleJournal',
'@type': 'rdf:Property',
label: 'eligibleJournal',
comment: 'The journal for which the token is valid.',
altLabel: 'eligible journal',
range: 'schema:Periodical',
domain: 'sa:DiscountToken',
status: 'testing'
},
{
'@id': 'sa:eligibleAction',
'@type': 'rdf:Property',
label: 'eligibleAction',
comment: 'The action for which the token is valid.',
altLabel: 'eligible action',
range: 'schema:Action',
domain: 'sa:DiscountToken',
status: 'testing'
},
// Auth token
{
'@id': 'sa:AuthenticationToken',
'@type': 'rdfs:Class',
label: 'AuthenticationToken',
subClassOf: 'sa:Token',
comment: 'An authentication token',
status: 'stable'
},
// Payment token
{
'@id': 'sa:PaymentToken',
'@type': 'rdfs:Class',
label: 'PaymentToken',
subClassOf: 'sa:Token',
comment: 'A payment token',
status: 'stable'
},
{
'@id': 'sa:paymentToken',
'@type': 'rdf:Property',
label: 'paymentToken',
comment: 'A payment token',
altLabel: 'payment token',
range: 'sa:PaymentToken',
domain: 'schema:Action',
subPropertyOf: 'schema:instrument',
status: 'stable'
},
// Password
{
'@id': 'sa:Password',
'@type': 'rdfs:Class',
label: 'Password',
subClassOf: 'sa:Token',
comment: 'A password',
status: 'stable'
},
// Crypto
{
'@id': 'sa:EncryptionKey',
'@type': 'rdfs:Class',
label: 'EncryptionKey',
comment: 'An encryption key',
subClassOf: 'sa:Token',
status: 'testing'
},
{
'@id': 'sa:encryptionKey',
'@type': 'rdf:Property',
label: 'encryptionKey',
comment: 'encryption key',
altLabel: 'encryption key',
range: 'sa:EncryptionKey',
domain: 'sa:Graph',
status: 'testing'
},
{
'@id': 'sa:initializationVector',
'@type': 'rdf:Property',
label: 'initializationVector',
comment: 'An initialization vector',
altLabel: 'initialization vector',
range: 'schema:Text',
domain: 'sa:EncryptionKey',
subPropertyOf: 'schema:value',
status: 'testing'
},
// token actions
{
'@id': 'sa:CreateAuthenticationTokenAction',
'@type': 'rdfs:Class',
label: 'CreateAuthenticationTokenAction',
altLabel: 'Create Authentication Token Action',
comment: 'The act of creating an authentication token.',
subClassOf: ['schema:CreateAction'],
status: 'stable'
},
{
'@id': 'sa:CreateDiscountTokenAction',
'@type': 'rdfs:Class',
label: 'CreateDiscountTokenAction',
altLabel: 'Create discount token Action',
comment: 'The act of creating a discount token.',
subClassOf: ['schema:CreateAction'],
status: 'testing'
},
{
'@id': 'sa:UpdatePasswordAction',
'@type': 'rdfs:Class',
label: 'UpdatePasswordAction',
altLabel: 'Update Password Action',
comment: 'The act of updating a password.',
subClassOf: ['schema:UpdateAction'],
status: 'stable'
},
{
'@id': 'sa:ResetPasswordAction',
'@type': 'rdfs:Class',
label: 'ResetPasswordAction',
altLabel: 'Reset Password Action',
comment: 'The act of resetting a password.',
subClassOf: ['schema:Action'],
status: 'stable'
},
// Resource and encodings
{
'@id': 'sa:reviewer',
'@type': 'rdf:Property',
label: 'reviewer',
comment: 'The reviewer of the content.',
altLabel: 'reviewer',
range: 'schema:Person',
domain: 'schema:CreativeWork',
status: 'stable'
},
{
'@id': 'sa:Formula',
'@type': 'rdfs:Class',
label: 'Formula',
altLabel: ['Equation'],
sameAs: 'http://purl.org/spar/doco/Formula',
comment:
'A unit of information expressed in mathematical, chemical or logical symbols and language.',
subClassOf: ['schema:CreativeWork'],
status: 'testing'
},
{
'@id': 'sa:FormulaObject',
'@type': 'rdfs:Class',
label: 'FormulaObject',
altLabel: 'Formula Object',
sameAs: 'http://purl.org/spar/doco/FormulaBox',
comment: 'A formula object embedded in a web page',
subClassOf: ['schema:MediaObject'],
status: 'testing'
},
{
'@id': 'sa:TextBox',
'@type': 'rdfs:Class',
label: 'TextBox',
altLabel: 'Text Box',
comment: 'A text box.',
subClassOf: ['schema:CreativeWork'],
status: 'stable'
},
{
'@id': 'sa:TextBoxObject',
'@type': 'rdfs:Class',
label: 'TextBoxObject',
altLabel: 'Text Box Object',
comment: 'The encoding of a text box',
subClassOf: ['schema:MediaObject'],
status: 'stable'
},
{
'@id': 'sa:SoftwareSourceCodeObject',
'@type': 'rdfs:Class',
label: 'SoftwareSourceCodeObject',
altLabel: 'Software Source Code Object',
sameAs: 'http://purl.org/spar/doco/FormulaBox',
comment: 'A source code object embedded in a web page',
subClassOf: ['schema:MediaObject'],
status: 'stable'
},
{
'@id': 'sa:Image',
'@type': 'rdfs:Class',
label: 'Image',
sameAs: 'http://purl.org/spar/doco/Figure',
comment: 'An image resource',
subClassOf: ['schema:CreativeWork'],
status: 'stable'
},
{
'@id': 'sa:Video',
'@type': 'rdfs:Class',
label: 'Video',
comment: 'A video resource',
subClassOf: ['schema:CreativeWork'],
status: 'stable'
},
{
'@id': 'sa:Audio',
'@type': 'rdfs:Class',
label: 'Audio',
comment: 'An audio resource',
subClassOf: ['schema:CreativeWork'],
status: 'stable'
},
{
'@id': 'sa:TableObject',
'@type': 'rdfs:Class',
sameAs: 'http://purl.org/spar/doco/TableBox',
label: 'TableObject',
altLabel: 'Table Object',
comment: 'A table object embedded in a web page',
subClassOf: ['schema:MediaObject'],
status: 'stable'
},
{
'@id': 'sa:DocumentObject',
'@type': 'rdfs:Class',
label: 'DocumentObject',
altLabel: 'Document Object',
comment:
'The most generic type for creative work encodings that are documents (HTML, LaTEX, DOCX, etc.)',
subClassOf: ['schema:MediaObject'],
status: 'stable'
},
// Footnotes and endnotes
{
'@id': 'sa:note',
'@type': 'rdf:Property',
label: 'note',
comment: 'A note (footnote or endnote)',
altLabel: 'note',
range: 'schema:Comment',
domain: 'schema:CreativeWork',
status: 'stable'
},
{
'@id': 'sa:Footnote',
'@type': 'rdfs:Class',
label: 'Footnote',
subClassOf: 'schema:Comment',
comment:
'An ancillary piece of information typically displayed at the bottom of a page.',
status: 'stable'
},
{
'@id': 'sa:Endnote',
'@type': 'rdfs:Class',
label: 'Endnote',
subClassOf: 'schema:Comment',
comment:
'An ancillary piece of information typically displayed at the end of a resource.',
status: 'stable'
},
{
'@id': 'sa:noteIdentifier',
'@type': 'rdf:Property',
label: 'noteIdentifier',
comment: 'The identifier (or label) of a footnote or endnote',
altLabel: 'note identifier',
range: 'schema:Number',
domain: 'schema:Thing', // applies to ContributeAction and Footnote and Endnote
subPropertyOf: 'schema:identifier',
status: 'stable'
},
{
'@id': 'sa:roleContactPointNoteIdentifier',
'@type': 'rdf:Property',
label: 'roleContactPointNoteIdentifier',
comment:
'The identifier (or label) of a footnote or endnote hosting contact point information',
altLabel: 'role contact point note identifier',
range: 'schema:Number',
domain: 'sa:ContributorRole',
subPropertyOf: 'schema:identifier',
status: 'stable'
},
// Checksums
{
'@id': 'sa:Checksum',
'@type': 'rdfs:Class',
label: 'Checksum',
subClassOf: 'schema:Intangible',
comment:
'A small-size datum from an arbitrary block of digital data for the purpose of detecting errors which may have been introduced during its transmission or storage.',
status: 'stable',
seeAlso: 'http://en.wikipedia.org/wiki/Checksum',
equivalenClass:
'http://www.semanticdesktop.org/ontologies/2007/03/22/nfo/#FileHash'
},
{
'@id': 'sa:PerceptualHash',
'@type': 'rdfs:Class',
subClassOf: 'sa:Checksum',
label: 'PerceptualHash',
altLabel: ['Perceptual Hash', 'pHash'],
comment:
'A fingerprint of a multimedia file derived from various features from its content. Unlike cryptographic hash functions which rely on the avalanche effect of small changes in input leading to drastic changes in the output, perceptual hashes are close to one another if the features are similar and are resiliant to transformations such as rotation, skew, contrast adjustment and different compression/formats.',
status: 'stable',
seeAlso: 'https://en.wikipedia.org/wiki/Perceptual_hashing'
},
{
'@id': 'sa:contentChecksum',
'@type': 'rdf:Property',
label: 'contentChecksum',
comment: 'The checksum of a resource.',
altLabel: 'content checksum',
range: 'sa:Checksum',
domain: 'schema:CreativeWork',
status: 'stable',
seeAlso: 'http://en.wikipedia.org/wiki/Checksum',
equivalentProperty:
'http://www.semanticdesktop.org/ontologies/2007/03/22/nfo/#hasHash'
},
{
'@id': 'sa:checksumAlgorithm',
'@type': 'rdf:Property',
label: 'checksumAlgorithm',
altLabel: 'checksum algorithm',
comment:
'Name of the algorithm used to compute the checksum value. Examples might include MD5, SHA-1 etc.',
range: 'xsd:string',
domain: 'sa:Checksum',
status: 'stable',
seeAlso: 'http://en.wikipedia.org/wiki/Checksum',
equivalentProperty:
'http://www.semanticdesktop.org/ontologies/2007/03/22/nfo/#hashAlgorithm'
},
{
'@id': 'sa:checksumValue',
'@type': 'rdf:Property',
label: 'checksumValue',
altLabel: ['checksum', 'hash'],
comment:
'The actual value of the hash in base64 if no datatype are present.',
range: 'xsd:string',
domain: 'sa:Checksum',
status: 'stable',
seeAlso: 'http://en.wikipedia.org/wiki/Checksum',
equivalentProperty:
'http://www.semanticdesktop.org/ontologies/2007/03/22/nfo/#hashValue'
},
// Progress
{
'@id': 'sa:ProgressEvent',
'@type': 'rdfs:Class',
label: 'ProgressEvent',
subClassOf: 'schema:Event',
altLabel: ['progress event'],
comment:
'An event providing information about the progress status of an action',
status: 'stable'
},
{
'@id': 'sa:progress',
'@type': 'rdf:Property',
label: 'progress',
comment: 'A quantitative measure of the progress of an event',
range: 'schema:QuantitativeValue',
domain: 'schema:Event',
status: 'stable'
},
// Permissions
{
'@id': 'sa:AdminPermission',
'@type': 'rdfs:Class',
subClassOf: 'schema:DigitalDocumentPermission',
label: 'AdminPermission',
altLabel: ['admin permission'],
comment: 'Permission to administrate a resource.',
status: 'stable'
},
{
'@id': 'sa:CreateGraphPermission',
'@type': 'rdfs:Class',
subClassOf: 'schema:DigitalDocumentPermission',
label: 'CreateGraphPermission',
altLabel: ['create graph permission'],
comment: 'Permission to create a Graph.',
status: 'stable'
},
{
'@id': 'sa:CommunicatePermission',
'@type': 'rdfs:Class',
subClassOf: 'schema:DigitalDocumentPermission',
label: 'CommunicatePermission',
altLabel: ['communicate permission'],
comment: 'Permission to contact other agents based on their roles.',
status: 'stable'
},
{
'@id': 'sa:InvitePermission',
'@type': 'rdfs:Class',
subClassOf: 'schema:DigitalDocumentPermission',
label: 'InvitePermission',
altLabel: ['invite permission'],
comment: 'Permission to invite other agents based on their roles.',
status: 'stable'
},
// blinding
{
'@id': 'sa:ViewIdentityPermission',
'@type': 'rdfs:Class',
subClassOf: 'schema:DigitalDocumentPermission',
label: 'ViewIdentityPermission',
altLabel: ['view identity permission'],
comment:
'Permission to view the identity of other agents based on their roles.',
status: 'stable'
},
{
'@id': 'sa:anonymizedName',
'@type': 'rdf:Property',
label: 'anonymizedName',
altLabel: 'anonymized name',
comment: 'The anonymized name',
range: 'schema:Text',
domain: 'schema:Thing',
status: 'stable'
},
{
'@id': 'sa:anonymizedIdentifier',
'@type': 'rdf:Property',
label: 'anonymizedIdentifier',
altLabel: 'anonymized identifier',
comment: 'The anonymized identifier',
range: 'schema:Text',
domain: 'schema:Thing',
status: 'stable'
},
{
'@id': 'sa:permissionScope',
'@type': 'rdf:Property',
label: 'permissionScope',
altLabel: 'permission scope',
comment: 'The scope of a permission.',
range: 'schema:Audience',
domain: 'schema:DigitalDocumentPermission',
status: 'stable'
},
{
'@id': 'sa:audienceScope',
'@type': 'rdf:Property',
label: 'audienceScope',
altLabel: 'audience scope',
comment: 'The scope of a audience.',
range: 'schema:Thing',
domain: 'schema:Audience',
status: 'stable'
},
{
'@id': 'sa:minInstances',
'@type': 'rdf:Property',