Re: [ietf-types] Q's regarding development of +json media types

Gregg Kellogg <gregg@kellogg-assoc.com> Thu, 30 September 2010 20:23 UTC

Return-Path: <gregg@kellogg-assoc.com>
X-Original-To: ietf-types@core3.amsl.com
Delivered-To: ietf-types@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 092933A6E8E for <ietf-types@core3.amsl.com>; Thu, 30 Sep 2010 13:23:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sWzBDVxxC9Ez for <ietf-types@core3.amsl.com>; Thu, 30 Sep 2010 13:23:16 -0700 (PDT)
Received: from sh12.exchange.ms (sh12.exchange.ms [64.71.238.98]) by core3.amsl.com (Postfix) with ESMTP id A3EFE3A6E87 for <ietf-types@ietf.org>; Thu, 30 Sep 2010 13:23:16 -0700 (PDT)
Received: from mse23fe1.mse23.exchange.ms (unknown [172.29.12.208]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by sh12.exchange.ms (Postfix) with ESMTPS id ADEE5AC765; Thu, 30 Sep 2010 16:22:08 -0400 (EDT)
Received: from mse23be2.mse23.exchange.ms ([172.29.12.201]) by mse23fe1.mse23.exchange.ms ([172.29.12.208]) with mapi; Thu, 30 Sep 2010 16:23:35 -0400
From: Gregg Kellogg <gregg@kellogg-assoc.com>
To: "nathan@webr3.org" <nathan@webr3.org>
Date: Thu, 30 Sep 2010 16:23:33 -0400
Thread-Topic: [ietf-types] Q's regarding development of +json media types
Thread-Index: Actg3Vt9YKkEgscDSW278jffJWoX4g==
Message-ID: <B8818F73-6970-4A9E-9DF6-F187AEAD70AB@kellogg-assoc.com>
References: <4CA4E494.1010803@webr3.org>
In-Reply-To: <4CA4E494.1010803@webr3.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MailStreet-MailScanner-ID: ADEE5AC765.18DD8
X-MailStreet-MailScanner: Found to be clean
Cc: "ietf-types@ietf.org" <ietf-types@ietf.org>
Subject: Re: [ietf-types] Q's regarding development of +json media types
X-BeenThere: ietf-types@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Media \(MIME\) type review" <ietf-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietf-types>, <mailto:ietf-types-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf-types>
List-Post: <mailto:ietf-types@ietf.org>
List-Help: <mailto:ietf-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-types>, <mailto:ietf-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Sep 2010 20:23:18 -0000

I don't think it makes sense to describe JSON serializations of Notation 3 or N-Triples, as these are themselves just serializations of RDF. Perhaps what you're describing is two different JSON serializations of RDF, one which is more closely related to Notation-3 and the other N-Triples. Although, note that Notation-3 is, itself, a super-set of N-Triples (as is Turtle [1]), so is there really a requirement for two different serializations, or isn't it up to the author to chose a particular syntax using different capabilities of the format.

Also, note that Notation-3 is more than a syntax, as it includes behavior as well as representation, which is one reason Turtle was created. A purely syntactic version of Notation-3 is n3-rdf [2], which is a relatively small super-set of Turtle itself.

Does this relate, in anyway to JSON-LD [3], which is also an RDF serialization in JSON?

Perhaps application/rdf+json would be an appropriate mime-type.

Gregg

[1] http://www.w3.org/TeamSubmission/turtle/
[2] See N3-rdf at http://www.w3.org/DesignIssues/Notation3
[3] http://rdfa.digitalbazaar.com/specs/source/json-ld/

On Sep 30, 2010, at 12:27 PM, Nathan wrote:

> Hi,
> 
> I'm currently working on / experimenting with two JSON based 
> media-types, the first is a JSON based serialization of Notation 3, the 
> other a JSON based serialization of N-Triples.
> 
> I've got to the point now where I have implementations of both and need 
> to content-negotiate over them, thus my initial question is what media 
> type should I use in the interim whilst experimenting?
> 
> For a later date, if I were to move towards seeking registration, would 
> the best approach be to work on the specifications out with any 
> standards body, or to do the work as an internet-draft, or?
> 
> Would the recommended approach be to work towards a json-schema approach 
> or towards a "+json" type?
> 
> And finally, for JSON based media-types do you have any special 
> considerations or gotcha's I should be taking in to account at an early 
> stage?
> 
> Best & TIA for any response,
> 
> Nathan
> _______________________________________________
> ietf-types mailing list
> ietf-types@ietf.org
> https://www.ietf.org/mailman/listinfo/ietf-types