Re: JSON-LD Telecon Minutes for 2012-09-18

On Wed, Sep 19, 2012 at 11:26 AM, Markus Lanthaler
<markus.lanthaler@gmx.net> wrote:
> 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.

I agree. The use of distinct terms for the same property with
different datatypes can be quite important when you have a certain
amount of irregularity in the data (e.g. dc:created with either
xsd:date or xsd:dateTime, or dc:creator with either a resource
reference or a string literal).

Best regards,
Niklas


>
> [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 Thursday, 20 September 2012 17:36:41 UTC