- From: Melvin Carvalho <melvincarvalho@gmail.com>
- Date: Wed, 18 Apr 2012 02:09:42 +0200
- To: "mark@coactus.com" <mark@coactus.com>
- Cc: public-linked-json@w3.org
- Message-ID: <CAKaEYhJdMkD=mHgHwrKuy=AobD6J3z37yMKknoCX+ApaqPUYDQ@mail.gmail.com>
On 16 April 2012 23:07, mark@coactus.com <mark@coactus.com> wrote: > Hey everyone, > > I managed to convince the RDF WG of the value of the following idea > back in 2003 for RDF/XML, and wanted to try again now for JSON-LD. > > The idea was that some existing XML documents should be able to be > interpreted as RDF/XML. So this; > > <Person xmlns="something"> > <Name>Mark</Name> > <City>Ottawa</Name> > </Person> > > means the same thing as if it were wrapped in rdf:RDF. > > I had a look at the spec, and AFAICT (by looking at the spec, but also > playing in the playground), this isn't the case with JSON-LD, i.e. the > following JSON isn't also JSON-LD; > > {"name":"Mark","city":"Ottawa"} > > Is there a reason why this isn't already the case? I'm still quite new > to JSON-LD and don't have a feel for some of its goals, but as a new > user, this would simplify things for me. And as I mentioned to the RDF > WG, it's also a terrific tool in explaining the value of JSON-LD and > also in aiding in migration from JSON to JSON-LD. > > I should mention that despite using JSON-LD, I'm *not* using RDF, so > I'm not at all concerned about the fact that "name" and "city" aren't > grounded. I understand that will be a concern for others, but it would > be nice if I weren't required to care about it ;-) > Is this of any help? https://github.com/antoniogarrote/json-ld-macros > > Mark. > >
Received on Wednesday, 18 April 2012 00:10:14 UTC