SlideShare una empresa de Scribd logo
1 de 43
Connecting the
Internet of Things to
the Semantic Web
Friday, 26 July, 13
IMO
David Janes
@dpjanes
davidjanes@davidjanes.com
http://imadeit.davidjanes.com/
July 2013
Friday, 26 July, 13
Introduction
Friday, 26 July, 13
The Blueprint
• Describe Things by many “facets”
• Describe Actions / Readings...
• by purpose
• by how to manipulate
• Make it easy to link APIs to this description
Friday, 26 July, 13
Sentrollers
• Sensors and Controllers
• The “Things” of the Internet of Things
• May not be very intelligent / powerful
• Purpose may vary based on user
Friday, 26 July, 13
Make clients
do the work
• sentrollers have to be simple
• let clients “figure it out”
• future proofing!
Friday, 26 July, 13
A game plan,
not the game!
• these are ideas
• not the specifics!
• lots of work to be done (sigh)...
Friday, 26 July, 13
The IoT @ Home
• My specific interest is the home
• Techniques could work in a larger scope
• Just FYI!
Friday, 26 July, 13
Describing Things
Friday, 26 July, 13
The big idea
• describe Things by “facet” sets
• let software automatically create interface
by introspecting facets
• novel devices will “just work”
• provide a core vocabulary...
• ... but make it extensible for new things!
Friday, 26 July, 13
Vocabulary (I)
highly abstract
• worker - does stuff
• sensor - senses stuff
• input - get data from humans
• output - present data to humans
• ... closed: 4 things, that’s it ...
Friday, 26 July, 13
Note: describe Things
by purpose, not use
• A toaster is a worker: it toasts bread
• It is not an input, even though it has
buttons!
• Buttons are there to help with toasting
Friday, 26 July, 13
Vocabulary (2)
abstract general
• appliance - a consumer appliance
• toy - something to play with
• security - part of a security system
• wearable - personal area network
• ... open ended ...
Friday, 26 July, 13
Vocabulary (3)
abstract specific
• tv
• toaster
• clothes-dryer
• clock-radio
• etc. etc. - totally open ended...
Friday, 26 July, 13
e.g. this describes
a Toaster
• worker
• appliance
• food-cooker
• toaster
Friday, 26 July, 13
Describing Actions &
Sensor Readings
Friday, 26 July, 13
Actions
• e.g.
• Turn Light On
• Set Level to 50%
• The light is white
Friday, 26 July, 13
...as JSON
{
"on" : true,
"brightness" : 0.5,
"color" : "#FFFFFF"
}
Friday, 26 July, 13
Readings
• e.g.
• weight is 185 lb
• heart rate is 80 bpm
• latitude is 43.6481° N
• longitude is 79.4042° W
Friday, 26 July, 13
...as JSON
{
"weight" : 185,
"heart-rate" : 80,
"latitude" : 43.6481,
"longitude" : 79.4042
}
Friday, 26 July, 13
Issues
Friday, 26 July, 13
Meaning
• What does heart-rate mean?
• Why heart-rate? Why not heart,
heart_rate, beats, ...?
Friday, 26 July, 13
Interface
• How do we control on?
• How do we control brightness?
• How do we control both?
Friday, 26 July, 13
Units
• 185 what? Pounds? Kg? Metric Tonnes?
Friday, 26 July, 13
Access
• read (e.g. color is read only)
• write
• notify (e.g. heart-rate)
Friday, 26 July, 13
The big idea
• provide a definition binding each
attribute to its:
• interface
• meaning
• units
• etc. - ... open ended ...
Friday, 26 July, 13
e.g. on
• a boolean
• a two-value
• a on-off switch
• has read, write
Friday, 26 July, 13
e.g. weight
• a number
• a mass measurement
• units are pounds
• has read
Friday, 26 July, 13
The Semantic Web
Friday, 26 July, 13
Linked Data
• Describe data as triples:
• two objects and their relationship
• Use URLs to represent all those things
Friday, 26 July, 13
The big idea
• Create a document for each Thing
• describe facets and attributes
• use LD URLs for each of those
• link our JSON to that description
Friday, 26 July, 13
e.g. JSON
{
"@iot" : "/definitions/light"
"on" : true,
"brightness" : 0.5,
"color" : "#FFFFFF"
}
Friday, 26 July, 13
The definition
document
• e.g. /definitions/light
• lists all facets
• describes all attributes keyed on the exact
same names as the JSON!
• attribute description includes meaning,
interface (hints), units, etc...
Friday, 26 July, 13
More details?
• We won’t go into yet!
• This is a game plan, not the game
• A work in progress
Friday, 26 July, 13
Complications
Friday, 26 July, 13
Composite Things?
Friday, 26 July, 13
Always about purpose
• Is it one thing?
• Or multiple things put together?
Friday, 26 July, 13
Oven & Stove
• An oven, and a stove
• ... model as two separate Things
Friday, 26 July, 13
Microwave + Clock
• Model as two separate Things also!
• Otherwise your microwave is an output
(the clock) and a worker (the cooking part)
• Not a useful model!
Friday, 26 July, 13
Can’t change API?
• If we can’t change the API to add @iot?
• If Thing has a unique URL...
• ... we can associate a description document
with it anyway!
Friday, 26 July, 13
Meta?
• What room is it in?
• Who owns it?
• Again:Thing URL → Additional Data
Friday, 26 July, 13
Trivial Things?
• e.g. Belkin WeMo
• can turn power on and off
• what is it? it depends what’s hooked up!
• Again:Thing URL → Additional Data
Friday, 26 July, 13
Get in touch!
David Janes
@dpjanes
davidjanes@davidjanes.com
http://imadeit.davidjanes.com/
Friday, 26 July, 13

Más contenido relacionado

Más de David Janes

Discover Anywhere Mobile iPhone Apps
Discover Anywhere Mobile iPhone AppsDiscover Anywhere Mobile iPhone Apps
Discover Anywhere Mobile iPhone Apps
David Janes
 

Más de David Janes (7)

Interoperability with Standardless IoT (Global IoT Day Wien)
Interoperability with Standardless IoT (Global IoT Day Wien)Interoperability with Standardless IoT (Global IoT Day Wien)
Interoperability with Standardless IoT (Global IoT Day Wien)
 
What a Thing API Should Look Like (Global IoT Day Wien)
What a Thing API Should Look Like (Global IoT Day Wien)What a Thing API Should Look Like (Global IoT Day Wien)
What a Thing API Should Look Like (Global IoT Day Wien)
 
Control all the Things with Node-JS
Control all the Things with Node-JSControl all the Things with Node-JS
Control all the Things with Node-JS
 
IOTDB - Semantic Metadata for the Internet of Things
IOTDB - Semantic Metadata for the Internet of ThingsIOTDB - Semantic Metadata for the Internet of Things
IOTDB - Semantic Metadata for the Internet of Things
 
IOTDB - #IoTDay 2014 Presentation
IOTDB - #IoTDay 2014 PresentationIOTDB - #IoTDay 2014 Presentation
IOTDB - #IoTDay 2014 Presentation
 
Building Blocks for the Internet of Things @ Home
Building Blocks for the Internet of Things @ HomeBuilding Blocks for the Internet of Things @ Home
Building Blocks for the Internet of Things @ Home
 
Discover Anywhere Mobile iPhone Apps
Discover Anywhere Mobile iPhone AppsDiscover Anywhere Mobile iPhone Apps
Discover Anywhere Mobile iPhone Apps
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

Connecting the Internet of Things to the Semantic Web