-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault_graph_example.json
452 lines (452 loc) · 13.6 KB
/
default_graph_example.json
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
{
"@graph": [
{
"@id": "iot-lite:altRelative",
"@type": "owl:AnnotationProperty",
"rdfs:domain": {
"@id": "geo:Point"
},
"rdfs:range": {
"@id": "xsd:string"
}
},
{
"@id": "geo:alt",
"@type": "owl:AnnotationProperty",
"rdfs:domain": {
"@id": "geo:Point"
}
},
{
"@id": "iot-lite:Service",
"@type": "owl:Class",
"rdfs:comment": {
"@language": "en",
"@value": "Service provided by an IoT Device"
}
},
{
"@id": "iot-lite:exposedBy",
"@type": "owl:ObjectProperty",
"rdfs:comment": "A device is exposed by a service.",
"rdfs:domain": {
"@id": "ssn:Device"
},
"rdfs:range": {
"@id": "iot-lite:Service"
}
},
{
"@id": "iot-lite:endpoint",
"@type": "owl:DatatypeProperty",
"rdfs:comment": "Endpoint of the service. It is usually a URL where the service is available.",
"rdfs:domain": {
"@id": "iot-lite:Service"
},
"rdfs:range": {
"@id": "xsd:anyURI"
}
},
{
"@id": "geo:location",
"@type": "owl:ObjectProperty",
"rdfs:range": {
"@id": "geo:Point"
}
},
{
"@id": "iot-lite:isAssociatedWith",
"@type": "owl:ObjectProperty",
"rdfs:comment": "Defines the associations between objects and sensors (e.g. A table (object) has an attribute (temperature at the table) which is associated with a sensor (the temperature sensor of the room). ",
"rdfs:domain": [
{
"@id": "iot-lite:Object"
},
{
"@id": "iot-lite:Entity"
}
],
"rdfs:range": {
"@id": "iot-lite:Service"
}
},
{
"@id": "iot-lite:VirtualEntity",
"@type": "owl:Class",
"rdfs:subClassOf": {
"@id": "iot-lite:Entity"
}
},
{
"@id": "iot-lite:interfaceType",
"@type": "owl:DatatypeProperty",
"rdfs:comment": "Defines the type of interface of the service endpoint.",
"rdfs:domain": {
"@id": "iot-lite:Service"
},
"rdfs:range": {
"@id": "xsd:string"
}
},
{
"@id": "iot-lite:Attribute",
"@type": "owl:Class",
"rdfs:comment": {
"@language": "en",
"@value": "An attribute of an IoT object that can be exposed by an IoT service (i.e. a room (IoT Object) has a temperature (Attribute), that can be exposed by a temperature sensor (IoT device)."
}
},
{
"@id": "ssn:SensingDevice",
"@type": "owl:Class",
"rdfs:subClassOf": [
{
"@id": "ssn:Sensor"
},
{
"@id": "ssn:Device"
}
]
},
{
"@id": "iot-lite:hasMetadata",
"@type": "owl:ObjectProperty",
"rdfs:comment": "Links any concept with metadata about that concept.",
"rdfs:range": {
"@id": "iot-lite:Metadata"
}
},
{
"@id": "ssn:Platform",
"@type": "owl:Class"
},
{
"@id": "qu:Unit",
"@type": "owl:Class"
},
{
"@id": "iot-lite:metadataValue",
"@type": "owl:DatatypeProperty",
"rdfs:comment": "Value of the metadata",
"rdfs:domain": {
"@id": "iot-lite:Metadata"
},
"rdfs:range": {
"@id": "xsd:string"
}
},
{
"@id": "iot-lite:hasAttribute",
"@type": "owl:ObjectProperty",
"rdfs:comment": "Links the devices with their attributes.",
"rdfs:domain": [
{
"@id": "iot-lite:Object"
},
{
"@id": "iot-lite:Entity"
}
],
"rdfs:range": {
"@id": "iot-lite:Attribute"
}
},
{
"@id": "iot-lite:interfaceDescription",
"@type": "owl:DatatypeProperty",
"rdfs:comment": "Description of the service.",
"rdfs:domain": {
"@id": "iot-lite:Service"
},
"rdfs:range": {
"@id": "xsd:anyURI"
}
},
{
"@id": "iot-lite:Object",
"@type": "owl:Class",
"rdfs:comment": {
"@language": "en",
"@value": "IoT entity"
}
},
{
"@id": "iot-lite:relativeLocation",
"@type": "owl:AnnotationProperty",
"rdfs:domain": {
"@id": "geo:Point"
},
"rdfs:range": {
"@id": "xsd:string"
}
},
{
"@id": "iot-lite:",
"@type": "owl:Ontology",
"owl:versionInfo": "0.3 fiesta",
"rdfs:comment": {
"@language": "en",
"@value": "iot-lite is a lightweight ontology based on SSN to describe Internet of Things (IoT) concepts and relationships."
},
"rdfs:label": "iot-lite"
},
{
"@id": "iot-lite:metadataType",
"@type": "owl:DatatypeProperty",
"rdfs:comment": "Defines the type pf the metadata value (e.g. resolution of the sensor).",
"rdfs:domain": {
"@id": "iot-lite:Metadata"
},
"rdfs:range": {
"@id": "xsd:string"
}
},
{
"@id": "ssn:System",
"@type": "owl:Class"
},
{
"@id": "geo:Point",
"@type": "owl:Class",
"geo:alt": "",
"geo:lat": "",
"geo:long": "",
"iot-lite:altRelative": "",
"iot-lite:relativeLocation": ""
},
{
"@id": "qu:QuantityKind",
"@type": "owl:Class"
},
{
"@id": "ssn:hasSubSystem",
"@type": "owl:ObjectProperty",
"rdfs:domain": {
"@id": "ssn:System"
},
"rdfs:range": {
"@id": "ssn:System"
}
},
{
"@id": "iot-lite:Metadata",
"@type": "owl:Class",
"rdfs:comment": {
"@language": "en",
"@value": "Class used to describe properties that cannot be described by QuantityKind and Units. i.e. the resolution of a sensor."
}
},
{
"@id": "iot-lite:Polygon",
"@type": "owl:Class",
"rdfs:comment": {
"@language": "en",
"@value": "The coverage is made up by linking several points by strait lines."
},
"rdfs:subClassOf": {
"@id": "iot-lite:Coverage"
}
},
{
"@id": "iot-lite:radius",
"@type": "owl:DatatypeProperty",
"rdfs:comment": "Specifies the radius of a circle coverage defined by a point -the center of the circle- and its radius.",
"rdfs:domain": {
"@id": "iot-lite:Circle"
},
"rdfs:range": {
"@id": "xsd:double"
}
},
{
"@id": "geo:lat",
"@type": "owl:AnnotationProperty",
"rdfs:domain": {
"@id": "geo:Point"
}
},
{
"@id": "iot-lite:Coverage",
"@type": "owl:Class",
"rdfs:comment": {
"@language": "en",
"@value": "The coverage of an IoT device (i.e. a temperature sensor inside a room has a coverage of that room)."
}
},
{
"@id": "iot-lite:TagDevice",
"@type": "owl:Class",
"rdfs:comment": {
"@language": "en",
"@value": "Tag Device such as QR code or bar code."
},
"rdfs:subClassOf": {
"@id": "ssn:Device"
}
},
{
"@id": "iot-lite:exposes",
"@type": "owl:ObjectProperty",
"owl:inverseOf": {
"@id": "iot-lite:exposedBy"
},
"rdfs:comment": "For service-oriented queries. The inverse of exposedBy.",
"rdfs:domain": {
"@id": "iot-lite:Service"
},
"rdfs:range": {
"@id": "ssn:Device"
}
},
{
"@id": "ssn:onPlatform",
"@type": "owl:ObjectProperty",
"rdfs:domain": {
"@id": "ssn:System"
},
"rdfs:range": {
"@id": "ssn:Platform"
}
},
{
"@id": "iot-lite:Entity",
"@type": "owl:Class",
"owl:equivalentClass": {
"@id": "iot-lite:Object"
}
},
{
"@id": "iot-lite:hasSensingDevice",
"@type": "owl:ObjectProperty",
"rdfs:comment": "Links a sensor with a sensing device the same way as SSN.",
"rdfs:domain": {
"@id": "ssn:Sensor"
},
"rdfs:range": {
"@id": "ssn:SensingDevice"
}
},
{
"@id": "iot-lite:hasCoverage",
"@type": "owl:ObjectProperty",
"rdfs:comment": "Links the devices with their coverages.",
"rdfs:domain": {
"@id": "ssn:Device"
},
"rdfs:range": {
"@id": "iot-lite:Coverage"
}
},
{
"@id": "iot-lite:isSubSystemOf",
"@type": "owl:ObjectProperty",
"owl:inverseOf": {
"@id": "ssn:hasSubSystem"
},
"rdfs:domain": {
"@id": "ssn:System"
},
"rdfs:range": {
"@id": "ssn:System"
}
},
{
"@id": "ssn:Sensor",
"@type": "owl:Class"
},
{
"@id": "iot-lite:hasQuantityKind",
"@type": "owl:ObjectProperty",
"rdfs:comment": "Links a sensor or an attribute with the quantity kind it measures (e.g. A sensor -sensor1- measures temperature: sensor1 hasQuantityKind temperature).",
"rdfs:domain": [
{
"@id": "iot-lite:Attribute"
},
{
"@id": "ssn:Sensor"
}
],
"rdfs:range": {
"@id": "qu:QuantityKind"
}
},
{
"@id": "iot-lite:hasUnit",
"@type": "owl:ObjectProperty",
"rdfs:comment": "Links the sensor with the units of the quantity kind it measures (e.g. A sensor -sensor1- measures temperature in Celsius: senso1 hasUnit celsius).",
"rdfs:domain": {
"@id": "ssn:Sensor"
},
"rdfs:range": {
"@id": "qu:Unit"
}
},
{
"@id": "iot-lite:Rectangle",
"@type": "owl:Class",
"rdfs:comment": {
"@language": "en",
"@value": "Teh coverage is made up by giving two points which are the oposite corners of a rentangle."
},
"rdfs:subClassOf": {
"@id": "iot-lite:Coverage"
}
},
{
"@id": "iot-lite:id",
"@type": "owl:DatatypeProperty",
"rdfs:domain": {
"@id": "ssn:Device"
},
"rdfs:range": {
"@id": "xsd:string"
}
},
{
"@id": "geo:long",
"@type": "owl:AnnotationProperty",
"rdfs:domain": {
"@id": "geo:Point"
}
},
{
"@id": "iot-lite:Circle",
"@type": "owl:Class",
"rdfs:comment": {
"@language": "en",
"@value": "Circle coverage it needs the location of the sensor as the centre of the circle and the radius as a DataProperty."
},
"rdfs:subClassOf": {
"@id": "iot-lite:Coverage"
}
},
{
"@id": "ssn:Device",
"@type": "owl:Class",
"rdfs:subClassOf": {
"@id": "ssn:System"
}
},
{
"@id": "iot-lite:ActuatingDevice",
"@type": "owl:Class",
"rdfs:comment": {
"@language": "en",
"@value": "Device that can actuate over an object or QuantityKind."
},
"rdfs:subClassOf": {
"@id": "ssn:Device"
}
},
{
"@id": "iot-lite:isMobile",
"@type": "owl:DatatypeProperty",
"rdfs:domain": {
"@id": "ssn:Platform"
},
"rdfs:range": {
"@id": "xsd:boolean"
}
}
]
}