Re: [apps-discuss] JSON Hypertext Application Language

Mike Kelly <mikekelly321@gmail.com> Fri, 08 June 2012 21:55 UTC

Return-Path: <mikekelly321@gmail.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C80CE21F8547 for <apps-discuss@ietfa.amsl.com>; Fri, 8 Jun 2012 14:55:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.299
X-Spam-Level:
X-Spam-Status: No, score=-3.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_63=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d5ZoQIfmm1rm for <apps-discuss@ietfa.amsl.com>; Fri, 8 Jun 2012 14:55:15 -0700 (PDT)
Received: from mail-gg0-f172.google.com (mail-gg0-f172.google.com [209.85.161.172]) by ietfa.amsl.com (Postfix) with ESMTP id 1893321F853F for <apps-discuss@ietf.org>; Fri, 8 Jun 2012 14:55:15 -0700 (PDT)
Received: by ggnc4 with SMTP id c4so1922527ggn.31 for <apps-discuss@ietf.org>; Fri, 08 Jun 2012 14:55:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=o3V+KscjStFNjQxjC6gK6kDoqVztMXGR8/DicpHT1SA=; b=hRTr6lq1VXLTbm2ds1cDodjgjS/8y+a1cNpSTFT5ypGBHOWmGoWs1HrCBgJx+/ySaA uEZagbMuY1WOZo70JLrHYYEBNcAuUEV1KMu3TeF4du1WY5q4sYBZR9bavEDq9Ah3/GGr 3tgWqMQzVkcKOutMZyjkkCsR7yqC941rgguPbbUFHfjL8kzt3PFY+f7r03h+rRh4S9r6 +HHPpwrm4qmoPvZYZ97HQp3vNGp0yBT2k1mBzAByaFx82KhurFf8JoCbOpRTMx9JDGV5 +/ljzHX3TG220Ip7wvnBCiKtdc9/Qs1D0okImSPC5ddv2UQ85uLm5OH1w2g9NMGzdTVB mvyw==
MIME-Version: 1.0
Received: by 10.60.20.70 with SMTP id l6mr8863149oee.38.1339192514611; Fri, 08 Jun 2012 14:55:14 -0700 (PDT)
Received: by 10.60.28.195 with HTTP; Fri, 8 Jun 2012 14:55:14 -0700 (PDT)
In-Reply-To: <4FD271F5.8070906@ninebynine.org>
References: <CANqiZJa7GrBRbiV8X=o3Xkv-WcBEdKEntiZSFhMj4efQiNPEaQ@mail.gmail.com> <4FD271F5.8070906@ninebynine.org>
Date: Fri, 08 Jun 2012 22:55:14 +0100
Message-ID: <CANqiZJYnLRTgajiRsDNYFjZkNPOcae_T1xXrCMz5h75+1dyYCA@mail.gmail.com>
From: Mike Kelly <mikekelly321@gmail.com>
To: Graham Klyne <GK@ninebynine.org>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: apps-discuss@ietf.org
Subject: Re: [apps-discuss] JSON Hypertext Application Language
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Jun 2012 21:55:15 -0000

On Fri, Jun 8, 2012 at 10:43 PM, Graham Klyne <GK@ninebynine.org> wrote:
> I'd be interested to hear how you think JSON-HAL compares with RDF in
> general (http://www.w3.org/standards/techs/rdf) and the JSON-LD encoding of
> RDF in particular (http://json-ld.org/spec/latest/json-ld-syntax/)
>
> My immediate reaction is that there's a lot of overlap, even reinvention,
> here.  RDF has been in development for over 10 years, and there are now many
> and varied tools for working with it.
>

The obvious difference is complexity, HAL is considerably more simple
than JSON-LD; the HAL spec is tiny in comparison.

HAL does no impose any graph model on the resource state, it's just
plain JSON. The only triple'ish things in HAL are links and
embeddings.

Ian Davis actually produced a tool for converting RDF into HAL (with
some loss), but I can't find the link and not even sure if it is still
available.

Cheers,
M