W3C home > Mailing lists > Public > public-linked-json@w3.org > December 2013


From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Mon, 9 Dec 2013 22:35:26 +0100
To: "'Linked JSON'" <public-linked-json@w3.org>
Cc: "'Mark Hapner'" <mark.hapner@resilient-networks.com>
Message-ID: <026f01cef526$945bf560$bd13e020$@lanthaler@gmx.net>
On Monday, December 09, 2013 9:02 PM, Mark Hapner wrote:
> Another question ...
> In Sec 8.7 
> 'If the expanded term definition contains the @id keyword, its
> value MUST be null, an absolute IRI, a blank node identifier, a
> compact IRI, a term, or a keyword.'
> What keyword can be a value of an @id expanded def property and
> what would it mean? Does this also apply to the value of an @reverse
> member?

It can be any keyword expect @context. You can use it to alias keywords.
Typically however you wouldn't use expanded term definitions to do so as you
can't set a type or container doing so.

Here's an example of how @id can be aliased using expanded term definitions:

  "@context": {
    "id": { "@id": "@id" }
  "id": "http://me.markus-lanthaler.com/",
  "name": "Markus"

This doesn't apply to @reverse.

Markus Lanthaler
Received on Monday, 9 December 2013 21:35:57 UTC

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