W3C home > Mailing lists > Public > public-rdf-wg@w3.org > January 2013

RE: JSON-LD grammar

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Mon, 14 Jan 2013 17:55:23 +0100
To: "'Pierre-Antoine Champin'" <pierre-antoine.champin@liris.cnrs.fr>
Cc: "'Gregg Kellogg'" <gregg@greggkellogg.net>, <public-linked-json@w3.org>, "'RDF WG'" <public-rdf-wg@w3.org>
Message-ID: <01ed01cdf277$f2cc2eb0$d8648c10$@lanthaler@gmx.net>
On  Monday, January 14, 2013 1:42 PM, Pierre-Antoine Champin wrote:
> > Furthermore, and that's the real deal-breaker, it
> > doesn't allow to express things such as, a JSON object which has
*either* a
> > @language *or* a @type member (both are allowed but not at the same
> I think it does! Attached is a partial schema, which handles the cas of
> literals with either @language or @type.

You are right. Your trick of disallowing all properties starting with an "@"
would do the job.

Markus Lanthaler
Received on Monday, 14 January 2013 16:55:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:24 UTC