TD Extension Points Links and Annotation W3C WoT Face To Face - - PowerPoint PPT Presentation

td extension points
SMART_READER_LITE
LIVE PREVIEW

TD Extension Points Links and Annotation W3C WoT Face To Face - - PowerPoint PPT Presentation

TD Extension Points Links and Annotation W3C WoT Face To Face Meeting July 2-5, Bundang, Korea TD Extension Points Links Field Thing Hierarchy Semantic Annotation Links "links" field in the TD RFC 8288 => Web


slide-1
SLIDE 1

TD Extension Points

Links and Annotation

W3C WoT Face To Face Meeting July 2-5, Bundang, Korea

slide-2
SLIDE 2

TD Extension Points

  • Links Field
  • Thing Hierarchy
  • Semantic Annotation
slide-3
SLIDE 3

Links

  • "links" field in the TD
  • RFC 8288 => Web linking
  • RFC 6690 + core-links-json => Web link serialization
  • Points to related resources
  • Collections of resources
  • Hierarchies of resources

"links": [ { "href": "https://servient.example.com/things/lamp/controller", "rel": "controlledBy", "mediaType": "application/td" } ]

slide-4
SLIDE 4

Links pointing to TDs

  • How do you point to a TD?
  • Stored in an RD
  • Exposed by a thing
  • Collection of links in a TD
  • TD as an index with link annotation
  • Hierarchies of TDs
slide-5
SLIDE 5

Collection-Hierarchy

"links": [ { "href": "https://servient.example.com/things/lamp/controller", "rel": "controlledBy", "mediaType": "application/td" }, { "href": "https://servient.example.com/things/lamp", "rel": "partOf", "mediaType": "application/td" }, { "href": "https://servient.example.com/things/lamp/switch", "rel": "hasController", "mediaType": "application/td" } ]

slide-6
SLIDE 6

Semantic Annotation

  • Add triples to a TD
  • Add context resources
slide-7
SLIDE 7

Feature Of Interest Pattern

slide-8
SLIDE 8

Thing Description Example

{ "@context": [{"iot": "http://iotschema.org/", "festoPA":"http://example.com/FestoPA/"} ], "@type": [ "Thing", "iot:Pump", "iot:Valve", "iot:FloatSwitch", "iot:UltrasonicSensing“ ], "iot:isAssociatedWith" : {"@id": "festoPA:FESTO-1", "@type": "iot:LiquidMixingSystem"}, "name": "FestoLive", "id": "urn:dev:wot:siemens:festolive", "security": [{"scheme": "basic"}], "properties": { "PumpStatus": { "@type": "iot:OperationStatus", "isPropertyOf": {"@id": "festoPA:Pipe2", "@type": "iot:LiquidPipe"}, "type": "object", "properties": {"PumpStatus": {"type": "boolean"}}, "writable": false, "observable": false, "forms": [{ "href": "https://129.144.182.85/iot/api/devices/Festo/PumpStatus", "mediaType": "application/json“ }] }