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: Dave Raggett <dsr@w3.org>
Date: Mon, 5 Dec 2016 16:38:59 +0000
Cc: Public Web of Things IG <public-wot-ig@w3.org>
Message-Id: <E5E369AB-ED8C-4009-8541-A690D63E1645@w3.org>
To: "Peintner, Daniel" <daniel.peintner.ext@siemens.com>

> On 5 Dec 2016, at 14:59, Peintner, Daniel <daniel.peintner.ext@siemens.com> wrote:
> Hi Dave, all,
> While I understand the desire to convince Web developers and  I acknowledge your work and your background I do not fully agree with your conclusions.
> Yes, the format should be easy to understand. Yes, it would be good to have it as concise as possible. Yes, JSON might be a good choice also.
> Having said that, we should also take into account the tools that have been built around a given technology and the actual standing/dissemination it has.
> JSON-LD seems to be a good solution (tradeoff?)
> * it uses JSON format
> * it supports RDF (for those who really like/need it)
> * there are many tools around it
> * ...
> Inventing a new JSON format might be more concise BUT does not have any tool ready. Nor is it proved like a standard that has been worked  on for years.
> Moreover, I doubt that people gonna write thing description by hand. There will be tools built on top of JSON-LD. For a new format there is no such support.
> Hence, conciseness for plain-text thing descriptions might not be an issue (efficiency for restricted devices is another argument but is better solved differently).
> Do these arguments make sense?

Why donít you use JSON-LD to model the suite of use cases and OCF resources in my two demos and we can then ask web developers and SMEs for their comments on the side by side examples?  This would ensure that we cover a broad range of requirements as provided by the large set of use cases.

In respect to tooling, it took very little time to write the JSON to RDF translator, and making it easy to the exploit the mature tooling for RDF for reasoning over rich models of things, their relationships and context. Are you interested in helping with an exploration of semantic reasoning for the Web of things?

[1] https://www.w3.org/WoT/demos/td2ttl/
[2] https://www.w3.org/WoT/demos/td2ttl/oic.html

Best regards,
   Dave Raggett <dsr@w3.org <mailto:dsr@w3.org>>

Received on Monday, 5 December 2016 16:39:27 UTC

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