Re: hashlinks vs trusty URIs

On 6/6/20 3:28 AM, Ivan Herman wrote:
> I would think having a separate vocabulary to make statements like
> 
> <graph URI> <:hasHash> "hash value" .

My read on the paper is the same as Ivan's read.

The cleaner solution is to annotate the RDF graph, like the above, and
is effectively what the Linked Data Proof stuff does (as a part of graph
canonicalization).

Modifying the RDF graph or transforming it is what was being done for a
decade+ before Dave Longley invented the generalized solution.
Modification of an RDF graph to hash it has terrible complexity
consequences on software that needs to use the modified graph and
determine if that modified graph is the same one that is sitting on a
local system. In short, you create a very complex transformation and
comparison issue when you modify RDF graphs in order to hash them (or
refer to them using hashes).

To provide an alternative, the RDF Dataset Canonicalization Algorithm
canonicalizes the RDF graph in a way that a hash can be generated for it
without having to modify the original information. That hash could be
paired with hashlinks, but I'm struggling to understand the specific use
case (and don't have the spare cycles to put further thought into it
this moment).

I only had about 15 minutes to read through the Trusty URIs paper (first
time I had heard of it, nice arxiv archeology work!). My take away is
that it does things that are unnecessary with the solutions we have
available to us today. The basic generalized RDF hashing building blocks
are there via the RDF Dataset Canonicalization Algorithm. That hash can
then be used by any technology that can express a hash and metadata
about that hash (Linked Data Proofs/Signatures, Hashlinks, Magnet URIs,
Named Information, etc.)

Understanding the specific use case you're going after might help... or
if you think Trusty URIs can do something that can't be done with the
current generalized tooling we have?

-- manu

-- 
Manu Sporny - https://www.linkedin.com/in/manusporny/
Founder/CEO - Digital Bazaar, Inc.
blog: Veres One Decentralized Identifier Blockchain Launches
https://tinyurl.com/veres-one-launches

Received on Saturday, 6 June 2020 14:17:44 UTC