W3C home > Mailing lists > Public > public-linked-json@w3.org > August 2014

Re: Default @type

From: David Janes <davidjanes@davidjanes.com>
Date: Mon, 18 Aug 2014 13:11:43 -0400
Message-ID: <CACp1KyOJFNcruPvVodGO4jtGHOzQhJqMYnD3G7SpT1zbYYn67g@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Linked JSON <public-linked-json@w3.org>
Oh brilliant, thanks. Darn Internet, there's always something new in some
corner.

Flicking through the Node-JS jsonld it doesn't look like this is supported
by the code at this point?

D.



On Mon, Aug 18, 2014 at 12:38 PM, James M Snell <jasnell@gmail.com> wrote:

> Keep in mind that there is a "type" link relation registered for use
> with Link headers (see http://tools.ietf.org/html/rfc6903#section-6)
>
> In other words, you could use:
>
>   Link: <https://iotdb.org/iotdb/models/firmata-dht11>; rel="context"
>   Link: <https://iotdb.org/iotdb/models/firmata-dht11>; rel="type"
>
> To achieve the result you're looking for. That said, given that
> rel="type" is relatively new, it's likely that you will have to do the
> mapping yourself.
>
> - James Snell
>
>
Received on Monday, 18 August 2014 17:12:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:42 UTC