- From: Markus Lanthaler <markus.lanthaler@gmx.net>
- Date: Wed, 19 Sep 2012 11:26:24 +0200
- To: "'Gregg Kellogg'" <gregg@greggkellogg.net>, "'Manu Sporny'" <msporny@digitalbazaar.com>
- Cc: "'Linked JSON'" <public-linked-json@w3.org>, "'RDF WG'" <public-rdf-wg@w3.org>
I couldn't remember either so I checked.. The original compaction algorithm was written by you Gregg [1] and was then updated by Dave Longley [2]. My implementation [3] is different - especially the term ranking algorithm [4]; it is based on what I described in ISSUE-113 [5]. I agree that we should try to simplify the compaction algorithm, but I don't think we should oversimplify it, i.e., we shouldn't ignore data ranges IMO. [1] https://github.com/json-ld/json-ld.org/commit/286cb5999723818769cee28c847794ccdfe91f83 [2] https://github.com/json-ld/json-ld.org/commit/30de6cb12730168ca2960d6bde217b12c4cdbf6b [3] https://github.com/lanthaler/JsonLD/blob/master/Processor.php#L855 [4] https://github.com/lanthaler/JsonLD/blob/master/Processor.php#L1067 [5] https://github.com/json-ld/json-ld.org/issues/113#issuecomment-5567976 -- Markus Lanthaler @markuslanthaler > -----Original Message----- > From: Gregg Kellogg [mailto:gregg@greggkellogg.net] > Sent: Tuesday, September 18, 2012 7:54 PM > To: Manu Sporny > Cc: Linked JSON; RDF WG > Subject: Re: JSON-LD Telecon Minutes for 2012-09-18 > > For the record, I did describe the original IRI compaction algorithm, > but I believe it was re-specified by Markus (can't check just now). I'm > on the recorded for suggesting that we dramatically simplify it, most > likely by ignoring the data range issues and simply used defined terms, > followed by Compact IRIs in lexicographical order. Anything more > complicated should use custom logic. There should be provision for a > callback to allow the user to define more custom logic. > > Gregg Kellogg
Received on Wednesday, 19 September 2012 09:26:57 UTC