Revision 633358

Go back to digest for 18th February 2007

Features in KDE Base

Sebastian Trueg committed changes in /trunk/playground/base/nepomuk-kde:

* Adaption of final RDF API as decided on in Nepomuk.
* Ported RDF repository to my Soprano changes.
* New identifier system which actually allows the generic URI approach to live side-by-side with arbitrary identifiers. Each resource gets a unique and artificial URI which has no relation to for example the path of a file. The latter will be stored as an identifier. Both the URI and the identifier can be used to access the resource later. This way we can keep on using the nice syntax of KMetaData resources in combination with the Nepomuk way of handling resource URIs.
* Added more tests.

TODO: * not all methods of the RDF repository are implemented yet.
* the identifier system mentioned above (based on the nice kickoffUriOrId) produced some quite confusing code. I think it would be a good idea so somehow clean it up. How, I don't know yet. The biggest problem probably is to keep it fast, i.e. keeping the number of DBus calls small.

File Changes

Added 10 files
  • /trunk/playground/base/nepomuk-kde
  •   /backbone/tests
  •   /backbone/tests/CMakeLists.txt
  •   /backbone/tests/rdfrepositorytest.cpp
  •   /backbone/tests/rdfrepositorytest.h
  •   /backbone/tests/statementiteratortest.cpp
  •   /backbone/tests/statementiteratortest.h
  •   /backbone/tests/testbase.cpp
  •   /backbone/tests/testbase.h
  •   /kmetadata/tests/resourcedatatest.cpp
  •   /kmetadata/tests/resourcedatatest.h
Modified 30 files
  • /trunk/playground/base/nepomuk-kde
  •   /backbone/CMakeLists.txt
  •   /kmetadata/ontology.rdf
  •   /backbone/coreservices/Cache.cpp
  •   /backbone/coreservices/coreservices.cpp
  •   /backbone/coreservices/NepomukUtil.cpp
  •   /backbone/coreservices/NepomukUtil.h
  •   /backbone/coreservices/QueryDefinition.cpp
  •   /backbone/coreservices/sopranordfrepository.cpp
  •   /backbone/coreservices/sopranordfrepository.h
  •   /backbone/knep/knep.h
  •   /backbone/knep/servicedbusinterfacebackend.cpp
  •   /backbone/knep/servicepublisher.h
  •   /kmetadata/kmetadata/resource.cpp
  •   /kmetadata/kmetadata/resource.h
  •   /kmetadata/kmetadata/resourcedata.cpp
  •   /kmetadata/kmetadata/resourcedata.h
  •   /kmetadata/kmetadata/resourcemanager.cpp
  •   /kmetadata/kmetadata/variant.cpp
  •   /kmetadata/kmetadata/variant.h
  •   /kmetadata/rcgen/ontologyparser.cpp
  •   /kmetadata/tests/CMakeLists.txt
  •   /kmetadata/tests/generatedresourcetest.cpp
  •   /kmetadata/tests/resourcetest.cpp
  •   /kmetadata/tests/resourcetest.h
  •   /kmetadata/tests/varianttest.cpp
  •   /backbone/knep/rdf/node.cpp
  •   /backbone/knep/rdf/node.h
  •   /backbone/knep/rdf/rdfdbus.cpp
  •   /backbone/knep/rdf/statement.cpp
  •   /backbone/knep/rdf/statement.h
40 files changed in total