Atoms - Semantic Interoperability
-
Upload
david-janes -
Category
Internet
-
view
158 -
download
0
Transcript of Atoms - Semantic Interoperability
![Page 1: Atoms - Semantic Interoperability](https://reader031.fdocuments.us/reader031/viewer/2022030203/58a880b71a28abb47a8b54c3/html5/thumbnails/1.jpg)
AtomsDavid Janes, IOTDB
2016-03-18
![Page 2: Atoms - Semantic Interoperability](https://reader031.fdocuments.us/reader031/viewer/2022030203/58a880b71a28abb47a8b54c3/html5/thumbnails/2.jpg)
What are Atoms?
• Building blocks of the IoT
• We compose Models from Atoms
• Atoms are / should be non-decomposable
![Page 3: Atoms - Semantic Interoperability](https://reader031.fdocuments.us/reader031/viewer/2022030203/58a880b71a28abb47a8b54c3/html5/thumbnails/3.jpg)
Atom Requirements
• Be URL addressable (Linked Data)
• Be clear - intended target is humans!
• Be open ended - you don't know everything Be correct - faithfully represent the world
• Minimize assumptions
![Page 4: Atoms - Semantic Interoperability](https://reader031.fdocuments.us/reader031/viewer/2022030203/58a880b71a28abb47a8b54c3/html5/thumbnails/4.jpg)
IOTDB Atoms
• iot: core definitions - types, relationships…
• iot-purpose: vocabulary for Things to describe how do they actuate / sense
• iot-facet: vocabulary for Things to describe how what they do
![Page 5: Atoms - Semantic Interoperability](https://reader031.fdocuments.us/reader031/viewer/2022030203/58a880b71a28abb47a8b54c3/html5/thumbnails/5.jpg)
Example ModelCREATE MODEL HueLight WITH schema:name = "Hue Light", schema:description = "Philips Hue colored light", iot:facet = iot-facet:lighting.light ATTRIBUTE on WITH schema:name = "on", iot:purpose = iot-purpose:on, iot:type = iot:type.boolean, iot:sensor = true, iot:actuator = true ATTRIBUTE color WITH schema:name = "color", iot:purpose = iot-purpose:color, iot:type = iot:type.string, iot:format = iot:format.color iot:sensor = true, iot:actuator = true ;
![Page 6: Atoms - Semantic Interoperability](https://reader031.fdocuments.us/reader031/viewer/2022030203/58a880b71a28abb47a8b54c3/html5/thumbnails/6.jpg)
Compiled to JSON-LD "@id": "", "@type": "iot:Model", "schema:name": "Hue Light", "schema:description": "Philips Hue colored light", "iot:facet": [ "iot-facet:lighting", "iot-facet:lighting.light" ], "iot:attribute": [ { "@type": "iot:Attribute", "@id": "#on", "schema:name": "on", "iot:purpose": "iot-purpose:on", "iot:type": "iot:type.boolean", "iot:read": true, "iot:write": true, "iot:sensor": true, "iot:actuator": true }, { "@type": "iot:Attribute", "@id": "#color", "schema:name": "color", "iot:purpose": "iot-purpose:color", "iot:type": "iot:type.string", "iot:format": "iot:format.color", "iot:read": true, "iot:write": true, "iot:sensor": true, "iot:actuator": true }
![Page 7: Atoms - Semantic Interoperability](https://reader031.fdocuments.us/reader031/viewer/2022030203/58a880b71a28abb47a8b54c3/html5/thumbnails/7.jpg)
URLs
• https://iotdb.org/pub
• iot: core definitions
• iot-purpose: sensor and actuators
• iot-unit: units of measure
• iot-facet: facets (what does it do)
• GitHub https://github.com/dpjanes/…
• …/vocabulary - source
• …/homestar-hue/models/HueLight.iotql
![Page 8: Atoms - Semantic Interoperability](https://reader031.fdocuments.us/reader031/viewer/2022030203/58a880b71a28abb47a8b54c3/html5/thumbnails/8.jpg)
Related• There's lots of stuff out there!
• May be reusable in part or in whole
• schema.org - built in!
• Project Haystack - Smart Buildings
• SAREF - Smart Appliances
• SignalK - Marine
• OGC Sensors
![Page 9: Atoms - Semantic Interoperability](https://reader031.fdocuments.us/reader031/viewer/2022030203/58a880b71a28abb47a8b54c3/html5/thumbnails/9.jpg)
Get in touch! David Janes
http://iotdb.org/social/imadeit/