W3C home > Mailing lists > Public > public-vocabs@w3.org > May 2014

[FYI] IANA Link Rels JSON-LD @context

From: James M Snell <jasnell@gmail.com>
Date: Tue, 20 May 2014 10:13:29 -0700
Message-ID: <CABP7RbcyTq-eE2Yz6bUZKqUNHjggif4xkDt2YrjZGfF=YJfbDg@mail.gmail.com>
To: "public-vocabs@w3.org Vocabs" <public-vocabs@w3.org>
Just an FYI... I've published an experimental JSON-LD @context
covering the current contents of the IANA Link Relations registry
here:

http://linkrels.ng.bluemix.net/links

The @context is generated automatically from the registry CSV. Use is
straightforward:

{
  "@context": "http://linkrels.ng.bluemix.net/links",
  "next": "http://example.org/next.resource",
  "prev": "http://example.org/prev.resource"
}

"next" would expand to "http://www.iana.org/assignments/link-relations/next"
"prev" expands to "http://www.iana.org/assignments/link-relations/prev"

- James
  jasnell@gmail.com
Received on Tuesday, 20 May 2014 17:14:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:29:41 UTC