Revision 6d6e2a1...
Go back to digest for 21st November 2010Optimization in KDE Base
Sebastian Trueg committed changes in [kde-runtime/KDE/4.6] /:
Added new crappy inferencer 2 which does two things only: 1. Forward inference of rdfs:subClassOf 2. Create nao:userVisible properties for all visible resources (We use an int range instead of the "correct" boolean for performance reasons: Virtuoso does not support boolean and Soprano fakes it with strings.) While this is far from optimal it improves the performance of many queries a lot.
In addition this commit hides the nao:userVisible property itself. This is important with the crappy
inferencer 2 which creates nao:userVisible properties for all resources. These would otherwise show
up in Dolphin.
File Changes
Added 5 files
- /services/storage
- nepomuk/crappyinferencer2.cpp
- nepomuk/crappyinferencer2.h
- nepomuk/test/CMakeLists.txt
- nepomuk/test/crappyinferencer2test.cpp
- nepomuk/test/crappyinferencer2test.h
Modified 6 files
- nepomuk/ontologies/kuvo.trig
- nepomuk/services/storage/CMakeLists.txt
- nepomuk/services/storage/nepomukcore.cpp
- nepomuk/services/storage/ontologymanagermodel.cpp
- nepomuk/services/storage/repository.cpp
- nepomuk/services/storage/repository.h
11 files changed in total