[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Activities - Storing ResourceScoreCache in Nepomuk
From:       Vishesh Handa <me () vhanda ! in>
Date:       2013-05-20 18:47:54
Message-ID: CAOPTMKApC3Yw6AEM8-FcDXOFarWv4QjFoTZhDX-29Qj84Hp4-w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hey Ivan

I've been monitoring what all is there in my Nepomuk database, and I've
noticed this before but I wasn't too sure about its use. You seem to be
storing a 'kao:ResourceScoreCache' in Nepomuk.

Eg -

<nepomuk:/res/a373d0bb-c9e0-4929-b6d0-4a0b68e8b26a>
        rdf:type
kao:ResourceScoreCache
        nao:created
2013-05-20T15:16:37Z
        nao:lastModified
2013-05-20T18:11:33Z
        kao:usedActivity
nepomuk:/res/ff08b318-39f9-46ae-b0c1-6f45516da905
        kao:initiatingAgent
nepomuk:/res/7ddfe104-b218-46a8-82aa-b0207d2eb41a
        kao:targettedResource
nepomuk:/res/3d2f868d-e73b-4aef-8f5b-37b64a9c8baf
        kao:cachedScore
6.0290400391e+03

<nepomuk:/res/ff08b318-39f9-46ae-b0c1-6f45516da905>
        rdf:type          kao:Activity
        nao:created       2013-05-20T15:16:37Z
        nao:identifier    4518b5d6-0b52-4a53-b4cb-02ad36222505
        nao:lastModified  2013-05-20T15:16:37Z

<nepomuk:/res/3d2f868d-e73b-4aef-8f5b-37b64a9c8baf>
        rdf:type          nfo:FileDataObject
        rdf:type          nfo:Folder
        nao:created       2013-05-20T15:16:37Z
        nao:lastModified  2013-05-20T15:16:37Z
        nie:url           file:///home/vishesh

<nepomuk:/res/7ddfe104-b218-46a8-82aa-b0207d2eb41a>
        rdf:type        nao:Agent
        nao:identifier  dolphin

What is the point of this? Who uses this information. Also, you seem to be
storing this in both the sqlite and Nepomuk database.

I kinda get that there is a point to store activity related information in
Nepomuk, as it can be used to link everything together. But this
ResourceScoreCache?

Considering that everyone's database is going to get reset for 4.11, maybe
now is a good time to get rid of it if it actually not required.

-- 
Vishesh Handa

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div><div><div>Hey Ivan<br><br></div>I&#39;ve been \
monitoring what all is there in my Nepomuk database, and I&#39;ve noticed this before \
but I wasn&#39;t too sure about its use. You seem to be storing a \
&#39;kao:ResourceScoreCache&#39; in Nepomuk.<br> <br></div>Eg \
-<br><br>&lt;nepomuk:/res/a373d0bb-c9e0-4929-b6d0-4a0b68e8b26a&gt;<br>        \
rdf:type               kao:ResourceScoreCache                             <br>        \
nao:created            2013-05-20T15:16:37Z                               <br>  \
nao:lastModified       2013-05-20T18:11:33Z                               <br>        \
kao:usedActivity       nepomuk:/res/ff08b318-39f9-46ae-b0c1-6f45516da905  <br>        \
kao:initiatingAgent    nepomuk:/res/7ddfe104-b218-46a8-82aa-b0207d2eb41a  <br>  \
kao:targettedResource  nepomuk:/res/3d2f868d-e73b-4aef-8f5b-37b64a9c8baf  <br>        \
kao:cachedScore        6.0290400391e+03                                   \
<br><br>&lt;nepomuk:/res/ff08b318-39f9-46ae-b0c1-6f45516da905&gt;<br>  rdf:type       \
kao:Activity                          <br>        nao:created       \
2013-05-20T15:16:37Z                  <br>        nao:identifier    \
4518b5d6-0b52-4a53-b4cb-02ad36222505  <br>        nao:lastModified  \
2013-05-20T15:16:37Z                  <br> \
<br>&lt;nepomuk:/res/3d2f868d-e73b-4aef-8f5b-37b64a9c8baf&gt;<br>        rdf:type     \
nfo:FileDataObject    <br>        rdf:type          nfo:Folder            <br>        \
nao:created       2013-05-20T15:16:37Z  <br>  nao:lastModified  2013-05-20T15:16:37Z  \
<br>        nie:url           file:///home/vishesh  \
<br><br>&lt;nepomuk:/res/7ddfe104-b218-46a8-82aa-b0207d2eb41a&gt;<br>        rdf:type \
nao:Agent  <br>        nao:identifier  dolphin    <br> <br></div>What is the point of \
this? Who uses this information. Also, you seem to be storing this in both the sqlite \
and Nepomuk database.<br><br></div>I kinda get that there is a point to store \
activity related information in Nepomuk, as it can be used to link everything \
together. But this ResourceScoreCache?<br> <br></div>Considering that everyone&#39;s \
database is going to get reset for 4.11, maybe now is a good time to get rid of it if \
it actually not required.<br clear="all"><div><div><div><div><div><div><div><br>-- \
<br><span style="color:rgb(192,192,192)">Vishesh Handa</span><br>

</div></div></div></div></div></div></div></div>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic