/
schema.jsonld
236 lines (236 loc) · 7.58 KB
/
schema.jsonld
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
{
"@context": {
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"schema": "http://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dial": "http://dial.sunbird-specs.org/"
},
"@graph": [
{
"@id": "dial:DIALCode",
"@type": "rdfs:Class",
"rdfs:comment": "Class to represent a DIAL Code.",
"rdfs:label": "DIALCode",
"rdfs:subClassOf": {
"@id": "schema:CreativeWork"
}
},
{
"@id": "dial:Entity",
"@type": "rdfs:Class",
"rdfs:comment": "An entity that is associated with a DIAL code.",
"rdfs:label": "Entity",
"rdfs:subClassOf": {
"@id": "schema:Thing"
}
},
{
"@id": "dial:EntityType",
"@type": "rdfs:Class",
"rdfs:comment": "Enumeration of type of entities that could be associated with DIAL codes in an implementation. For example: Textbook will be the entity type when a DIAL code is used in a textbook.",
"rdfs:label": "EntityType",
"rdfs:subClassOf": {
"@id": "schema:Enumeration"
}
},
{
"@id": "dial:TextbookRef",
"@type": "rdfs:Class",
"rdfs:comment": "Reference to a textbook entity.",
"rdfs:label": "TextbookRef",
"rdfs:subClassOf": {
"@id": "schema:Book"
}
},
{
"@id": "dial:TextbookUnitRef",
"@type": "rdfs:Class",
"rdfs:comment": "Reference to a unit/chapter/section within a textbook.",
"rdfs:label": "TextbookUnitRef",
"rdfs:subClassOf": {
"@id": "schema:Chapter"
}
},
{
"@id": "dial:TextbookMetadata",
"@type": "rdfs:Class",
"rdfs:comment": "Class to represent a textbook metadata.",
"rdfs:label": "TextbookMetadata",
"rdfs:subClassOf": {
"@id": "schema:Thing"
}
},
{
"@id": "dial:Textbook",
"@type": "dial:EntityType",
"rdfs:comment": "Enum value for Textbook entity type.",
"rdfs:label": "Textbook"
},
{
"@id": "dial:TextbookUnit",
"@type": "dial:EntityType",
"rdfs:comment": "Enum value for TextbookUnit entity type.",
"rdfs:label": "TextbookUnit"
},
{
"@id": "dial:linkedTo",
"@type": "rdf:Property",
"rdfs:comment": "Indicates the list of entities associated with a DIAL code.",
"rdfs:label": "DIALCode",
"schema:domainIncludes": {
"@id": "dial:DIALCode"
},
"schema:rangeIncludes": {
"@id": "dial:Entity"
}
},
{
"@id": "dial:entityType",
"@type": "rdf:Property",
"rdfs:comment": "Indicates the type of entity.",
"rdfs:label": "entityType",
"schema:domainIncludes": {
"@id": "dial:Entity"
},
"schema:rangeIncludes": {
"@id": "dial:EntityType"
}
},
{
"@id": "dial:reference",
"@type": "rdf:Property",
"rdfs:comment": "Property to specify the referred entity object.",
"rdfs:label": "reference",
"schema:domainIncludes": {
"@id": "dial:Entity"
},
"schema:rangeIncludes": [
{
"@id": "dial:TextbookRef"
},
{
"@id": "dial:TextbookUnitRef"
}
]
},
{
"@id": "dial:texbookUnitRef",
"@type": "rdf:Property",
"rdfs:comment": "Property to associate textbook unit with the textbook",
"rdfs:label": "texbookUnitRef",
"schema:domainIncludes": {
"@id": "dial:TextbookRef"
},
"schema:rangeIncludes": {
"@id": "dial:TextbookUnitRef"
}
},
{
"@id": "dial:texbookRef",
"@type": "rdf:Property",
"rdfs:comment": "Reference of the textbook to which the textbook unit belongs to",
"rdfs:label": "texbookRef",
"schema:domainIncludes": {
"@id": "dial:TextbookUnitRef"
},
"schema:rangeIncludes": {
"@id": "dial:TextbookRef"
}
},
{
"@id": "dial:metadata",
"@type": "rdf:Property",
"rdfs:comment": "Metadata associated with a textbook or textbook unit.",
"rdfs:label": "texbookUnit",
"schema:domainIncludes": [
{
"@id": "dial:TextbookRef"
},
{
"@id": "dial:TextbookUnitRef"
}
],
"schema:rangeIncludes": {
"@id": "dial:TextbookMetadata"
}
},
{
"@id": "dial:framework",
"@type": "rdf:Property",
"rdfs:comment": "Taxonomy Framework of the textbook.",
"rdfs:label": "framework",
"schema:domainIncludes": {
"@id": "dial:TextbookMetadata"
},
"schema:rangeIncludes": [
{
"@id": "schema:Text"
},
{
"@id": "schema:URL"
}
]
},
{
"@id": "dial:board",
"@type": "rdf:Property",
"rdfs:comment": "Education board affliation of the Textbook.",
"rdfs:label": "board",
"schema:domainIncludes": {
"@id": "dial:TextbookMetadata"
},
"schema:rangeIncludes": {
"@id": "schema:Text"
}
},
{
"@id": "dial:medium",
"@type": "rdf:Property",
"rdfs:comment": "Medium(s) of instructioon of the Textbook.",
"rdfs:label": "medium",
"schema:domainIncludes": {
"@id": "dial:TextbookMetadata"
},
"schema:rangeIncludes": {
"@id": "schema:Text"
}
},
{
"@id": "dial:gradeLevel",
"@type": "rdf:Property",
"rdfs:comment": "GradeLevel of the Textbook.",
"rdfs:label": "gradeLevel",
"schema:domainIncludes": {
"@id": "dial:TextbookMetadata"
},
"schema:rangeIncludes": {
"@id": "schema:Text"
}
},
{
"@id": "dial:subject",
"@type": "rdf:Property",
"rdfs:comment": "Subject(s) of the Textbook.",
"rdfs:label": "subject",
"schema:domainIncludes": {
"@id": "dial:TextbookMetadata"
},
"schema:rangeIncludes": {
"@id": "schema:Text"
}
},
{
"@id": "dial:topic",
"@type": "rdf:Property",
"rdfs:comment": "Topic(s) covered in the Textbook.",
"rdfs:label": "topic",
"schema:domainIncludes": {
"@id": "dial:TextbookMetadata"
},
"schema:rangeIncludes": {
"@id": "schema:Text"
}
}
]
}