W3C home > Mailing lists > Public > public-rdf-wg@w3.org > April 2011

Re: [JSON] A starting point...

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Wed, 06 Apr 2011 21:22:45 -0400
Message-ID: <4D9D11E5.5040507@digitalbazaar.com>
To: public-rdf-wg@w3.org
On 04/06/2011 07:54 AM, Peter Frederick Patel-Schneider wrote:
> I believe that I raised an issue with this one.

Peter, I attempted to respond to all of the issues you raised w/
Nathan's proposal. Let me know what you think about those responses and
we can go from there.

>> 5: Support a "@context" property that allows for a set of mappings from
>>    JSON keys to IRIs.
>> {
>>   "@context":
>>   {
>>      "Person": "http://xmlns.com/0.1/foaf/Person",
>>      "name": "http://xmlns.com/0.1/foaf/name",
>>   },
>>   "@id": "http://jondoe.example.org/#me",
>>   "@type": "Person",
>>   "name": "Nathan Rixham"
>> }
> I don't think that @context was part of Nathan's proposal at all.

No it wasn't, but since I removed @vocab from Nathan's proposal (because
it seemed controversial), I had to replace it with something.

@context /w terms is the simplest mechanism of being able to use
multiple RDF vocabularies in the same JSON document and simultaneously
keeping the beloved JSON dot-notation.

I don't agree that preserving the dot-notation is as important as others
believe - that is, I think we should support CURIEs in object keys, but
since a few people had concerns about that - let's not go there yet. Not
until we can agree on the most basic proposal... and work from there.


Manu Sporny (skype: msporny, twitter: manusporny)
President/CEO - Digital Bazaar, Inc.
blog: The PaySwarm Vocabulary
Received on Thursday, 7 April 2011 01:23:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 22:01:58 UTC