Re: resolving IDs

hi jim and tim,

thanks for considering this: Tracker, this is PROV-ISSUE-482

for now i'm simply assigning uuid1() hex strings as ids. these are
guaranteed to be unique. we will still have to think about those situations
where we need to reconcile these from different bundles to be the same
(e.g. the same agent - person, software, organization - did something).
however, this will also require standardization of certain entities and
organizations being registered at a uri.

cheers,

satra

On Mon, Aug 20, 2012 at 3:14 PM, Jim McCusker <mccusj@rpi.edu> wrote:

> If a bundle uses a URI for the ID, then if they use the same URI they are
> talking about the same thing. If they are using something else, make a
> namespace prefix for the bundle (I prefer to do it based on a content
> digest of the document the bundle is in) and use that prefix to qualify the
> IDs.
>
> Jim
>
>
> On Mon, Aug 20, 2012 at 3:06 PM, Satrajit Ghosh <satra@mit.edu> wrote:
>
>> hi all,
>>
>> if one were implementing a database storing prov bundles, would we have
>> to ensure that IDs don't clash in the database insertion code? or is the
>> understanding that IDs are only meant to be unique within a given bundle
>> context?
>>
>> cheers,
>>
>> satra
>>
>>
>
>
> --
> Jim McCusker
> Programmer Analyst
> Krauthammer Lab, Pathology Informatics
> Yale School of Medicine
> james.mccusker@yale.edu | (203) 785-6330
> http://krauthammerlab.med.yale.edu
>
> PhD Student
> Tetherless World Constellation
> Rensselaer Polytechnic Institute
> mccusj@cs.rpi.edu
> http://tw.rpi.edu
>

Received on Saturday, 25 August 2012 02:21:59 UTC