[Nepomuk] Modifying nco:emailAddress

Vishesh Handa me at vhanda.in
Fri May 24 18:34:20 UTC 2013


On Fri, May 24, 2013 at 5:11 PM, Christian Mollekopf
<chrigi_1 at fastmail.fm>wrote:

> On Thursday 23 May 2013 19.44:04 Vishesh Handa wrote:
> > Hey guys
> >
> > We seem to have run into a situation where we need to fetch some
> identifier
> > of a nco:ContactMedium, and we noticed that nco:emailAddress does not
> > derive from nao:identifier.
> >
> > whereas nco:imID does.
> >
> > If no one object, I can add the required super property.
>
> Note that an email address is not actually a unique identifier. Many
> people can
> share email addresses (family account, company account, ...), so this
> breaks
> the "Inverse Functional" [0] property this property is supposed to have
> according to [1]. Maybe there are other options?
>

It is still inverse functional.

If multiple contacts want to share an email address then all of them can
link to the same nco:EmailAddress. I do not think we need a separate copy
of the nco:EmailAddress for each contact.

Something like this -

<nepomuk:/resA> a nco:Contact ;
                           nco:hasEmailAddress <nepomuk:/res/email> .

<nepomuk:/resB> a nco:Contact ;
                           nco:hasEmailAddress <nepomuk:/res/email> .

<nepomuk:/resC> a nco:Contact ;
                           nco:hasEmailAddress <nepomuk:/res/email> .


<nepomuk:/res/email> a nco:EmailAddress ;
                           nco:emailAddress "email at email.com" .

---

If the Nepomuk identification works perfectly then this is what we
currently have.


> Cheers,
> Christian
>
> [0] http://www.w3.org/wiki/InverseFunctionalProperty
> [1] http://www.semanticdesktop.org/ontologies/nao/#mozTocId802441
> _______________________________________________
> Nepomuk mailing list
> Nepomuk at kde.org
> https://mail.kde.org/mailman/listinfo/nepomuk
>



-- 
Vishesh Handa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20130525/2e64933e/attachment.html>


More information about the Nepomuk mailing list