[Nepomuk] Nepomuk2 Migration Questions

David Narvaez david.narvaez at computer.org
Thu Jan 3 13:55:37 UTC 2013


On Thu, Jan 3, 2013 at 4:07 AM, Vishesh Handa <me at vhanda.in> wrote:
>> 3. What replacements are there for the old Utils namespace? For
>> instance, Nepomuk Shell uses SimpleResourceModel, is there any
>> replacement for that?
>
>
> Right now, I think it would be better if you just copied the models you
> need and move them to the Nepomuk2 namespace as well.

Did that, and after a couple of changes I manged to compile and run
Nepomuk Shell, the patch is in the ReviewBoard. Now I have another set
of questions - more like confirmations, since it already runs etc.

1. (An easy one) Methods like resourceType() and resourceUri()  are
now type() and uri() right?
2. In CMake, it looks like in the old Nepomuk you could
find_package(Nepomuk REQUIRED) and then include(SopranoAddOntology)
but in Nepomuk2 I had to find_package(NepomukCore REQUIRED) and also
find_package(Soprano REQUIRED) to include(SopranoAddOntology), am I
correct?

I think I had one more question but I can't remember... Anyhow, thanks
for your answers, and we can follow up with the patch itself in the
ReviewBoard.

David E. Narváez


More information about the Nepomuk mailing list