forked from skohub-io/skohub-vocabs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
context.js
128 lines (127 loc) · 2.74 KB
/
context.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
const jsonld = {
"@context": {
"@version": 1.1,
id: "@id",
type: "@type",
"@vocab": "http://www.w3.org/2004/02/skos/core#",
xsd: "http://www.w3.org/2001/XMLSchema#",
dct: "http://purl.org/dc/terms/",
dc: "http://purl.org/dc/elements/1.1/",
schema: "https://schema.org/",
vann: "http://purl.org/vocab/vann/",
ldp: "http://www.w3.org/ns/ldp#",
owl: "http://www.w3.org/2002/07/owl#",
title: {
"@id": "dct:title",
"@container": "@language",
},
"dc:title": {
"@id": "dc:title",
"@container": "@language",
},
"dc:description": {
"@id": "dc:description",
"@container": "@language",
},
description: {
"@id": "dct:description",
"@container": "@language",
},
issued: {
"@id": "dct:issued",
"@type": "xsd:date",
},
created: {
"@id": "dct:created",
"@type": "xsd:date",
},
modified: {
"@id": "dct:modified",
"@type": "xsd:date",
},
creator: "dct:creator",
publisher: "dct:publisher",
preferredNamespacePrefix: "vann:preferredNamespacePrefix",
preferredNamespaceUri: "vann:preferredNamespaceUri",
isBasedOn: "schema:isBasedOn",
source: "dct:source",
prefLabel: {
"@container": "@language",
},
altLabel: {
"@container": ["@language", "@set"],
},
hiddenLabel: {
"@container": ["@language", "@set"],
},
definition: {
"@container": "@language",
},
note: {
"@container": ["@language", "@set"],
},
changeNote: {
"@container": ["@language", "@set"],
},
editorialNote: {
"@container": ["@language", "@set"],
},
historyNote: {
"@container": ["@language", "@set"],
},
scopeNote: {
"@container": ["@language", "@set"],
},
notation: {
"@container": "@set",
},
example: {
"@container": "@language",
},
narrower: {
"@container": "@set",
},
related: {
"@container": "@set",
},
relatedMatch: {
"@container": "@set",
},
narrowerTransitive: {
"@container": "@set",
},
broaderTransitive: {
"@container": "@set",
},
broadMatch: {
"@container": "@set",
},
narrowMatch: {
"@container": "@set",
},
closeMatch: {
"@container": "@set",
},
exactMatch: {
"@container": "@set",
},
hasTopConcept: {
"@container": "@set",
},
inScheme: {
"@container": "@set",
},
topConceptOf: {
"@container": "@set",
},
deprecated: {
"@id": "owl:deprecated",
"@type": "xsd:boolean",
},
isReplacedBy: {
"@id": "dct:isReplacedBy",
"@container": "@set",
},
},
}
module.exports = { jsonld }