Activities - Storing ResourceScoreCache in Nepomuk

Vishesh Handa me at vhanda.in
Mon May 20 18:35:54 UTC 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130521/71cca594/attachment.html>


More information about the Plasma-devel mailing list