<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 25, 2013 at 1:21 AM, Christian Mollekopf <span dir="ltr"><<a href="mailto:chrigi_1@fastmail.fm" target="_blank">chrigi_1@fastmail.fm</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Saturday 25 May 2013 00.04:20 Vishesh Handa wrote:<br>
> On Fri, May 24, 2013 at 5:11 PM, Christian Mollekopf<br>
><br>
> <<a href="mailto:chrigi_1@fastmail.fm">chrigi_1@fastmail.fm</a>>wrote:<br>
> > On Thursday 23 May 2013 19.44:04 Vishesh Handa wrote:<br>
> > > Hey guys<br>
> > ><br>
> > > We seem to have run into a situation where we need to fetch some<br>
> ><br>
> > identifier<br>
> ><br>
> > > of a nco:ContactMedium, and we noticed that nco:emailAddress does not<br>
> > > derive from nao:identifier.<br>
> > ><br>
> > > whereas nco:imID does.<br>
> > ><br>
> > > If no one object, I can add the required super property.<br>
> ><br>
> > Note that an email address is not actually a unique identifier. Many<br>
> > people can<br>
> > share email addresses (family account, company account, ...), so this<br>
> > breaks<br>
> > the "Inverse Functional" [0] property this property is supposed to have<br>
> > according to [1]. Maybe there are other options?<br>
><br>
> It is still inverse functional.<br>
><br>
<br>
</div>I have confuse nco:emailAddress for nco:EmailAddress...<br>
nco:emailAddress is of course inverse functional for nco:EmailAddress but not<br>
for nco:Contact (which I confused with nco:ContactMedium).<br>
<br>
+1 for nao:identifier for nco:emailAddress.<br>
<br>
You can ignore the rest of the mail if everything is clear.<br>
<br>
Cheers,<br>
Christian<br>
<br>
<br>
<br>
As I understand [1], inverse functional means for:<br>
<div class="im"><br>
<nepomuk:/resA> a nco:Contact ;<br>
         nco:hasEmailAddress <nepomuk:/res/email> .<br>
<br>
</div>that whenever I see<br>
<br>
X a nco:Contact;<br>
<div class="im">         nco:hasEmailAddress <nepomuk:/res/email> .<br>
<br>
</div>X MUST be the same as <nepomuk:/resA>.<br>
<br>
So i.e. a UID would be an inverse functional property which would qualify as<br>
nao:identifier. Also, the nco:emailAddress (the string), is an inverse<br>
functional property of nco:EmailAddress (the resource).<br>
<div class="im"><br>
> If multiple contacts want to share an email address then all of them can<br>
> link to the same nco:EmailAddress. I do not think we need a separate copy<br>
> of the nco:EmailAddress for each contact.<br>
><br>
<br>
</div>Agreed, we don't need nor want a separate copy for each contact. But the email<br>
address doesn't identify the contact.<br></blockquote><div><br></div><div>Yeah. It does not.<br><br>Trueg and I had a long discussion about this. I don't like the fact that it doesn't.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5"><br>
> Something like this -<br>
><br>
> <nepomuk:/resA> a nco:Contact ;<br>
>                            nco:hasEmailAddress <nepomuk:/res/email> .<br>
><br>
> <nepomuk:/resB> a nco:Contact ;<br>
>                            nco:hasEmailAddress <nepomuk:/res/email> .<br>
><br>
> <nepomuk:/resC> a nco:Contact ;<br>
>                            nco:hasEmailAddress <nepomuk:/res/email> .<br>
><br>
><br>
> <nepomuk:/res/email> a nco:EmailAddress ;<br>
>                            nco:emailAddress "<a href="mailto:email@email.com">email@email.com</a>" .<br>
><br>
> ---<br>
><br>
> If the Nepomuk identification works perfectly then this is what we<br>
> currently have.<br>
><br>
> > Cheers,<br>
> > Christian<br>
> ><br>
> > [0] <a href="http://www.w3.org/wiki/InverseFunctionalProperty" target="_blank">http://www.w3.org/wiki/InverseFunctionalProperty</a><br>
> > [1] <a href="http://www.semanticdesktop.org/ontologies/nao/#mozTocId802441" target="_blank">http://www.semanticdesktop.org/ontologies/nao/#mozTocId802441</a><br>
> > _______________________________________________<br>
> > Nepomuk mailing list<br>
> > <a href="mailto:Nepomuk@kde.org">Nepomuk@kde.org</a><br>
> > <a href="https://mail.kde.org/mailman/listinfo/nepomuk" target="_blank">https://mail.kde.org/mailman/listinfo/nepomuk</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><span style="color:rgb(192,192,192)">Vishesh Handa</span><br>
</div></div>