W3C home > Mailing lists > Public > public-wot-ig@w3.org > December 2016

RE: [TF-TD] proposal for JSON format, its application to OCF, and mapping to RDF

From: Kaebisch, Sebastian <sebastian.kaebisch@siemens.com>
Date: Fri, 2 Dec 2016 15:56:12 +0000
To: "dsr@w3.org" <dsr@w3.org>, "public-wot-ig@w3.org" <public-wot-ig@w3.org>
Message-ID: <0D6476DB209C0849AEE1E0724FB171EC043D3331@DENBGAT9EK0MSX.ww902.siemens.net>
Hi Dave,

thanks for your input. I think, a good place for presentation and detail discussions would be the TD web meeting on Wednesday (8am CET). I would allocate an agenda point for it.

Best regards

Mit TouchDown von meinem Android-Telefon gesendet (www.nitrodesk.com)

-----Original Message-----
From: Dave Raggett [dsr@w3.org]
Received: Freitag, 02 Dez. 2016, 15:55
To: Public Web of Things IG [public-wot-ig@w3.org]
Subject: [TF-TD] proposal for JSON format, its application to OCF, and mapping to RDF

I have been working on extending my earlier proposal for a JSON format for thing descriptions and its mapping to RDF. This is intended to be easy for Web developers to understand and also easy to transform to RDF given the appropriate context definitions. It is similar to JSON-LD, and uses @context to bind names to URIs. The obvious question is likely to be why not use JSON-LD?  The answer is that JSON-LD was designed to support RDF in its generality, and as such is more verbose than a JSON format designed for the purpose of describing the object model for things. We want to win over Web developers, so a concise easy to understand format is key.

I have two demo’s you can access from your web browser:

The first provides a wide range of example thing descriptions that are chosen to cover the full range of features for the object models for things, including properties, actions, events and metadata, as well as compound properties, enumerations, unions, streams and things as first class types.


I would like to show demo’s of the streaming use cases in next Wednesday’s main IG teleconference, and lead a discussion around the representation of things in RDF and what we need to do to show its utility for open markets of services.

The second one provides thing descriptions for the complete set of resources as defined in OCF’s OIC 1.1 specification as obtained from https://openconnectivity.org/resources/specifications

You can browse the sixty or so resources and their mapping to RDF:


I am now working on exploring how to generate RAML from the thing descriptions as a way of ensuring that the thing descriptions include the minimum set of metadata needed for accessing OCF based devices. After that I would like to develop an OCF library for my NodeJS hub and demonstrate its interoperability with iotiviity, which is the open source client and server for OCF, see:


Anyone interested in helping with this?

   Dave Raggett <dsr@w3.org<mailto:dsr@w3.org>>
Received on Friday, 2 December 2016 15:57:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:27:08 UTC