[Nepomuk] Re: Special Identifying Properties

Sebastian Trüg trueg at kde.org
Wed Jul 27 16:43:13 CEST 2011


could you please elaborate on the need of a primary key type of
property. Give an example maybe...

On 07/27/2011 04:26 PM, Vishesh Handa wrote:
> Hey Everyone
> 
> Martin and I were discussing storeResources yesterday, and we stumbled
> on the need to have certain properties act as Primary Keys for
> Resources. Currently, storeResources treats the nie:url as a Primary
> Key, only if the nie:url is not present does it use the literal
> identification scheme ( read datamanagement.h for more info )
> 
> With Martin working on pimo:Person and nco:PersonContact aggregation, he
> requires the nco:hasEmailAddress to act as a Primary Key. Additionally I
> would like nfo:hashValue to act as one. So now that we have 3
> contenders, it makes sense to mark these properties in the ontologies as
> globally identifying or something.
> 
> What do you guys think? If you approve, can you suggest a way to mark
> these properties?
> 
> One option is that we have a nxx:globalIdentifyingProperty, and make
> nie:url, nco:hasEmailAddress, and nfo:hashValue subclasses of it.
> 
> -- 
> Vishesh Handa


More information about the Nepomuk mailing list