W3C home > Mailing lists > Public > public-linked-json@w3.org > November 2011

RE: HTTP POST and @subject IRI

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Sun, 6 Nov 2011 19:48:27 +0800
To: <public-linked-json@w3.org>
Message-ID: <01e201cc9c7a$02d505c0$087f1140$@lanthaler@gmx.net>
> Or you could just omit the @subject entirely and have your server
> populate it for you. It is perfectly legal JSON-LD to not specify a
> @subject.

Won't that create a blank node? That's not really what's intended here.


> On 11/03/2011 02:11 PM, Gregg Kellogg wrote:
> > Another thing you can do is post a JSON-LD using relative IRIs, which
> then resolve to the base IRI given to the document.

This is a very elegant solution! We should consider to document that
somewhere at a later point given that it's probably gonna be a very popular
scenario.

I had the same problem with SPARQL Update recently but as far as I know
there isn't any nice solution for that.


--
Markus Lanthaler
@markuslanthaler
Received on Sunday, 6 November 2011 11:49:10 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:35 GMT