Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Victor Charpenay | Standardized Semantics for an Open Web of Things

270 views

Published on

http://2016.semantics.cc/victor-charpenay

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Victor Charpenay | Standardized Semantics for an Open Web of Things

  1. 1. Public © Siemens AG 2015 siemens.com Standardized Semantics for an Open Web of Things Victor Charpenay – SEMANTiCS 2016, Leipzig, 14th Sept. 2016
  2. 2. 2015-04-17 Public © Siemens AG 2015 Page 2 Victor Charpenay / CT RDA NEC WOS-DE Outline • Introduction • Why the Web of Things depends on semantics • W3C Web of Things Interest Group • Self-descriptive Things • Protocol bindings & scripting API • Use cases • An ontology for WoT • Ontologies for the IoT • Ontologies for the Web • The Web of Things as seen by the W3C • Applications • Semantic querying and alignment • Thing Description playground • Conclusion See also: “Introducing Thing Descriptions and Interactions: An Ontology for the Web of Things” (1)
  3. 3. 2015-04-17 Public © Siemens AG 2015 Page 3 Victor Charpenay / CT RDA NEC WOS-DE The Perfect Storm, http://www.imdb.com/title/tt0177971/
  4. 4. 2015-04-17 Public © Siemens AG 2015 Page 4 Victor Charpenay / CT RDA NEC WOS-DE The Perfect Storm, http://www.imdb.com/title/tt0177971/
  5. 5. 2015-04-17 Public © Siemens AG 2015 Page 5 Victor Charpenay / CT RDA NEC WOS-DE Satellite image taken yesterday, available at http://... The Perfect Storm, http://www.imdb.com/title/tt0177971/
  6. 6. 2015-04-17 Public © Siemens AG 2015 Page 6 Victor Charpenay / CT RDA NEC WOS-DE Satellite image taken yesterday, available at http://... Satellite image to be taken today, for $100. Click here The Perfect Storm, http://www.imdb.com/title/tt0177971/
  7. 7. 2015-04-17 Public © Siemens AG 2015 Page 7 Victor Charpenay / CT RDA NEC WOS-DE Satellite image taken yesterday, available at http://... Satellite image to be taken today, for $100. Click here (Emergency) A Coast Guard observer plane ca n be sent. Click here. The Perfect Storm, http://www.imdb.com/title/tt0177971/
  8. 8. 2015-04-17 Public © Siemens AG 2015 Page 8 Victor Charpenay / CT RDA NEC WOS-DE Satellite image taken yesterday, available at http://... Satellite image to be taken today, for $100. Click here (Emergency) A Coast Guard observer plane ca n be sent. Click here. (Abuse punished) A high- altitude US military observer ca n be sent. Click here. The Perfect Storm, http://www.imdb.com/title/tt0177971/
  9. 9. 2015-04-17 Public © Siemens AG 2015 Page 9 Victor Charpenay / CT RDA NEC WOS-DE Satellite image taken yesterday, available at http://... Satellite image to be taken today, for $100. Click here (Emergency) A Coast Guard observer plane ca n be sent. Click here. (Abuse punished) A high- altitude US military observer ca n be sent. Click here. A satellite image commercial service will launch late 2016. See http://... The Perfect Storm, http://www.imdb.com/title/tt0177971/
  10. 10. 2015-04-17 Public © Siemens AG 2015 Page 10 Victor Charpenay / CT RDA NEC WOS-DE Semantics for the Web of Things Strata 2013, https://youtu.be/Cob5oltMGMc Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion James Hendler
  11. 11. 2015-04-17 Public © Siemens AG 2015 Page 11 Victor Charpenay / CT RDA NEC WOS-DE Semantics for the Web of Things Strata 2013, https://youtu.be/Cob5oltMGMc Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion James Hendler
  12. 12. 2015-04-17 Public © Siemens AG 2015 Page 12 Victor Charpenay / CT RDA NEC WOS-DE Semantics for the Web of Things Strata 2013, https://youtu.be/Cob5oltMGMc Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion James Hendler
  13. 13. 2015-04-17 Public © Siemens AG 2015 Page 13 Victor Charpenay / CT RDA NEC WOS-DE W3C WoT Interest Group Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion W3C WoT Interest Group MilkbySimonStålenhag
  14. 14. 2015-04-17 Public © Siemens AG 2015 Page 14 Victor Charpenay / CT RDA NEC WOS-DE Things are Self-descriptive Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion ESP8266WiFIModulebyDavidMellis
  15. 15. 2015-04-17 Public © Siemens AG 2015 Page 15 Victor Charpenay / CT RDA NEC WOS-DE Things are Self-descriptive Host: coap://www.example.com:5683/ GET /.well-known/core GET /temp GET /temp/val OBSERVE /temp/val/high POST /temp/set Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion ESP8266WiFIModulebyDavidMellis
  16. 16. 2015-04-17 Public © Siemens AG 2015 Page 16 Victor Charpenay / CT RDA NEC WOS-DE Things are Self-descriptive { "@context": [ … ], "@type": “saref:TemperatureSensor", "name": "myTempSensor", "uris": [ "coap://www.example.com:5683/temp" ], "encodings": [ "JSON" ], "properties": [{ "@type": “saref:Temperature", "hrefs": [ "val" ]}], "actions": [{ "@type": “saref:SetAbsoluteLevelCommand", "inputData": { "@type": “saref:Temperature", "valueType": { "type": "number" }}, "hrefs": [ “set" ]}], "events": [{ "valueType": { "type": "number" }, "hrefs": [ "val/high" ]}] } Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion W3C WoT Thing Description (JSON-LD)
  17. 17. 2015-04-17 Public © Siemens AG 2015 Page 17 Victor Charpenay / CT RDA NEC WOS-DE Things are Self-descriptive { "@context": [ … ], "@type": “saref:TemperatureSensor", "name": "myTempSensor", "uris": [ "coap://www.example.com:5683/temp" ], "encodings": [ "JSON" ], "properties": [{ "@type": “saref:Temperature", "hrefs": [ "val" ]}], "actions": [{ "@type": “saref:SetAbsoluteLevelCommand", "inputData": { "@type": “saref:Temperature", "valueType": { "type": "number" }}, "hrefs": [ “set" ]}], "events": [{ "valueType": { "type": "number" }, "hrefs": [ "val/high" ]}] } Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion W3C WoT Thing Description (JSON-LD)
  18. 18. 2015-04-17 Public © Siemens AG 2015 Page 18 Victor Charpenay / CT RDA NEC WOS-DE Things are Self-descriptive { "@context": [ … ], "@type": “saref:TemperatureSensor", "name": "myTempSensor", "uris": [ "coap://www.example.com:5683/temp" ], "encodings": [ "JSON" ], "properties": [{ "@type": “saref:Temperature", "hrefs": [ "val" ]}], "actions": [{ "@type": “saref:SetAbsoluteLevelCommand", "inputData": { "@type": “saref:Temperature", "valueType": { "type": "number" }}, "hrefs": [ “set" ]}], "events": [{ "valueType": { "type": "number" }, "hrefs": [ "val/high" ]}] } Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion W3C WoT Thing Description (JSON-LD)
  19. 19. 2015-04-17 Public © Siemens AG 2015 Page 19 Victor Charpenay / CT RDA NEC WOS-DE Protocol Bindings Operation HTTP CoAP MQTT BLE Create POST POST PUBLISH N/A Retrieve GET GET SUBSCRIBE READ Update PUT PUT PUBLISH WRITE Delete DELETE DELETE N/A N/A Observe GET text/stream, TE=chunked (SSE) GET with OBS option SUBSCRIBE ? Notify SSE chunk Response Response with OBS option PUBLISH NOTIFY Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion Interaction model mapping to an Abstract Transfer Layer (proposal)
  20. 20. 2015-04-17 Public © Siemens AG 2015 Page 20 Victor Charpenay / CT RDA NEC WOS-DE Protocol Bindings Operation HTTP CoAP MQTT BLE Create POST POST PUBLISH N/A Retrieve GET GET SUBSCRIBE READ Update PUT PUT PUBLISH WRITE Delete DELETE DELETE N/A N/A Observe GET text/stream, TE=chunked (SSE) GET with OBS option SUBSCRIBE ? Notify SSE chunk Response Response with OBS option PUBLISH NOTIFY Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion Interaction model mapping to an Abstract Transfer Layer (proposal) Property
  21. 21. 2015-04-17 Public © Siemens AG 2015 Page 21 Victor Charpenay / CT RDA NEC WOS-DE Protocol Bindings Operation HTTP CoAP MQTT BLE Create POST POST PUBLISH N/A Retrieve GET GET SUBSCRIBE READ Update PUT PUT PUBLISH WRITE Delete DELETE DELETE N/A N/A Observe GET text/stream, TE=chunked (SSE) GET with OBS option SUBSCRIBE ? Notify SSE chunk Response Response with OBS option PUBLISH NOTIFY Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion Interaction model mapping to an Abstract Transfer Layer (proposal) Property Action
  22. 22. 2015-04-17 Public © Siemens AG 2015 Page 22 Victor Charpenay / CT RDA NEC WOS-DE Protocol Bindings Operation HTTP CoAP MQTT BLE Create POST POST PUBLISH N/A Retrieve GET GET SUBSCRIBE READ Update PUT PUT PUBLISH WRITE Delete DELETE DELETE N/A N/A Observe GET text/stream, TE=chunked (SSE) GET with OBS option SUBSCRIBE ? Notify SSE chunk Response Response with OBS option PUBLISH NOTIFY Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion Interaction model mapping to an Abstract Transfer Layer (proposal) Property Action Event
  23. 23. 2015-04-17 Public © Siemens AG 2015 Page 23 Victor Charpenay / CT RDA NEC WOS-DE Web Scripting API WoT.discover("repository", { repository: "http://localhost:8080", query: "?t a saref:Switch ; saref:isUsedFor ?bo ; hasAction ?a ; isLocatedIn " + room + " . " + "?bo a saref:Window . " + "?a a saref:CloseCommand ." }).then(function(things) { things.forEach(function(thing) { var name = thing.actions.find(function(t) { return t["@type"] === "saref:CloseCommand" }).name; thing.invokeAction(name); }); }) Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion Example of using WoT scripting API and SAREF vocabulary on a Javascript WoT engine
  24. 24. 2015-04-17 Public © Siemens AG 2015 Page 24 Victor Charpenay / CT RDA NEC WOS-DE Use Cases Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion Building Automation Mobility Energy Management Cross-domain Application WoT Model … Use Cases and Requirements for the Web of Things
  25. 25. 2015-04-17 Public © Siemens AG 2015 Page 25 Victor Charpenay / CT RDA NEC WOS-DE Use Cases Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion Building Automation Mobility Energy Management … Use Cases and Requirements for the Web of Things
  26. 26. 2015-04-17 Public © Siemens AG 2015 Page 26 Victor Charpenay / CT RDA NEC WOS-DE Use Cases Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion Use Cases and Requirements for the Web of Things
  27. 27. 2015-04-17 Public © Siemens AG 2015 Page 27 Victor Charpenay / CT RDA NEC WOS-DE Use Cases Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion Use Cases and Requirements for the Web of Things
  28. 28. 2015-04-17 Public © Siemens AG 2015 Page 28 Victor Charpenay / CT RDA NEC WOS-DE An Ontology for WoT Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion An Ontology for WoT HackingTheLoopbySimonStålenhag
  29. 29. 2015-04-17 Public © Siemens AG 2015 Page 29 Victor Charpenay / CT RDA NEC WOS-DE OWL-IoT-S SA SWEET OWL-S SAREF oneM2M Time WGS84 DUL WoT IoT-O IoT-lite SSN QUDT DogOnt WSMO-lite MUO PowerOnt UCUM SAN IRE Ontologies for the IoT Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion — extends — has disjunctions with — has equivalences with — specializes Linked Open Vocabulary (LOV) cloud for the IoT
  30. 30. 2015-04-17 Public © Siemens AG 2015 Page 30 Victor Charpenay / CT RDA NEC WOS-DE Ontologies for the Web Proxy Resource Web Resource Semantic Resource Entity proxyFor formalExactProxyFor Identifier (URI) Abstract Web Location webLocationOf hasIdentifier Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion
  31. 31. 2015-04-17 Public © Siemens AG 2015 Page 31 Victor Charpenay / CT RDA NEC WOS-DE Ontologies for the Web https://en.wikipedia.org/wiki/Berlin Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion skylineberlinbyMarco
  32. 32. 2015-04-17 Public © Siemens AG 2015 Page 32 Victor Charpenay / CT RDA NEC WOS-DE Ontologies for the Web @prefix wikibase: <http://wikiba.se/ontology- beta#> . @prefix wdata: <https://www.wikidata.org/wiki/Special:EntDt/> . @prefix wd: <http://www.wikidata.org/entity/> . @prefix skos: <http://www.w3.org/2004/02/skos/core#> . @prefix schema: <http://schema.org/> . wd:Q64 a wikibase:Item ; rdfs:label "Berlin"@en ; skos:prefLabel "Berlin"@en ; schema:name "Berlin"@en ; rdfs:label "Берлин"@ru ; skos:prefLabel "Берлин"@ru ; schema:name "Берлин"@ru ; rdfs:label "Berlin"@fr ; skos:prefLabel "Berlin"@fr ; schema:name "Berlin"@fr ; schema:description "capital and city-state of Germany"@en, wdt:P610 wd:Q19259618 ; wdt:P1151 wd:Q3248436 ; wdt:P31 wd:Q1221156, wd:Q262166 ; wdt:P150 wd:Q163966, wd:Q158893, wd:Q163012, wd:Q158876 ; wdt:P194 wd:Q640859 ; wdt:P209 wd:Q2515458 ; … Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion http://wikidata.org/entity/Q64
  33. 33. 2015-04-17 Public © Siemens AG 2015 Page 33 Victor Charpenay / CT RDA NEC WOS-DE Thing Description and Interactions Interaction Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion Proxy Resource Web Resource Semantic Resource Entity proxyFor formalExactProxyFor URI (Identifier) Abstract Web Location webLocationOf hasIdentifier Thing Description Property Action Event Thing
  34. 34. 2015-04-17 Public © Siemens AG 2015 Page 34 Victor Charpenay / CT RDA NEC WOS-DE Thing Description and Interactions Interaction Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion Proxy Resource Web Resource Semantic Resource Entity proxyFor formalExactProxyFor URI (Identifier) Abstract Web Location webLocationOf hasIdentifier Thing Description Property Action Event Thing http://w3c.github.io/wot/wot.owl
  35. 35. 2015-04-17 Public © Siemens AG 2015 Page 35 Victor Charpenay / CT RDA NEC WOS-DE Thing Description and Interactions { "@context": [ … ], "@type": “Thing", "name": "myTempSensor", "uris": [ "coap://www.example.com:5683/temp" ], "encodings": [ "JSON" ], "properties": [{ "name": "myTemp", "valueType": { "type": "number" }, "writable": false, "hrefs": [ "val" ]}], "actions": [{ "inputData": { valueType: { "type": "number" }}, "name": "myThermostat", "hrefs": [ “set" ]}], "events": [{ "valueType": { "type": "number" }, "name": "myWarning", "hrefs": [ "val/high" ]}] } Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion coap://www.example.com:5683/temp
  36. 36. 2015-04-17 Public © Siemens AG 2015 Page 36 Victor Charpenay / CT RDA NEC WOS-DE Applications Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion Applications We’veGotBandwidthbySimonStålenhag
  37. 37. 2015-04-17 Public © Siemens AG 2015 Page 37 Victor Charpenay / CT RDA NEC WOS-DE Semantic Querying and Alignment Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion (DUL) (DUL) Property Action Quality Abstract Entity
  38. 38. 2015-04-17 Public © Siemens AG 2015 Page 38 Victor Charpenay / CT RDA NEC WOS-DE Semantic Querying and Alignment Quantity Kind Property Temperature Pressure Quantity of Light (QUDT) (SSN) Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion (DUL) (DUL) Property Action Quality Abstract Entity
  39. 39. 2015-04-17 Public © Siemens AG 2015 Page 39 Victor Charpenay / CT RDA NEC WOS-DE Semantic Querying and Alignment Quantity Kind Property Temperature Pressure Quantity of Light (QUDT) (SSN) Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion (DUL) (DUL) Property Action Quality Abstract Entity
  40. 40. 2015-04-17 Public © Siemens AG 2015 Page 40 Victor Charpenay / CT RDA NEC WOS-DE Semantic Querying and Alignment Quantity Kind Property Temperature Pressure Quantity of Light (QUDT) (SSN) Continuous Functionality Functionality Discrete Functionality Temperature Regulation Tuner Regulation Fan Control Play Functionality Toggle Functionality (DogOnt) Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion (DUL) (DUL) Property Action Quality Abstract Entity
  41. 41. 2015-04-17 Public © Siemens AG 2015 Page 41 Victor Charpenay / CT RDA NEC WOS-DE Semantic Querying and Alignment Quantity Kind Property Temperature Pressure Quantity of Light (QUDT) (SSN) Continuous Functionality Functionality Discrete Functionality Temperature Regulation Tuner Regulation Fan Control Play Functionality Toggle Functionality (DogOnt) Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion (DUL) (DUL) Property Action Quality Abstract Entity
  42. 42. 2015-04-17 Public © Siemens AG 2015 Page 42 Victor Charpenay / CT RDA NEC WOS-DE Semantic Validation Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion
  43. 43. 2015-04-17 Public © Siemens AG 2015 Page 43 Victor Charpenay / CT RDA NEC WOS-DE Semantic Validation Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion thingweb/thingweb-playground
  44. 44. 2015-04-17 Public © Siemens AG 2015 Page 44 Victor Charpenay / CT RDA NEC WOS-DE Conclusion Summary Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion
  45. 45. 2015-04-17 Public © Siemens AG 2015 Page 45 Victor Charpenay / CT RDA NEC WOS-DE Conclusion Summary • Semantics are at the core of the activity in the W3C IG Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion
  46. 46. 2015-04-17 Public © Siemens AG 2015 Page 46 Victor Charpenay / CT RDA NEC WOS-DE Conclusion Summary • Semantics are at the core of the activity in the W3C IG • Semantic modelling made accessible through tooling Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion
  47. 47. 2015-04-17 Public © Siemens AG 2015 Page 47 Victor Charpenay / CT RDA NEC WOS-DE Conclusion Summary • Semantics are at the core of the activity in the W3C IG • Semantic modelling made accessible through tooling Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion http://w3c.github.io/wot/wot.owl https://github.com/thingweb/thingweb-playground/
  48. 48. 2015-04-17 Public © Siemens AG 2015 Page 48 Victor Charpenay / CT RDA NEC WOS-DE Conclusion Summary • Semantics are at the core of the activity in the W3C IG • Semantic modelling made accessible through tooling • TPAC Lisbon 2016 next week Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion http://w3c.github.io/wot/wot.owl https://github.com/thingweb/thingweb-playground/
  49. 49. 2015-04-17 Public © Siemens AG 2015 Page 49 Victor Charpenay / CT RDA NEC WOS-DE Conclusion Summary • Semantics are at the core of the activity in the W3C IG • Semantic modelling made accessible through tooling • TPAC Lisbon 2016 next week Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion http://w3c.github.io/wot/wot.owl https://github.com/thingweb/thingweb-playground/ https://www.w3.org/2016/09/TPAC/
  50. 50. 2015-04-17 Public © Siemens AG 2015 Page 50 Victor Charpenay / CT RDA NEC WOS-DE Conclusion Summary • Semantics are at the core of the activity in the W3C IG • Semantic modelling made accessible through tooling • TPAC Lisbon 2016 next week Introduction W3C WoT Interest Group An Ontology for WoT Applications Conclusion http://w3c.github.io/wot/wot.owl https://github.com/thingweb/thingweb-playground/ https://www.w3.org/2016/09/TPAC/ Thank you!
  51. 51. 2015-04-17 Public © Siemens AG 2015 Page 51 Victor Charpenay / CT RDA NEC WOS-DE References (1) Introducing Thing Descriptions and Interactions: An Ontology for the Web of Things (2) Agents and the Semantic Web (3) http://w3c.github.io/wot/current-practices/wot-practices.html (4) http://w3c.github.io/wot/proposals/explicit-bindings/abstract-transfer-layer.html (5) http://w3c.github.io/wot/wot-ucr.html (6) Linked Open Vocabularies (LOV): a gateway to reusable semantic vocabularies on the Web (7) The SSN ontology of the W3C semantic sensor network incubator group (8) http://www.ontologydesignpatterns.org/ont/dul/DUL.owl (9) Identity of Resources and Entities on the Web (10) The bourne identity of a web resource (11) Towards an OWL ontology for identity on the web
  52. 52. 2015-04-17 Public © Siemens AG 2015 Page 52 Victor Charpenay / CT RDA NEC WOS-DE Conclusion The Perfect Storm, http://www.imdb.com/title/tt0177971/

×