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

List:       kde-commits
Subject:    Re: [kde-runtime/nepomuk/PortToNepomukCore] /: Port to Nepomuk2
From:       Vishesh Handa <handa.vish () gmail ! com>
Date:       2012-05-29 19:50:11
Message-ID: CAOPTMKCHfC7Rg5dqjsFN5tX8SuMBhgAL0rGYYVXinL7+bEf-Ug () mail ! gmail ! com
[Download RAW message or body]

On Wed, May 30, 2012 at 1:03 AM, Sebastian Trüg <trueg@kde.org
 wrote:

> why do you need to port anything? You just need to remove it all, right?
>

Well. The packagers and release team were not comfortable with 3 new
repositories.

So it was decided to just release nepomuk-core, and nepomuk-kde-kio,
nepomuk-kde-kcm remain in kde-runtime/nepomuk. Hence the port.



> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >      /**
> >       * \return A list of default exclude filters to be used
> >       * in the filewatch service to ignore temporary files
> > diff --git a/nepomuk/kcm/indexfolderselectiondialog.cpp
> b/nepomuk/kcm/indexfolderselectiondialog.cpp
> > index e227649..59cfa14 100644
> > --- a/nepomuk/kcm/indexfolderselectiondialog.cpp
> > +++ b/nepomuk/kcm/indexfolderselectiondialog.cpp
> > @@ -56,7 +56,7 @@ namespace {
> >  }
> >
> >
> > -Nepomuk::IndexFolderSelectionDialog::IndexFolderSelectionDialog(
> QWidget* parent )
> > +Nepomuk2::IndexFolderSelectionDialog::IndexFolderSelectionDialog(
> QWidget* parent )
> >      : KDialog( parent )
> >  {
> >      setupUi( mainWidget() );
> > @@ -78,12 +78,12 @@
> Nepomuk::IndexFolderSelectionDialog::IndexFolderSelectionDialog( QWidget*
> parent
> >  }
> >
> >
> > -Nepomuk::IndexFolderSelectionDialog::~IndexFolderSelectionDialog()
> > +Nepomuk2::IndexFolderSelectionDialog::~IndexFolderSelectionDialog()
> >  {
> >  }
> >
> >
> > -void Nepomuk::IndexFolderSelectionDialog::setFolders( const
> QStringList& includeDirs, const QStringList& exclude )
> > +void Nepomuk2::IndexFolderSelectionDialog::setFolders( const
> QStringList& includeDirs, const QStringList& exclude )
> >  {
> >      m_folderModel->setFolders( includeDirs, exclude );
> >
> > @@ -105,19 +105,19 @@ void
> Nepomuk::IndexFolderSelectionDialog::setFolders( const QStringList& include
> >  }
> >
> >
> > -void Nepomuk::IndexFolderSelectionDialog::setExcludeFilters( const
> QStringList& filters )
> > +void Nepomuk2::IndexFolderSelectionDialog::setExcludeFilters( const
> QStringList& filters )
> >  {
> >      m_editExcludeFilters->setItems( filters );
> >  }
> >
> >
> > -void Nepomuk::IndexFolderSelectionDialog::setIndexHiddenFolders( bool
> enable )
> > +void Nepomuk2::IndexFolderSelectionDialog::setIndexHiddenFolders( bool
> enable )
> >  {
> >      m_checkShowHiddenFolders->setChecked( enable );
> >  }
> >
> >
> > -QStringList Nepomuk::IndexFolderSelectionDialog::includeFolders() const
> > +QStringList Nepomuk2::IndexFolderSelectionDialog::includeFolders() const
> >  {
> >      if ( !indexHiddenFolders() ) {
> >          return removeHiddenFolders( m_folderModel->includeFolders() );
> > @@ -128,7 +128,7 @@ QStringList
> Nepomuk::IndexFolderSelectionDialog::includeFolders() const
> >  }
> >
> >
> > -QStringList Nepomuk::IndexFolderSelectionDialog::excludeFolders() const
> > +QStringList Nepomuk2::IndexFolderSelectionDialog::excludeFolders() const
> >  {
> >      if ( !indexHiddenFolders() ) {
> >          return removeHiddenFolders( m_folderModel->excludeFolders() );
> > @@ -139,13 +139,13 @@ QStringList
> Nepomuk::IndexFolderSelectionDialog::excludeFolders() const
> >  }
> >
> >
> > -QStringList Nepomuk::IndexFolderSelectionDialog::excludeFilters() const
> > +QStringList Nepomuk2::IndexFolderSelectionDialog::excludeFilters() const
> >  {
> >      return m_editExcludeFilters->items();
> >  }
> >
> >
> > -bool Nepomuk::IndexFolderSelectionDialog::indexHiddenFolders() const
> > +bool Nepomuk2::IndexFolderSelectionDialog::indexHiddenFolders() const
> >  {
> >      return m_checkShowHiddenFolders->isChecked();
> >  }
> > diff --git a/nepomuk/kcm/indexfolderselectiondialog.h
> b/nepomuk/kcm/indexfolderselectiondialog.h
> > index f87d65a..c8431d9 100644
> > --- a/nepomuk/kcm/indexfolderselectiondialog.h
> > +++ b/nepomuk/kcm/indexfolderselectiondialog.h
> > @@ -24,7 +24,7 @@
> >
> >  class FolderSelectionModel;
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >      class IndexFolderSelectionDialog : public KDialog, public
> Ui_IndexFolderSelectionWidget
> >      {
> >          Q_OBJECT
> > diff --git a/nepomuk/kcm/nepomukserverkcm.cpp
> b/nepomuk/kcm/nepomukserverkcm.cpp
> > index 01f92fe..f29b331 100644
> > --- a/nepomuk/kcm/nepomukserverkcm.cpp
> > +++ b/nepomuk/kcm/nepomukserverkcm.cpp
> > @@ -36,8 +36,8 @@
> >  #include <KCalendarSystem>
> >  #include <KDirWatch>
> >
> > -#include <Nepomuk/Query/QueryParser>
> > -#include <Nepomuk/Query/FileQuery>
> > +#include <Nepomuk2/Query/QueryParser>
> > +#include <Nepomuk2/Query/FileQuery>
> >
> >  #include <QRadioButton>
> >  #include <QInputDialog>
> > @@ -49,7 +49,7 @@
> >  #include <Soprano/Backend>
> >
> >
> > -K_PLUGIN_FACTORY( NepomukConfigModuleFactory,
> registerPlugin<Nepomuk::ServerConfigModule>(); )
> > +K_PLUGIN_FACTORY( NepomukConfigModuleFactory,
> registerPlugin<Nepomuk2::ServerConfigModule>(); )
> >  K_EXPORT_PLUGIN( NepomukConfigModuleFactory("kcm_nepomuk",
> "kcm_nepomuk") )
> >
> >
> > @@ -130,7 +130,7 @@ namespace {
> >  }
> >
> >
> > -Nepomuk::ServerConfigModule::ServerConfigModule( QWidget* parent, const
> QVariantList& args )
> > +Nepomuk2::ServerConfigModule::ServerConfigModule( QWidget* parent,
> const QVariantList& args )
> >      : KCModule( NepomukConfigModuleFactory::componentData(), parent,
> args ),
> >        m_serverInterface( 0 ),
> >        m_fileIndexerInterface( 0 ),
> > @@ -234,14 +234,14 @@ Nepomuk::ServerConfigModule::ServerConfigModule(
> QWidget* parent, const QVariant
> >  }
> >
> >
> > -Nepomuk::ServerConfigModule::~ServerConfigModule()
> > +Nepomuk2::ServerConfigModule::~ServerConfigModule()
> >  {
> >      delete m_fileIndexerInterface;
> >      delete m_serverInterface;
> >  }
> >
> >
> > -void Nepomuk::ServerConfigModule::load()
> > +void Nepomuk2::ServerConfigModule::load()
> >  {
> >      if ( !m_nepomukAvailable )
> >          return;
> > @@ -261,7 +261,7 @@ void Nepomuk::ServerConfigModule::load()
> >      m_indexFolderSelectionDialog->setIndexHiddenFolders(
> fileIndexerConfig.group( "General" ).readEntry( "index hidden folders",
> false ) );
> >      m_indexFolderSelectionDialog->setFolders( fileIndexerConfig.group(
> "General" ).readPathEntry( "folders", defaultFolders() ),
> >                                                fileIndexerConfig.group(
> "General" ).readPathEntry( "exclude folders", QStringList() ) );
> > -    m_indexFolderSelectionDialog->setExcludeFilters(
> fileIndexerConfig.group( "General" ).readEntry( "exclude filters",
> Nepomuk::defaultExcludeFilterList() ) );
> > +    m_indexFolderSelectionDialog->setExcludeFilters(
> fileIndexerConfig.group( "General" ).readEntry( "exclude filters",
> Nepomuk2::defaultExcludeFilterList() ) );
> >
> >      const bool indexNewlyMounted = fileIndexerConfig.group(
> "RemovableMedia" ).readEntry( "index newly mounted", false );
> >      const bool askIndividually = fileIndexerConfig.group(
> "RemovableMedia" ).readEntry( "ask user", false );
> > @@ -289,7 +289,7 @@ void Nepomuk::ServerConfigModule::load()
> >      buttonForQuery( Query::Query::fromString(
> >                          kio_nepomuksearchGeneral.readEntry(
> >                              "Root query",
> > -
>  Nepomuk::lastModifiedFilesQuery().toString() ) ) )->setChecked( true );
> > +
>  Nepomuk2::lastModifiedFilesQuery().toString() ) ) )->setChecked( true );
> >
> >
> >
> > @@ -316,7 +316,7 @@ void Nepomuk::ServerConfigModule::load()
> >  }
> >
> >
> > -void Nepomuk::ServerConfigModule::save()
> > +void Nepomuk2::ServerConfigModule::save()
> >  {
> >      if ( !m_nepomukAvailable )
> >          return;
> > @@ -390,7 +390,7 @@ void Nepomuk::ServerConfigModule::save()
> >  }
> >
> >
> > -void Nepomuk::ServerConfigModule::defaults()
> > +void Nepomuk2::ServerConfigModule::defaults()
> >  {
> >      if ( !m_nepomukAvailable )
> >          return;
> > @@ -399,7 +399,7 @@ void Nepomuk::ServerConfigModule::defaults()
> >      m_checkEnableNepomuk->setChecked( true );
> >      m_checkEnableEmailIndexer->setChecked( true );
> >      m_indexFolderSelectionDialog->setIndexHiddenFolders( false );
> > -    m_indexFolderSelectionDialog->setExcludeFilters(
> Nepomuk::defaultExcludeFilterList() );
> > +    m_indexFolderSelectionDialog->setExcludeFilters(
> Nepomuk2::defaultExcludeFilterList() );
> >      m_indexFolderSelectionDialog->setFolders( defaultFolders(),
> QStringList() );
> >      m_spinMaxResults->setValue( 10 );
> >      m_checkRootQueryLastModified->setChecked( true );
> > @@ -408,7 +408,7 @@ void Nepomuk::ServerConfigModule::defaults()
> >  }
> >
> >
> > -void Nepomuk::ServerConfigModule::updateNepomukServerStatus()
> > +void Nepomuk2::ServerConfigModule::updateNepomukServerStatus()
> >  {
> >      if ( m_serverInterface &&
> >           m_serverInterface->isNepomukEnabled() ) {
> > @@ -420,7 +420,7 @@ void
> Nepomuk::ServerConfigModule::updateNepomukServerStatus()
> >  }
> >
> >
> > -void Nepomuk::ServerConfigModule::setFileIndexerStatusText( const
> QString& text, bool elide )
> > +void Nepomuk2::ServerConfigModule::setFileIndexerStatusText( const
> QString& text, bool elide )
> >  {
> >      m_labelFileIndexerStatus->setWordWrap( !elide );
> >      m_labelFileIndexerStatus->setTextElideMode( elide ? Qt::ElideMiddle
> : Qt::ElideNone );
> > @@ -428,7 +428,7 @@ void
> Nepomuk::ServerConfigModule::setFileIndexerStatusText( const QString& text,
> >  }
> >
> >
> > -void Nepomuk::ServerConfigModule::updateFileIndexerStatus()
> > +void Nepomuk2::ServerConfigModule::updateFileIndexerStatus()
> >  {
> >      if (
> QDBusConnection::sessionBus().interface()->isServiceRegistered(
> "org.kde.nepomuk.services.nepomukfileindexer" ) ) {
> >          if ( org::kde::nepomuk::ServiceControl(
> "org.kde.nepomuk.services.nepomukfileindexer", "/servicecontrol",
> > @@ -456,7 +456,7 @@ void
> Nepomuk::ServerConfigModule::updateFileIndexerStatus()
> >  }
> >
> >
> > -void Nepomuk::ServerConfigModule::updateBackupStatus()
> > +void Nepomuk2::ServerConfigModule::updateBackupStatus()
> >  {
> >      const QString backupUrl = KStandardDirs::locateLocal( "data",
> "nepomuk/backupsync/backups/" );
> >      QDir dir( backupUrl );
> > @@ -475,7 +475,7 @@ void
> Nepomuk::ServerConfigModule::updateBackupStatus()
> >  }
> >
> >
> > -void Nepomuk::ServerConfigModule::recreateInterfaces()
> > +void Nepomuk2::ServerConfigModule::recreateInterfaces()
> >  {
> >      delete m_fileIndexerInterface;
> >      delete m_serverInterface;
> > @@ -488,7 +488,7 @@ void
> Nepomuk::ServerConfigModule::recreateInterfaces()
> >  }
> >
> >
> > -void Nepomuk::ServerConfigModule::slotCustomQueryButtonClicked()
> > +void Nepomuk2::ServerConfigModule::slotCustomQueryButtonClicked()
> >  {
> >      // this is a temp solution until we have a proper query builder
> >      QString queryString = QInputDialog::getText( this,
> > @@ -504,14 +504,14 @@ void
> Nepomuk::ServerConfigModule::slotCustomQueryButtonClicked()
> >  }
> >
> >
> > -void Nepomuk::ServerConfigModule::slotStatusDetailsClicked()
> > +void Nepomuk2::ServerConfigModule::slotStatusDetailsClicked()
> >  {
> >      StatusWidget statusDialog( this );
> >      statusDialog.exec();
> >  }
> >
> >
> > -void Nepomuk::ServerConfigModule::slotEditIndexFolders()
> > +void Nepomuk2::ServerConfigModule::slotEditIndexFolders()
> >  {
> >      const QStringList oldIncludeFolders =
> m_indexFolderSelectionDialog->includeFolders();
> >      const QStringList oldExcludeFolders =
> m_indexFolderSelectionDialog->excludeFolders();
> > @@ -532,7 +532,7 @@ void
> Nepomuk::ServerConfigModule::slotEditIndexFolders()
> >  }
> >
> >
> > -void Nepomuk::ServerConfigModule::slotCustomQueryToggled( bool on )
> > +void Nepomuk2::ServerConfigModule::slotCustomQueryToggled( bool on )
> >  {
> >      if ( on && m_customQuery.isEmpty() ) {
> >          slotCustomQueryButtonClicked();
> > @@ -540,36 +540,36 @@ void
> Nepomuk::ServerConfigModule::slotCustomQueryToggled( bool on )
> >  }
> >
> >
> > -QRadioButton* Nepomuk::ServerConfigModule::buttonForQuery( const
> Query::Query& query ) const
> > +QRadioButton* Nepomuk2::ServerConfigModule::buttonForQuery( const
> Query::Query& query ) const
> >  {
> > -    if ( query == Nepomuk::neverOpenedFilesQuery() )
> > +    if ( query == Nepomuk2::neverOpenedFilesQuery() )
> >          return m_checkRootQueryNeverOpened;
> > -    else if ( query == Nepomuk::lastModifiedFilesQuery() )
> > +    else if ( query == Nepomuk2::lastModifiedFilesQuery() )
> >          return m_checkRootQueryLastModified;
> > -    else if ( query == Nepomuk::mostImportantFilesQuery() )
> > +    else if ( query == Nepomuk2::mostImportantFilesQuery() )
> >          return m_checkRootQueryFancy;
> >      else
> >          return m_checkRootQueryCustom;
> >  }
> >
> >
> > -Nepomuk::Query::Query Nepomuk::ServerConfigModule::queryForButton(
> QAbstractButton* button ) const
> > +Nepomuk2::Query::Query Nepomuk2::ServerConfigModule::queryForButton(
> QAbstractButton* button ) const
> >  {
> >      if ( button == m_checkRootQueryNeverOpened )
> > -        return Nepomuk::neverOpenedFilesQuery();
> > +        return Nepomuk2::neverOpenedFilesQuery();
> >      else if ( button == m_checkRootQueryLastModified )
> > -        return Nepomuk::lastModifiedFilesQuery();
> > +        return Nepomuk2::lastModifiedFilesQuery();
> >      else if ( button == m_checkRootQueryFancy )
> > -        return Nepomuk::mostImportantFilesQuery();
> > +        return Nepomuk2::mostImportantFilesQuery();
> >      else {
> >          // force to always only query for files
> > -        Nepomuk::Query::FileQuery query =
> Query::QueryParser::parseQuery( m_customQuery );
> > +        Nepomuk2::Query::FileQuery query =
> Query::QueryParser::parseQuery( m_customQuery );
> >          query.setFileMode( Query::FileQuery::QueryFiles );
> >          return query;
> >      }
> >  }
> >
> > -void Nepomuk::ServerConfigModule::slotBackupFrequencyChanged()
> > +void Nepomuk2::ServerConfigModule::slotBackupFrequencyChanged()
> >  {
> >      m_comboBackupDay->setShown(m_comboBackupFrequency->currentIndex()
> >= WeeklyBackup);
> >
>  m_comboBackupDay->setDisabled(m_comboBackupFrequency->currentIndex() ==
> DisableAutomaticBackups);
> > @@ -577,12 +577,12 @@ void
> Nepomuk::ServerConfigModule::slotBackupFrequencyChanged()
> >      m_spinBackupMax->setDisabled(m_comboBackupFrequency->currentIndex()
> == DisableAutomaticBackups);
> >  }
> >
> > -void Nepomuk::ServerConfigModule::slotManualBackup()
> > +void Nepomuk2::ServerConfigModule::slotManualBackup()
> >  {
> >      KProcess::execute( "nepomukbackup", QStringList() << "--backup" );
> >  }
> >
> > -void Nepomuk::ServerConfigModule::slotRestoreBackup()
> > +void Nepomuk2::ServerConfigModule::slotRestoreBackup()
> >  {
> >      KProcess::execute( "nepomukbackup", QStringList() << "--restore" );
> >  }
> > diff --git a/nepomuk/kcm/nepomukserverkcm.h
> b/nepomuk/kcm/nepomukserverkcm.h
> > index f428cd6..827525b 100644
> > --- a/nepomuk/kcm/nepomukserverkcm.h
> > +++ b/nepomuk/kcm/nepomukserverkcm.h
> > @@ -24,12 +24,12 @@
> >  #include "nepomukserverinterface.h"
> >  #include "fileindexerinterface.h"
> >
> > -#include <Nepomuk/Query/Query>
> > +#include <Nepomuk2/Query/Query>
> >
> >  class QRadioButton;
> >  class QAbstractButton;
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >
> >      class IndexFolderSelectionDialog;
> >      class StatusWidget;
> > @@ -64,7 +64,7 @@ namespace Nepomuk {
> >          void setFileIndexerStatusText( const QString& text, bool elide
> );
> >
> >          QRadioButton* buttonForQuery( const Query::Query& query ) const;
> > -        Nepomuk::Query::Query queryForButton( QAbstractButton* button )
> const;
> > +        Nepomuk2::Query::Query queryForButton( QAbstractButton* button
> ) const;
> >
> >          bool m_nepomukAvailable;
> >
> > diff --git a/nepomuk/kcm/statuswidget.cpp b/nepomuk/kcm/statuswidget.cpp
> > index a9ece31..88b224f 100644
> > --- a/nepomuk/kcm/statuswidget.cpp
> > +++ b/nepomuk/kcm/statuswidget.cpp
> > @@ -24,8 +24,8 @@
> >  #include <KIO/NetAccess>
> >  #include <kio/directorysizejob.h>
> >
> > -#include <Nepomuk/ResourceManager>
> > -#include <Nepomuk/Vocabulary/NFO>
> > +#include <Nepomuk2/ResourceManager>
> > +#include <Nepomuk2/Vocabulary/NFO>
> >
> >  #include <Soprano/Model>
> >  #include <Soprano/QueryResultIterator>
> > @@ -38,7 +38,7 @@
> >  #include <QtDBus/QDBusConnectionInterface>
> >  #include <QtDBus/QDBusServiceWatcher>
> >
> > -Nepomuk::StatusWidget::StatusWidget( QWidget* parent )
> > +Nepomuk2::StatusWidget::StatusWidget( QWidget* parent )
> >          : KDialog( parent ),
> >          m_connected( false ),
> >          m_updateRunning( false ),
> > @@ -90,12 +90,12 @@ Nepomuk::StatusWidget::StatusWidget( QWidget* parent
> )
> >      updateSuspendResumeButtonText( m_fileIndexerService->isSuspended()
> );
> >  }
> >
> > -Nepomuk::StatusWidget::~StatusWidget()
> > +Nepomuk2::StatusWidget::~StatusWidget()
> >  {
> >  }
> >
> >
> > -void Nepomuk::StatusWidget::slotUpdateStoreStatus()
> > +void Nepomuk2::StatusWidget::slotUpdateStoreStatus()
> >  {
> >      if ( !m_updateRunning && !m_updateTimer.isActive() ) {
> >          m_updateRunning = true;
> > @@ -105,7 +105,7 @@ void Nepomuk::StatusWidget::slotUpdateStoreStatus()
> >          Soprano::Util::AsyncQuery* query
> >          = Soprano::Util::AsyncQuery::executeQuery(
> ResourceManager::instance()->mainModel(),
> >                  QString::fromLatin1( "select count(distinct ?r) where {
> ?r a %1 . }" )
> > -                .arg( Soprano::Node::resourceToN3(
> Nepomuk::Vocabulary::NFO::FileDataObject() ) ),
> > +                .arg( Soprano::Node::resourceToN3(
> Nepomuk2::Vocabulary::NFO::FileDataObject() ) ),
> >                  Soprano::Query::QueryLanguageSparql );
> >          connect( query, SIGNAL( nextReady(Soprano::Util::AsyncQuery*)
> ), this, SLOT( slotFileCountFinished(Soprano::Util::AsyncQuery*) ) );
> >      }
> > @@ -114,7 +114,7 @@ void Nepomuk::StatusWidget::slotUpdateStoreStatus()
> >      }
> >  }
> >
> > -void Nepomuk::StatusWidget::slotFileCountFinished(
> Soprano::Util::AsyncQuery* query )
> > +void Nepomuk2::StatusWidget::slotFileCountFinished(
> Soprano::Util::AsyncQuery* query )
> >  {
> >      m_labelFileCount->setText( i18np( "1 file in index", "%1 files in
> index", query->binding( 0 ).literal().toInt() ) );
> >      query->deleteLater();
> > @@ -125,7 +125,7 @@ void Nepomuk::StatusWidget::slotFileCountFinished(
> Soprano::Util::AsyncQuery* qu
> >  }
> >
> >
> > -void Nepomuk::StatusWidget::slotUpdateTimeout()
> > +void Nepomuk2::StatusWidget::slotUpdateTimeout()
> >  {
> >      if ( m_updateRequested ) {
> >          m_updateRequested = false;
> > @@ -133,7 +133,7 @@ void Nepomuk::StatusWidget::slotUpdateTimeout()
> >      }
> >  }
> >
> > -void Nepomuk::StatusWidget::slotUpdateStatus()
> > +void Nepomuk2::StatusWidget::slotUpdateStatus()
> >  {
> >      const bool fileIndexerInitialized =
> >
>  QDBusConnection::sessionBus().interface()->isServiceRegistered(m_fileIndexerService->service())
> &&
> > @@ -153,7 +153,7 @@ void Nepomuk::StatusWidget::slotUpdateStatus()
> >      updateSuspendResumeButtonText( m_fileIndexerService->isSuspended()
> );
> >  }
> >
> > -void Nepomuk::StatusWidget::slotSuspendResume()
> > +void Nepomuk2::StatusWidget::slotSuspendResume()
> >  {
> >      if ( m_fileIndexerService->isSuspended()) {
> >          m_fileIndexerService->resume();
> > @@ -165,7 +165,7 @@ void Nepomuk::StatusWidget::slotSuspendResume()
> >      }
> >  }
> >
> > -void Nepomuk::StatusWidget::updateSuspendResumeButtonText(bool
> suspended)
> > +void Nepomuk2::StatusWidget::updateSuspendResumeButtonText(bool
> suspended)
> >  {
> >      if (!suspended) {
> >          m_suspendResumeButton->setText( i18nc("Suspends the Nepomuk
> file indexing service.","Suspend File Indexing") );
> > @@ -175,7 +175,7 @@ void
> Nepomuk::StatusWidget::updateSuspendResumeButtonText(bool suspended)
> >      }
> >  }
> >
> > -void Nepomuk::StatusWidget::showEvent( QShowEvent* event )
> > +void Nepomuk2::StatusWidget::showEvent( QShowEvent* event )
> >  {
> >      if ( !m_connected ) {
> >          connect( ResourceManager::instance()->mainModel(), SIGNAL(
> statementsAdded() ),
> > @@ -192,7 +192,7 @@ void Nepomuk::StatusWidget::showEvent( QShowEvent*
> event )
> >  }
> >
> >
> > -void Nepomuk::StatusWidget::hideEvent( QHideEvent* event )
> > +void Nepomuk2::StatusWidget::hideEvent( QHideEvent* event )
> >  {
> >      if ( m_connected ) {
> >          ResourceManager::instance()->mainModel()->disconnect( this );
> > diff --git a/nepomuk/kcm/statuswidget.h b/nepomuk/kcm/statuswidget.h
> > index b7af01e..ab951f3 100644
> > --- a/nepomuk/kcm/statuswidget.h
> > +++ b/nepomuk/kcm/statuswidget.h
> > @@ -37,7 +37,7 @@ class AsyncQuery;
> >  }
> >  }
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >
> >
> >  class StatusWidget : public KDialog, public Ui::StatusWidget
> > diff --git a/nepomuk/kioslaves/common/nepomuksearchurltools.h
> b/nepomuk/kioslaves/common/nepomuksearchurltools.h
> > index 54abd27..deccc34 100644
> > --- a/nepomuk/kioslaves/common/nepomuksearchurltools.h
> > +++ b/nepomuk/kioslaves/common/nepomuksearchurltools.h
> > @@ -22,14 +22,14 @@
> >
> >  #include <QtCore/QString>
> >
> > -#include <nepomuk/query.h>
> > -#include <nepomuk/queryparser.h>
> > +#include <nepomuk2/query.h>
> > +#include <nepomuk2/queryparser.h>
> >
> >  #include <kurl.h>
> >
> > -#include <Nepomuk/Vocabulary/NIE>
> > +#include <Nepomuk2/Vocabulary/NIE>
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >      /**
> >       * Encode the resource URI into the UDS_NAME to make it unique.
> >       * It is important that we do not use the % for percent-encoding.
> Otherwise KUrl::url will
> > diff --git a/nepomuk/kioslaves/common/resourcestat.cpp
> b/nepomuk/kioslaves/common/resourcestat.cpp
> > index 5aeefc6..a259ba5 100644
> > --- a/nepomuk/kioslaves/common/resourcestat.cpp
> > +++ b/nepomuk/kioslaves/common/resourcestat.cpp
> > @@ -31,16 +31,16 @@
> >  #include <kio/udsentry.h>
> >  #include <KDebug>
> >
> > -#include <Nepomuk/Thing>
> > -#include <Nepomuk/Variant>
> > -#include <Nepomuk/Types/Class>
> > -#include <Nepomuk/ResourceManager>
> > -#include <Nepomuk/Query/Query>
> > -#include <Nepomuk/Query/ComparisonTerm>
> > -#include <Nepomuk/Query/ResourceTerm>
> > -#include <Nepomuk/Vocabulary/NFO>
> > -#include <Nepomuk/Vocabulary/NIE>
> > -#include <Nepomuk/Vocabulary/PIMO>
> > +#include <Nepomuk2/Thing>
> > +#include <Nepomuk2/Variant>
> > +#include <Nepomuk2/Types/Class>
> > +#include <Nepomuk2/ResourceManager>
> > +#include <Nepomuk2/Query/Query>
> > +#include <Nepomuk2/Query/ComparisonTerm>
> > +#include <Nepomuk2/Query/ResourceTerm>
> > +#include <Nepomuk2/Vocabulary/NFO>
> > +#include <Nepomuk2/Vocabulary/NIE>
> > +#include <Nepomuk2/Vocabulary/PIMO>
> >
> >  #include <Soprano/Vocabulary/RDF>
> >  #include <Soprano/Vocabulary/NAO>
> > @@ -53,7 +53,7 @@
> >  #include <Solid/StorageAccess>
> >
> >
> > -KUrl Nepomuk::stripQuery( const KUrl& url )
> > +KUrl Nepomuk2::stripQuery( const KUrl& url )
> >  {
> >      KUrl newUrl( url );
> >      newUrl.setEncodedQuery( QByteArray() );
> > @@ -61,7 +61,7 @@ KUrl Nepomuk::stripQuery( const KUrl& url )
> >  }
> >
> >
> > -Nepomuk::Resource Nepomuk::splitNepomukUrl( const KUrl& url, QString*
> filename )
> > +Nepomuk2::Resource Nepomuk2::splitNepomukUrl( const KUrl& url, QString*
> filename )
> >  {
> >      //
> >      // let's try to extract the resource from the url in case we listed
> a tag or
> > @@ -88,10 +88,10 @@ Nepomuk::Resource Nepomuk::splitNepomukUrl( const
> KUrl& url, QString* filename )
> >  }
> >
> >
> > -bool Nepomuk::isRemovableMediaFile( const Nepomuk::Resource& res )
> > +bool Nepomuk2::isRemovableMediaFile( const Nepomuk2::Resource& res )
> >  {
> > -    if ( res.hasProperty( Nepomuk::Vocabulary::NIE::url() ) ) {
> > -        KUrl url = res.property( Nepomuk::Vocabulary::NIE::url()
> ).toUrl();
> > +    if ( res.hasProperty( Nepomuk2::Vocabulary::NIE::url() ) ) {
> > +        KUrl url = res.property( Nepomuk2::Vocabulary::NIE::url()
> ).toUrl();
> >          return ( url.protocol() == QLatin1String( "filex" ) );
> >      }
> >      else {
> > @@ -100,7 +100,7 @@ bool Nepomuk::isRemovableMediaFile( const
> Nepomuk::Resource& res )
> >  }
> >
> >
> > -Solid::StorageAccess* Nepomuk::storageFromUUID( const QString& uuid )
> > +Solid::StorageAccess* Nepomuk2::storageFromUUID( const QString& uuid )
> >  {
> >      QString solidQuery = QString::fromLatin1( "[
> StorageVolume.usage=='FileSystem' AND StorageVolume.uuid=='%1' ]" ).arg(
> uuid.toLower() );
> >      QList<Solid::Device> devices = Solid::Device::listFromQuery(
> solidQuery );
> > @@ -112,7 +112,7 @@ Solid::StorageAccess* Nepomuk::storageFromUUID(
> const QString& uuid )
> >  }
> >
> >
> > -bool Nepomuk::mountAndWait( Solid::StorageAccess* storage )
> > +bool Nepomuk2::mountAndWait( Solid::StorageAccess* storage )
> >  {
> >      kDebug() << storage;
> >      QEventLoop loop;
> > @@ -131,12 +131,12 @@ bool Nepomuk::mountAndWait( Solid::StorageAccess*
> storage )
> >  }
> >
> >
> > -KUrl Nepomuk::determineFilesystemPath( const Nepomuk::Resource& fsRes )
> > +KUrl Nepomuk2::determineFilesystemPath( const Nepomuk2::Resource& fsRes
> )
> >  {
> >      QString uuidQuery = QString::fromLatin1( "select ?uuid where { %1
> %2 ?uuid . }" )
> >                          .arg( Soprano::Node::resourceToN3(
> fsRes.resourceUri() ),
> >                                Soprano::Node::resourceToN3(
> Soprano::Vocabulary::NAO::identifier() ) );
> > -    Soprano::QueryResultIterator it =
> Nepomuk::ResourceManager::instance()->mainModel()->executeQuery( uuidQuery,
> Soprano::Query::QueryLanguageSparql );
> > +    Soprano::QueryResultIterator it =
> Nepomuk2::ResourceManager::instance()->mainModel()->executeQuery(
> uuidQuery, Soprano::Query::QueryLanguageSparql );
> >      if ( it.next() ) {
> >          Solid::StorageAccess* storage = storageFromUUID(
> it["uuid"].toString() );
> >          it.close();
> > @@ -150,10 +150,10 @@ KUrl Nepomuk::determineFilesystemPath( const
> Nepomuk::Resource& fsRes )
> >  }
> >
> >
> > -QString Nepomuk::getFileSystemLabelForRemovableMediaFileUrl( const
> Nepomuk::Resource& res )
> > +QString Nepomuk2::getFileSystemLabelForRemovableMediaFileUrl( const
> Nepomuk2::Resource& res )
> >  {
> >      QList<Soprano::Node> labelNodes
> > -        =
> Nepomuk::ResourceManager::instance()->mainModel()->executeQuery(
> QString::fromLatin1( "select ?label where { "
> > +        =
> Nepomuk2::ResourceManager::instance()->mainModel()->executeQuery(
> QString::fromLatin1( "select ?label where { "
> >
>                          "%1 nie:isPartOf ?fs . "
> >
>                          "?fs a nfo:Filesystem . "
> >
>                          "?fs nao:prefLabel ?label . "
> > @@ -164,17 +164,17 @@ QString
> Nepomuk::getFileSystemLabelForRemovableMediaFileUrl( const Nepomuk::Reso
> >      if ( !labelNodes.isEmpty() )
> >          return labelNodes.first().toString();
> >      else
> > -        return res.property( Nepomuk::Vocabulary::NIE::url()
> ).toUrl().host(); // Solid UUID
> > +        return res.property( Nepomuk2::Vocabulary::NIE::url()
> ).toUrl().host(); // Solid UUID
> >  }
> >
> >
> > -KUrl Nepomuk::convertRemovableMediaFileUrl( const KUrl& url, bool
> evenMountIfNecessary )
> > +KUrl Nepomuk2::convertRemovableMediaFileUrl( const KUrl& url, bool
> evenMountIfNecessary )
> >  {
> > -    Solid::StorageAccess* storage = Nepomuk::storageFromUUID(
> url.host() );
> > +    Solid::StorageAccess* storage = Nepomuk2::storageFromUUID(
> url.host() );
> >      kDebug() << url << storage;
> >      if ( storage &&
> >           ( storage->isAccessible() ||
> > -           ( evenMountIfNecessary && Nepomuk::mountAndWait( storage ) )
> ) ) {
> > +           ( evenMountIfNecessary && Nepomuk2::mountAndWait( storage )
> ) ) ) {
> >          kDebug() << "converted:" << KUrl( storage->filePath() +
> QLatin1String( "/" ) + url.path() );
> >          return QString( storage->filePath() + QLatin1String( "/" ) +
> url.path() );
> >      }
> > @@ -184,7 +184,7 @@ KUrl Nepomuk::convertRemovableMediaFileUrl( const
> KUrl& url, bool evenMountIfNec
> >  }
> >
> >
> > -void Nepomuk::addGenericNepomukResourceData( const Nepomuk::Resource&
> res, KIO::UDSEntry& uds, bool includeMimeType )
> > +void Nepomuk2::addGenericNepomukResourceData( const Nepomuk2::Resource&
> res, KIO::UDSEntry& uds, bool includeMimeType )
> >  {
> >      //
> >      // Add some random values
> > @@ -216,7 +216,7 @@ void Nepomuk::addGenericNepomukResourceData( const
> Nepomuk::Resource& res, KIO::
> >
> >      if ( includeMimeType ) {
> >          // Use nice display types like "Person", "Project" and so on
> > -        Nepomuk::Types::Class type( res.resourceType() );
> > +        Nepomuk2::Types::Class type( res.resourceType() );
> >          if (!type.label().isEmpty())
> >              uds.insert( KIO::UDSEntry::UDS_DISPLAY_TYPE, type.label() );
> >
> > @@ -235,7 +235,7 @@ void Nepomuk::addGenericNepomukResourceData( const
> Nepomuk::Resource& res, KIO::
> >  }
> >
> >
> > -KIO::UDSEntry Nepomuk::statNepomukResource( const Nepomuk::Resource&
> res, bool doNotForward )
> > +KIO::UDSEntry Nepomuk2::statNepomukResource( const Nepomuk2::Resource&
> res, bool doNotForward )
> >  {
> >      //
> >      // We do not have a local file
> > @@ -289,7 +289,7 @@ KIO::UDSEntry Nepomuk::statNepomukResource( const
> Nepomuk::Resource& res, bool d
> >      addGenericNepomukResourceData( res, uds, !uds.contains(
> KIO::UDSEntry::UDS_MIME_TYPE ) );
> >
> >      if ( !doNotForward ) {
> > -        KUrl reUrl = Nepomuk::redirectionUrl( res );
> > +        KUrl reUrl = Nepomuk2::redirectionUrl( res );
> >          if ( !reUrl.isEmpty() ) {
> >              uds.insert( KIO::UDSEntry::UDS_MIME_TYPE, QLatin1String(
> "inode/directory" ) );
> >              uds.insert( KIO::UDSEntry::UDS_FILE_TYPE, S_IFDIR );
> > @@ -300,25 +300,25 @@ KIO::UDSEntry Nepomuk::statNepomukResource( const
> Nepomuk::Resource& res, bool d
> >  }
> >
> >
> > -bool Nepomuk::willBeRedirected( const Nepomuk::Resource& res )
> > +bool Nepomuk2::willBeRedirected( const Nepomuk2::Resource& res )
> >  {
> >      // here the same canditions as in redirectionUrl need to be listed
> > -    return( res.hasType( Nepomuk::Vocabulary::NFO::Folder() ) ||
> > +    return( res.hasType( Nepomuk2::Vocabulary::NFO::Folder() ) ||
> >              res.hasType( Soprano::Vocabulary::NAO::Tag() ) ||
> > -            res.hasType( Nepomuk::Vocabulary::NFO::Filesystem() ) ||
> > -            !res.hasType( Nepomuk::Vocabulary::NFO::FileDataObject() )
> );
> > +            res.hasType( Nepomuk2::Vocabulary::NFO::Filesystem() ) ||
> > +            !res.hasType( Nepomuk2::Vocabulary::NFO::FileDataObject() )
> );
> >  }
> >
> >
> > -KUrl Nepomuk::redirectionUrl( const Nepomuk::Resource& res )
> > +KUrl Nepomuk2::redirectionUrl( const Nepomuk2::Resource& res )
> >  {
> >      // list folders by forwarding to the actual folder on disk
> > -    if ( res.hasType( Nepomuk::Vocabulary::NFO::Folder() ) ) {
> > -        return res.property( Nepomuk::Vocabulary::NIE::url() ).toUrl();
> > +    if ( res.hasType( Nepomuk2::Vocabulary::NFO::Folder() ) ) {
> > +        return res.property( Nepomuk2::Vocabulary::NIE::url() ).toUrl();
> >      }
> >
> >      // list filesystems by forwarding to the mounted path on disk (in
> case the fs is mounted)
> > -    else if ( res.hasType( Nepomuk::Vocabulary::NFO::Filesystem() ) ) {
> > +    else if ( res.hasType( Nepomuk2::Vocabulary::NFO::Filesystem() ) ) {
> >          KUrl fsUrl = determineFilesystemPath( res );
> >          if ( fsUrl.isValid() ) {
> >              return fsUrl;
> > @@ -335,7 +335,7 @@ KUrl Nepomuk::redirectionUrl( const
> Nepomuk::Resource& res )
> >
> >      // list everything else besides files by querying things related to
> the resource in some way
> >      // this works for music albums or artists but it would also work
> for tags
> > -    else if ( !res.hasType( Nepomuk::Vocabulary::NFO::FileDataObject()
> ) ) {
> > +    else if ( !res.hasType( Nepomuk2::Vocabulary::NFO::FileDataObject()
> ) ) {
> >          Query::ComparisonTerm term( QUrl(), Query::ResourceTerm( res ),
> Query::ComparisonTerm::Equal );
> >          KUrl url = Query::Query( term ).toSearchUrl( res.genericLabel()
> );
> >          url.addQueryItem( QLatin1String( "resource" ), KUrl(
> res.resourceUri() ).url() );
> > @@ -352,10 +352,10 @@ namespace {
> >      /**
> >       * Check if the resource represents a local file with an existing
> nie:url property.
> >       */
> > -    bool isLocalFile( const Nepomuk::Resource& res )
> > +    bool isLocalFile( const Nepomuk2::Resource& res )
> >      {
> > -        if ( res.hasProperty( Nepomuk::Vocabulary::NIE::url() ) ) {
> > -            KUrl url = res.property( Nepomuk::Vocabulary::NIE::url()
> ).toUrl();
> > +        if ( res.hasProperty( Nepomuk2::Vocabulary::NIE::url() ) ) {
> > +            KUrl url = res.property( Nepomuk2::Vocabulary::NIE::url()
> ).toUrl();
> >              return ( !url.isEmpty() &&
> >                       QFile::exists( url.toLocalFile() ) );
> >          }
> > @@ -365,10 +365,10 @@ namespace {
> >      }
> >  }
> >
> > -KUrl Nepomuk::nepomukToFileUrl( const KUrl& url, bool
> evenMountIfNecessary )
> > +KUrl Nepomuk2::nepomukToFileUrl( const KUrl& url, bool
> evenMountIfNecessary )
> >  {
> >      QString filename;
> > -    Nepomuk::Resource res = splitNepomukUrl( url, &filename );
> > +    Nepomuk2::Resource res = splitNepomukUrl( url, &filename );
> >
> >      if ( !res.exists() )
> >          return KUrl();
> > @@ -378,7 +378,7 @@ KUrl Nepomuk::nepomukToFileUrl( const KUrl& url,
> bool evenMountIfNecessary )
> >      //
> >      // let's see if it is a pimo thing which refers to a file
> >      //
> > -    if ( res.hasType( Nepomuk::Vocabulary::PIMO::Thing() ) ) {
> > +    if ( res.hasType( Nepomuk2::Vocabulary::PIMO::Thing() ) ) {
> >          if ( !res.pimoThing().groundingOccurrences().isEmpty() ) {
> >              res = res.pimoThing().groundingOccurrences().first();
> >          }
> > @@ -388,7 +388,7 @@ KUrl Nepomuk::nepomukToFileUrl( const KUrl& url,
> bool evenMountIfNecessary )
> >          newURL = res.property( Vocabulary::NIE::url() ).toUrl();
> >      }
> >      else if ( isRemovableMediaFile( res ) ) {
> > -        const KUrl removableMediaUrl = res.property(
> Nepomuk::Vocabulary::NIE::url() ).toUrl();
> > +        const KUrl removableMediaUrl = res.property(
> Nepomuk2::Vocabulary::NIE::url() ).toUrl();
> >          newURL = convertRemovableMediaFileUrl( removableMediaUrl,
> evenMountIfNecessary );
> >      }
> >
> > diff --git a/nepomuk/kioslaves/common/resourcestat.h
> b/nepomuk/kioslaves/common/resourcestat.h
> > index 6f6126b..a8d80a9 100644
> > --- a/nepomuk/kioslaves/common/resourcestat.h
> > +++ b/nepomuk/kioslaves/common/resourcestat.h
> > @@ -30,7 +30,7 @@ namespace Solid {
> >      class StorageAccess;
> >  }
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >
> >      class Resource;
> >
> > @@ -43,13 +43,13 @@ namespace Nepomuk {
> >       * Split the filename part off a nepomuk:/ URI. This is used in
> many methods for identifying
> >       * entries listed from tags and filesystems.
> >       */
> > -    Nepomuk::Resource splitNepomukUrl( const KUrl& url, QString*
> filename = 0 );
> > +    Nepomuk2::Resource splitNepomukUrl( const KUrl& url, QString*
> filename = 0 );
> >
> >      /**
> >       * Check if the resource represents a file on a removable media
> using a filex:/
> >       * URL.
> >       */
> > -    bool isRemovableMediaFile( const Nepomuk::Resource& res );
> > +    bool isRemovableMediaFile( const Nepomuk2::Resource& res );
> >
> >      /**
> >       * Create a Solid storage access interface from the volume UUID.
> > @@ -65,12 +65,12 @@ namespace Nepomuk {
> >      /**
> >       * Get the mount path of a nfo:Filesystem resource as created by
> the removable storage service.
> >       */
> > -    KUrl determineFilesystemPath( const Nepomuk::Resource& fsRes );
> > +    KUrl determineFilesystemPath( const Nepomuk2::Resource& fsRes );
> >
> >      /**
> >       * Determine the label for a filesystem \p res is stored on.
> >       */
> > -    QString getFileSystemLabelForRemovableMediaFileUrl( const
> Nepomuk::Resource& res );
> > +    QString getFileSystemLabelForRemovableMediaFileUrl( const
> Nepomuk2::Resource& res );
> >
> >      /**
> >       * Convert a filex:/ URL into its actual local file URL.
> > @@ -82,24 +82,24 @@ namespace Nepomuk {
> >       */
> >      KUrl convertRemovableMediaFileUrl( const KUrl& url, bool
> evenMountIfNecessary = false );
> >
> > -    void addGenericNepomukResourceData( const Nepomuk::Resource& res,
> KIO::UDSEntry& uds, bool includeMimeType = true );
> > +    void addGenericNepomukResourceData( const Nepomuk2::Resource& res,
> KIO::UDSEntry& uds, bool includeMimeType = true );
> >
> >      /**
> >       * Stat a Nepomuk resource. Might start a local event loop
> >       */
> > -    KIO::UDSEntry statNepomukResource( const Nepomuk::Resource& res,
> bool doNotForward = false );
> > +    KIO::UDSEntry statNepomukResource( const Nepomuk2::Resource& res,
> bool doNotForward = false );
> >
> >      /**
> >       * \return \p true for all resources that will get a valid
> redirection url in
> >       * redirectionUrl().
> >       */
> > -    bool willBeRedirected( const Nepomuk::Resource& res );
> > +    bool willBeRedirected( const Nepomuk2::Resource& res );
> >
> >      /**
> >       * Create a redirection query URL for resources such as tags or
> filesystems.
> >       * For other resources an empty KUrl is returned.
> >       */
> > -    KUrl redirectionUrl( const Nepomuk::Resource& res );
> > +    KUrl redirectionUrl( const Nepomuk2::Resource& res );
> >
> >      /**
> >       * Convert a nepomuk:/ URL to a file:/ URL if possible.
> > diff --git a/nepomuk/kioslaves/common/standardqueries.h
> b/nepomuk/kioslaves/common/standardqueries.h
> > index bd33ee2..a6fa173 100644
> > --- a/nepomuk/kioslaves/common/standardqueries.h
> > +++ b/nepomuk/kioslaves/common/standardqueries.h
> > @@ -20,27 +20,27 @@
> >  #ifndef _NEPOMUK_STANDARD_QUERIES_H_
> >  #define _NEPOMUK_STANDARD_QUERIES_H_
> >
> > -#include <Nepomuk/Query/FileQuery>
> > -#include <Nepomuk/Query/ComparisonTerm>
> > -#include <Nepomuk/Query/AndTerm>
> > -#include <Nepomuk/Query/OrTerm>
> > -#include <Nepomuk/Query/LiteralTerm>
> > -#include <Nepomuk/Query/NegationTerm>
> > -#include <Nepomuk/Query/ResourceTerm>
> > +#include <Nepomuk2/Query/FileQuery>
> > +#include <Nepomuk2/Query/ComparisonTerm>
> > +#include <Nepomuk2/Query/AndTerm>
> > +#include <Nepomuk2/Query/OrTerm>
> > +#include <Nepomuk2/Query/LiteralTerm>
> > +#include <Nepomuk2/Query/NegationTerm>
> > +#include <Nepomuk2/Query/ResourceTerm>
> >
> >  #include <Soprano/Vocabulary/NAO>
> >  #include <Soprano/Vocabulary/RDF>
> >
> > -#include <Nepomuk/Vocabulary/NIE>
> > -#include <Nepomuk/Vocabulary/NFO>
> > -#include <Nepomuk/Vocabulary/NUAO>
> > +#include <Nepomuk2/Vocabulary/NIE>
> > +#include <Nepomuk2/Vocabulary/NFO>
> > +#include <Nepomuk2/Vocabulary/NUAO>
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >      /**
> >       * Creates a query that returns all files sorted by descending
> modification date.
> >       */
> >      inline Query::Query lastModifiedFilesQuery() {
> > -        Query::ComparisonTerm lastModifiedTerm(
> Nepomuk::Vocabulary::NIE::lastModified(), Query::Term() );
> > +        Query::ComparisonTerm lastModifiedTerm(
> Nepomuk2::Vocabulary::NIE::lastModified(), Query::Term() );
> >          lastModifiedTerm.setSortWeight( 1, Qt::DescendingOrder );
> >          Query::FileQuery lastModifiedQuery( lastModifiedTerm );
> >          lastModifiedQuery.setFileMode( Query::FileQuery::QueryFiles );
> > @@ -69,12 +69,12 @@ namespace Nepomuk {
> >          // 2. no property at all
> >          Query::OrTerm usageCntTerm(
> >              Query::ComparisonTerm(
> > -                Nepomuk::Vocabulary::NUAO::usageCount(),
> > +                Nepomuk2::Vocabulary::NUAO::usageCount(),
> >                  Query::LiteralTerm( 0 ),
> >                  Query::ComparisonTerm::Equal ),
> >              Query::NegationTerm::negateTerm(
> >                  Query::ComparisonTerm(
> > -                    Nepomuk::Vocabulary::NUAO::usageCount(),
> > +                    Nepomuk2::Vocabulary::NUAO::usageCount(),
> >                      Query::Term() ) ) );
> >
> >          // Before we had the data management service there was no usage
> count
> > @@ -83,7 +83,7 @@ namespace Nepomuk {
> >          // However, by default we only show the top 10 results. Thus,
> in the
> >          // worst case this query will return the same as
> lastModifiedFilesQuery().
> >          Query::ComparisonTerm modDateTerm(
> > -            Nepomuk::Vocabulary::NIE::lastModified(),
> > +            Nepomuk2::Vocabulary::NIE::lastModified(),
> >              Query::Term() );
> >          modDateTerm.setSortWeight( 1, Qt::DescendingOrder );
> >
> > diff --git a/nepomuk/kioslaves/common/timelinetools.cpp
> b/nepomuk/kioslaves/common/timelinetools.cpp
> > index f65bbd5..22cd561 100644
> > --- a/nepomuk/kioslaves/common/timelinetools.cpp
> > +++ b/nepomuk/kioslaves/common/timelinetools.cpp
> > @@ -24,16 +24,16 @@
> >  #include <Soprano/Node>
> >  #include <Soprano/Vocabulary/XMLSchema>
> >
> > -#include <Nepomuk/Vocabulary/NFO>
> > -#include <Nepomuk/Vocabulary/NIE>
> > -#include <Nepomuk/Vocabulary/NUAO>
> > +#include <Nepomuk2/Vocabulary/NFO>
> > +#include <Nepomuk2/Vocabulary/NIE>
> > +#include <Nepomuk2/Vocabulary/NUAO>
> >
> > -#include <Nepomuk/Query/FileQuery>
> > -#include <Nepomuk/Query/AndTerm>
> > -#include <Nepomuk/Query/OrTerm>
> > -#include <Nepomuk/Query/ComparisonTerm>
> > -#include <Nepomuk/Query/LiteralTerm>
> > -#include <Nepomuk/Query/StandardQuery>
> > +#include <Nepomuk2/Query/FileQuery>
> > +#include <Nepomuk2/Query/AndTerm>
> > +#include <Nepomuk2/Query/OrTerm>
> > +#include <Nepomuk2/Query/ComparisonTerm>
> > +#include <Nepomuk2/Query/LiteralTerm>
> > +#include <Nepomuk2/Query/StandardQuery>
> >
> >  #include <KUrl>
> >  #include <KCalendarSystem>
> > @@ -85,7 +85,7 @@ namespace {
> >  }
> >
> >
> > -Nepomuk::TimelineFolderType Nepomuk::parseTimelineUrl( const KUrl& url,
> QDate* date, QString* filename )
> > +Nepomuk2::TimelineFolderType Nepomuk2::parseTimelineUrl( const KUrl&
> url, QDate* date, QString* filename )
> >  {
> >      kDebug() << url;
> >
> > @@ -149,9 +149,9 @@ Nepomuk::TimelineFolderType
> Nepomuk::parseTimelineUrl( const KUrl& url, QDate* d
> >  }
> >
> >
> > -Nepomuk::Query::Query Nepomuk::buildTimelineQuery( const QDate& from,
> const QDate& to )
> > +Nepomuk2::Query::Query Nepomuk2::buildTimelineQuery( const QDate& from,
> const QDate& to )
> >  {
> > -    Nepomuk::Query::FileQuery query = Nepomuk::Query::dateRangeQuery(
> from, to.isValid() ? to : from );
> > +    Nepomuk2::Query::FileQuery query = Nepomuk2::Query::dateRangeQuery(
> from, to.isValid() ? to : from );
> >      query.setFileMode( Query::FileQuery::QueryFiles );
> >      return query;
> >  }
> > diff --git a/nepomuk/kioslaves/common/timelinetools.h
> b/nepomuk/kioslaves/common/timelinetools.h
> > index f1b53ed..51a956a 100644
> > --- a/nepomuk/kioslaves/common/timelinetools.h
> > +++ b/nepomuk/kioslaves/common/timelinetools.h
> > @@ -25,9 +25,9 @@ class QString;
> >
> >  #include <QtCore/QDate>
> >
> > -#include <Nepomuk/Query/Query>
> > +#include <Nepomuk2/Query/Query>
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >      /**
> >       * The hierarchy in timeline:/ looks as follows:
> >       *
> > diff --git a/nepomuk/kioslaves/nepomuk/CMakeLists.txt
> b/nepomuk/kioslaves/nepomuk/CMakeLists.txt
> > index de856ac..318390b 100644
> > --- a/nepomuk/kioslaves/nepomuk/CMakeLists.txt
> > +++ b/nepomuk/kioslaves/nepomuk/CMakeLists.txt
> > @@ -1,6 +1,7 @@
> >  include_directories(
> >    ${KDE4_INCLUDES}
> >    ${CMAKE_CURRENT_BINARY_DIR}
> > +  ${NEPOMUK_CORE_INCLUDE_DIR}
> >    ${nepomuk_kio_slaves_SOURCE_DIR}/common
> >  )
> >
> > @@ -15,9 +16,7 @@ target_link_libraries(kio_nepomuk
> >    nepomukcommon
> >    ${KDE4_KIO_LIBS}
> >    ${KDE4_SOLID_LIBS}
> > -  ${NEPOMUK_LIBRARIES}
> > -  ${NEPOMUK_QUERY_LIBRARIES}
> > -  ${NEPOMUK_UTILS_LIBRARIES}
> > +  ${NEPOMUK_CORE_LIBRARIES}
> >    ${SOPRANO_LIBRARIES})
> >
> >  install(TARGETS kio_nepomuk DESTINATION ${PLUGIN_INSTALL_DIR})
> > diff --git a/nepomuk/kioslaves/nepomuk/kio_nepomuk.cpp
> b/nepomuk/kioslaves/nepomuk/kio_nepomuk.cpp
> > index 262dfe4..ae613b4 100644
> > --- a/nepomuk/kioslaves/nepomuk/kio_nepomuk.cpp
> > +++ b/nepomuk/kioslaves/nepomuk/kio_nepomuk.cpp
> > @@ -37,17 +37,17 @@
> >  #include <KMessageBox>
> >  #include <KMimeType>
> >
> > -#include <nepomuk/thing.h>
> > -#include <nepomuk/resourcemanager.h>
> > -#include <nepomuk/variant.h>
> > -#include <nepomuk/class.h>
> > -#include <nepomuk/property.h>
> > -#include <Nepomuk/Query/Query>
> > -#include <Nepomuk/Query/ComparisonTerm>
> > -#include <Nepomuk/Query/ResourceTerm>
> > -#include <Nepomuk/Vocabulary/NFO>
> > -#include <Nepomuk/Vocabulary/NIE>
> > -#include <Nepomuk/Vocabulary/PIMO>
> > +#include <nepomuk2/thing.h>
> > +#include <nepomuk2/resourcemanager.h>
> > +#include <nepomuk2/variant.h>
> > +#include <nepomuk2/class.h>
> > +#include <nepomuk2/property.h>
> > +#include <Nepomuk2/Query/Query>
> > +#include <Nepomuk2/Query/ComparisonTerm>
> > +#include <Nepomuk2/Query/ResourceTerm>
> > +#include <Nepomuk2/Vocabulary/NFO>
> > +#include <Nepomuk2/Vocabulary/NIE>
> > +#include <Nepomuk2/Vocabulary/PIMO>
> >
> >  #include <Soprano/Vocabulary/RDF>
> >  #include <Soprano/Vocabulary/NAO>
> > @@ -66,19 +66,19 @@ namespace {
> >      }
> >  }
> >
> > -Nepomuk::NepomukProtocol::NepomukProtocol( const QByteArray&
> poolSocket, const QByteArray& appSocket )
> > +Nepomuk2::NepomukProtocol::NepomukProtocol( const QByteArray&
> poolSocket, const QByteArray& appSocket )
> >      : KIO::ForwardingSlaveBase( "nepomuk", poolSocket, appSocket )
> >  {
> >      ResourceManager::instance()->init();
> >  }
> >
> >
> > -Nepomuk::NepomukProtocol::~NepomukProtocol()
> > +Nepomuk2::NepomukProtocol::~NepomukProtocol()
> >  {
> >  }
> >
> >
> > -void Nepomuk::NepomukProtocol::listDir( const KUrl& url )
> > +void Nepomuk2::NepomukProtocol::listDir( const KUrl& url )
> >  {
> >      if ( !ensureNepomukRunning() )
> >          return;
> > @@ -89,8 +89,8 @@ void Nepomuk::NepomukProtocol::listDir( const KUrl&
> url )
> >      // anything.
> >      // See README for details
> >      //
> > -    Nepomuk::Resource res = Nepomuk::splitNepomukUrl( url );
> > -    KUrl reUrl = Nepomuk::redirectionUrl( res );
> > +    Nepomuk2::Resource res = Nepomuk2::splitNepomukUrl( url );
> > +    KUrl reUrl = Nepomuk2::redirectionUrl( res );
> >      if ( !reUrl.isEmpty() ) {
> >          redirection( reUrl );
> >          finished();
> > @@ -101,7 +101,7 @@ void Nepomuk::NepomukProtocol::listDir( const KUrl&
> url )
> >  }
> >
> >
> > -void Nepomuk::NepomukProtocol::get( const KUrl& url )
> > +void Nepomuk2::NepomukProtocol::get( const KUrl& url )
> >  {
> >      if ( !ensureNepomukRunning() )
> >          return;
> > @@ -111,13 +111,13 @@ void Nepomuk::NepomukProtocol::get( const KUrl&
> url )
> >      m_currentOperation = Get;
> >      const bool noFollow = noFollowSet( url );
> >
> > -    Nepomuk::Resource res = splitNepomukUrl( url );
> > -    if ( !noFollow && Nepomuk::isRemovableMediaFile( res ) ) {
> > +    Nepomuk2::Resource res = splitNepomukUrl( url );
> > +    if ( !noFollow && Nepomuk2::isRemovableMediaFile( res ) ) {
> >          error( KIO::ERR_SLAVE_DEFINED,
> >                 i18nc( "@info", "Please insert the removable medium
> <resource>%1</resource> to access this file.",
> >                        getFileSystemLabelForRemovableMediaFileUrl( res )
> ) );
> >      }
> > -    else if ( !noFollow && !Nepomuk::nepomukToFileUrl( url ).isEmpty()
> ) {
> > +    else if ( !noFollow && !Nepomuk2::nepomukToFileUrl( url ).isEmpty()
> ) {
> >          ForwardingSlaveBase::get( url );
> >      }
> >      else {
> > @@ -150,7 +150,7 @@ void Nepomuk::NepomukProtocol::get( const KUrl& url )
> >  }
> >
> >
> > -void Nepomuk::NepomukProtocol::put( const KUrl& url, int permissions,
> KIO::JobFlags flags )
> > +void Nepomuk2::NepomukProtocol::put( const KUrl& url, int permissions,
> KIO::JobFlags flags )
> >  {
> >      if ( !ensureNepomukRunning() )
> >          return;
> > @@ -162,7 +162,7 @@ void Nepomuk::NepomukProtocol::put( const KUrl& url,
> int permissions, KIO::JobFl
> >  }
> >
> >
> > -void Nepomuk::NepomukProtocol::stat( const KUrl& url )
> > +void Nepomuk2::NepomukProtocol::stat( const KUrl& url )
> >  {
> >      if ( !ensureNepomukRunning() )
> >          return;
> > @@ -171,17 +171,17 @@ void Nepomuk::NepomukProtocol::stat( const KUrl&
> url )
> >
> >      m_currentOperation = Stat;
> >      const bool noFollow = noFollowSet( url );
> > -    if ( !noFollow && !Nepomuk::nepomukToFileUrl( url ).isEmpty() ) {
> > +    if ( !noFollow && !Nepomuk2::nepomukToFileUrl( url ).isEmpty() ) {
> >          ForwardingSlaveBase::stat( url );
> >      }
> >      else {
> > -        Nepomuk::Resource res = splitNepomukUrl( url );
> > +        Nepomuk2::Resource res = splitNepomukUrl( url );
> >
> >          if ( !res.exists() ) {
> >              error( KIO::ERR_DOES_NOT_EXIST, QLatin1String("stat: ") +
> stripQuery(url).prettyUrl() );
> >          }
> >          else {
> > -            KIO::UDSEntry uds = Nepomuk::statNepomukResource( res,
> noFollow );
> > +            KIO::UDSEntry uds = Nepomuk2::statNepomukResource( res,
> noFollow );
> >              statEntry( uds );
> >              finished();
> >          }
> > @@ -189,7 +189,7 @@ void Nepomuk::NepomukProtocol::stat( const KUrl& url
> )
> >  }
> >
> >
> > -void Nepomuk::NepomukProtocol::mimetype( const KUrl& url )
> > +void Nepomuk2::NepomukProtocol::mimetype( const KUrl& url )
> >  {
> >      if ( !ensureNepomukRunning() )
> >          return;
> > @@ -204,15 +204,15 @@ void Nepomuk::NepomukProtocol::mimetype( const
> KUrl& url )
> >      }
> >
> >      QString filename;
> > -    Nepomuk::Resource res = Nepomuk::splitNepomukUrl( url, &filename );
> > +    Nepomuk2::Resource res = Nepomuk2::splitNepomukUrl( url, &filename
> );
> >      if ( filename.isEmpty() &&
> > -         Nepomuk::willBeRedirected( res ) ) {
> > +         Nepomuk2::willBeRedirected( res ) ) {
> >          kDebug() << res.resourceUri() << "is tag or file system ->
> mimetype inode/directory";
> >          mimeType( QLatin1String( "inode/directory" ) );
> >          finished();
> >      }
> >      else {
> > -        if ( !Nepomuk::nepomukToFileUrl( url ).isEmpty() ) {
> > +        if ( !Nepomuk2::nepomukToFileUrl( url ).isEmpty() ) {
> >              ForwardingSlaveBase::mimetype( url );
> >          }
> >          else {
> > @@ -235,7 +235,7 @@ void Nepomuk::NepomukProtocol::mimetype( const KUrl&
> url )
> >  }
> >
> >
> > -void Nepomuk::NepomukProtocol::del(const KUrl& url, bool isFile)
> > +void Nepomuk2::NepomukProtocol::del(const KUrl& url, bool isFile)
> >  {
> >      if ( !ensureNepomukRunning() )
> >          return;
> > @@ -247,7 +247,7 @@ void Nepomuk::NepomukProtocol::del(const KUrl& url,
> bool isFile)
> >          ForwardingSlaveBase::del( url, isFile );
> >      }
> >      else {
> > -        Nepomuk::Resource res( url );
> > +        Nepomuk2::Resource res( url );
> >          if ( !res.exists() ) {
> >              error( KIO::ERR_DOES_NOT_EXIST, url.prettyUrl() );
> >          }
> > @@ -259,19 +259,19 @@ void Nepomuk::NepomukProtocol::del(const KUrl&
> url, bool isFile)
> >  }
> >
> >
> > -bool Nepomuk::NepomukProtocol::rewriteUrl( const KUrl& url, KUrl&
> newURL )
> > +bool Nepomuk2::NepomukProtocol::rewriteUrl( const KUrl& url, KUrl&
> newURL )
> >  {
> >      if ( noFollowSet( url ) )
> >          return false;
> >
> > -    newURL = Nepomuk::nepomukToFileUrl( url, m_currentOperation == Get
> );
> > +    newURL = Nepomuk2::nepomukToFileUrl( url, m_currentOperation == Get
> );
> >      return newURL.isValid();
> >  }
> >
> >
> > -bool Nepomuk::NepomukProtocol::ensureNepomukRunning()
> > +bool Nepomuk2::NepomukProtocol::ensureNepomukRunning()
> >  {
> > -    if ( Nepomuk::ResourceManager::instance()->init() ) {
> > +    if ( Nepomuk2::ResourceManager::instance()->init() ) {
> >          error( KIO::ERR_SLAVE_DEFINED, i18n( "The desktop search
> service is not activated. Unable to answer queries without it." ) );
> >          return false;
> >      }
> > @@ -295,7 +295,7 @@ extern "C"
> >              exit(-1);
> >          }
> >
> > -        Nepomuk::NepomukProtocol slave(argv[2], argv[3]);
> > +        Nepomuk2::NepomukProtocol slave(argv[2], argv[3]);
> >          slave.dispatchLoop();
> >
> >          return 0;
> > diff --git a/nepomuk/kioslaves/nepomuk/kio_nepomuk.h
> b/nepomuk/kioslaves/nepomuk/kio_nepomuk.h
> > index 1299f30..e4ed2b0 100644
> > --- a/nepomuk/kioslaves/nepomuk/kio_nepomuk.h
> > +++ b/nepomuk/kioslaves/nepomuk/kio_nepomuk.h
> > @@ -23,9 +23,9 @@
> >
> >  #include <kio/forwardingslavebase.h>
> >
> > -#include <Nepomuk/Resource>
> > +#include <Nepomuk2/Resource>
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >      class NepomukProtocol : public KIO::ForwardingSlaveBase
> >      {
> >      public:
> > diff --git a/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp
> b/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp
> > index da85d88..59c826c 100644
> > --- a/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp
> > +++ b/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp
> > @@ -31,14 +31,14 @@
> >  #include <kdeversion.h>
> >  #include <KUrl>
> >
> > -#include <nepomuk/file.h>
> > -#include <nepomuk/resourcemanager.h>
> > -#include <nepomuk/variant.h>
> > -#include <nepomuk/class.h>
> > -#include <nepomuk/property.h>
> > -#include <Nepomuk/Vocabulary/NIE>
> > -#include <Nepomuk/Vocabulary/NFO>
> > -#include <nepomuk/utils.h>
> > +#include <nepomuk2/file.h>
> > +#include <nepomuk2/resourcemanager.h>
> > +#include <nepomuk2/variant.h>
> > +#include <nepomuk2/class.h>
> > +#include <nepomuk2/property.h>
> > +#include <Nepomuk2/Vocabulary/NIE>
> > +#include <Nepomuk2/Vocabulary/NFO>
> > +#include <nepomuk2/utils.h>
> >
> >  #include <Soprano/Model>
> >  #include <Soprano/Node>
> > @@ -48,7 +48,7 @@
> >  #include <Soprano/Vocabulary/NAO>
> >
> >
> > -using namespace Nepomuk::Vocabulary;
> > +using namespace Nepomuk2::Vocabulary;
> >
> >  namespace {
> >      const char* s_noFollow = "noFollow";
> > @@ -56,7 +56,7 @@ namespace {
> >      const char* s_showNonUserVisibible = "showNonUserVisible";
> >      const char* s_true = "true";
> >
> > -    KUrl configureUrl( const KUrl& url,
> Nepomuk::ResourcePageGenerator::Flags flags ) {
> > +    KUrl configureUrl( const KUrl& url,
> Nepomuk2::ResourcePageGenerator::Flags flags ) {
> >          KUrl newUrl( url );
> >
> >          newUrl.removeEncodedQueryItem( s_noFollow );
> > @@ -65,12 +65,12 @@ namespace {
> >          }
> >
> >          newUrl.removeEncodedQueryItem( s_showUri );
> > -        if ( flags & Nepomuk::ResourcePageGenerator::ShowUris ) {
> > +        if ( flags & Nepomuk2::ResourcePageGenerator::ShowUris ) {
> >              newUrl.addEncodedQueryItem( s_showUri, s_true );
> >          }
> >
> >          newUrl.removeEncodedQueryItem( s_showNonUserVisibible );
> > -        if ( flags & Nepomuk::ResourcePageGenerator::ShowNonUserVisible
> ) {
> > +        if ( flags &
> Nepomuk2::ResourcePageGenerator::ShowNonUserVisible ) {
> >              newUrl.addEncodedQueryItem( s_showNonUserVisibible, s_true
> );
> >          }
> >
> > @@ -79,18 +79,18 @@ namespace {
> >  }
> >
> >
> > -Nepomuk::ResourcePageGenerator::ResourcePageGenerator( const
> Nepomuk::Resource& res )
> > +Nepomuk2::ResourcePageGenerator::ResourcePageGenerator( const
> Nepomuk2::Resource& res )
> >      : m_resource( res )
> >  {
> >  }
> >
> >
> > -Nepomuk::ResourcePageGenerator::~ResourcePageGenerator()
> > +Nepomuk2::ResourcePageGenerator::~ResourcePageGenerator()
> >  {
> >  }
> >
> >
> > -void Nepomuk::ResourcePageGenerator::setFlagsFromUrl( const KUrl& url )
> > +void Nepomuk2::ResourcePageGenerator::setFlagsFromUrl( const KUrl& url )
> >  {
> >      m_flags = NoFlags;
> >      if ( url.encodedQueryItemValue( s_showUri ) == s_true )
> > @@ -100,14 +100,14 @@ void
> Nepomuk::ResourcePageGenerator::setFlagsFromUrl( const KUrl& url )
> >  }
> >
> >
> > -KUrl Nepomuk::ResourcePageGenerator::url() const
> > +KUrl Nepomuk2::ResourcePageGenerator::url() const
> >  {
> >      return configureUrl( m_resource.resourceUri(), m_flags );
> >  }
> >
> >
> >  // TODO: create an html template rather than having it hardcoded here
> > -QByteArray Nepomuk::ResourcePageGenerator::generatePage() const
> > +QByteArray Nepomuk2::ResourcePageGenerator::generatePage() const
> >  {
> >      bool exists = m_resource.exists();
> >
> > @@ -198,11 +198,11 @@ QByteArray
> Nepomuk::ResourcePageGenerator::generatePage() const
> >      os << "<h1>" << label << "</h1>"
> >         << "Type: " << ( exists ? typesToHtml( m_resource.types() ) :
> i18n( "Resource does not exist" ) );
> >
> > -    if(m_resource.isFile() &&
> m_resource.hasType(Nepomuk::Vocabulary::NFO::Image())) {
> > +    if(m_resource.isFile() &&
> m_resource.hasType(Nepomuk2::Vocabulary::NFO::Image())) {
> >          os << "<img src=\"" << m_resource.resourceUri().toString() <<
> "\" />";
> >      }
> > -    else
> if(m_resource.hasProperty(Nepomuk::Vocabulary::NFO::depiction())) {
> > -        os << "<img src=\"" <<
> m_resource.property(Nepomuk::Vocabulary::NFO::depiction()).toUrlList().first().toString()
> << "\" />";
> > +    else
> if(m_resource.hasProperty(Nepomuk2::Vocabulary::NFO::depiction())) {
> > +        os << "<img src=\"" <<
> m_resource.property(Nepomuk2::Vocabulary::NFO::depiction()).toUrlList().first().toString()
> << "\" />";
> >      }
> >
> >      os << "<h2>" << i18n("Relations:") << "</h2><div
> id=\"relations\"><table>";
> > @@ -211,7 +211,7 @@ QByteArray
> Nepomuk::ResourcePageGenerator::generatePage() const
> >      Soprano::StatementIterator it =
> ResourceManager::instance()->mainModel()->listStatements(
> m_resource.resourceUri(), Soprano::Node(), Soprano::Node() );
> >      while ( it.next() ) {
> >          Soprano::Statement s = it.current();
> > -        Nepomuk::Types::Property p( s.predicate().uri() );
> > +        Nepomuk2::Types::Property p( s.predicate().uri() );
> >          if ( p != Soprano::Vocabulary::RDF::type() &&
> >               ((m_flags & ShowNonUserVisible) || p.userVisible())) {
> >              os << "<tr><td align=right><i>" << entityLabel( p ) <<
> "</i></td><td width=16px></td><td>";
> > @@ -226,7 +226,7 @@ QByteArray
> Nepomuk::ResourcePageGenerator::generatePage() const
> >                  //
> >                  KUrl uri = s.object().uri();
> >                  QString label = uri.fileName();
> > -                if ( s.predicate() != Nepomuk::Vocabulary::NIE::url() )
> {
> > +                if ( s.predicate() != Nepomuk2::Vocabulary::NIE::url()
> ) {
> >                      Resource resource( uri );
> >                      uri = resource.resourceUri();
> >                      label = QString::fromLatin1( "%1 (%2)" )
> > @@ -248,7 +248,7 @@ QByteArray
> Nepomuk::ResourcePageGenerator::generatePage() const
> >      while ( itb.next() ) {
> >          Soprano::Statement s = itb.current();
> >          Resource resource( s.subject().uri() );
> > -        Nepomuk::Types::Property p( s.predicate().uri() );
> > +        Nepomuk2::Types::Property p( s.predicate().uri() );
> >          if((m_flags & ShowNonUserVisible) || p.userVisible()) {
> >              os << "<td align=right>"
> >                 << QString( "<a href=\"%1\">%2</a> (%3)" )
> > @@ -274,7 +274,7 @@ QByteArray
> Nepomuk::ResourcePageGenerator::generatePage() const
> >  }
> >
> >
> > -QString Nepomuk::ResourcePageGenerator::resourceLabel( const Resource&
> res ) const
> > +QString Nepomuk2::ResourcePageGenerator::resourceLabel( const Resource&
> res ) const
> >  {
> >      if ( m_flags & ShowUris )
> >          return KUrl( res.resourceUri() ).prettyUrl();
> > @@ -283,7 +283,7 @@ QString
> Nepomuk::ResourcePageGenerator::resourceLabel( const Resource& res ) con
> >  }
> >
> >
> > -QString Nepomuk::ResourcePageGenerator::entityLabel( const
> Nepomuk::Types::Entity& e ) const
> > +QString Nepomuk2::ResourcePageGenerator::entityLabel( const
> Nepomuk2::Types::Entity& e ) const
> >  {
> >      if ( m_flags & ShowUris )
> >          return KUrl( e.uri() ).prettyUrl();
> > @@ -292,17 +292,17 @@ QString
> Nepomuk::ResourcePageGenerator::entityLabel( const Nepomuk::Types::Entit
> >  }
> >
> >
> > -QString Nepomuk::ResourcePageGenerator::typesToHtml( const QList<QUrl>&
> types ) const
> > +QString Nepomuk2::ResourcePageGenerator::typesToHtml( const
> QList<QUrl>& types ) const
> >  {
> > -    QList<Nepomuk::Types::Class> typeClasses;
> > +    QList<Nepomuk2::Types::Class> typeClasses;
> >      foreach( const QUrl& type, types ) {
> > -        typeClasses << Nepomuk::Types::Class( type );
> > +        typeClasses << Nepomuk2::Types::Class( type );
> >      }
> >
> >      // remove all types that are supertypes of others in the list
> > -    QList<Nepomuk::Types::Class> normalizedTypes;
> > +    QList<Nepomuk2::Types::Class> normalizedTypes;
> >      for ( int i = 0; i < typeClasses.count(); ++i ) {
> > -        Nepomuk::Types::Class& type = typeClasses[i];
> > +        Nepomuk2::Types::Class& type = typeClasses[i];
> >          bool use = true;
> >          for ( int j = 0; j < typeClasses.count(); ++j ) {
> >              if ( type != typeClasses[j] &&
> > @@ -329,13 +329,13 @@ QString
> Nepomuk::ResourcePageGenerator::typesToHtml( const QList<QUrl>& types )
> >  }
> >
> >
> > -QString Nepomuk::ResourcePageGenerator::encodeUrl( const QUrl& url )
> const
> > +QString Nepomuk2::ResourcePageGenerator::encodeUrl( const QUrl& url )
> const
> >  {
> >      return QString::fromAscii( configureUrl( url, m_flags ).toEncoded()
> );
> >  }
> >
> >
> > -QString Nepomuk::ResourcePageGenerator::createConfigureBoxHtml() const
> > +QString Nepomuk2::ResourcePageGenerator::createConfigureBoxHtml() const
> >  {
> >      QString html
> >          = QString::fromLatin1( "<div style=\"position:fixed;
> right:10px; top:10px; text-align:right;\"><a href=\"%1\">%2</a><br/><a
> href=\"%3\">%4</a></div>" )
> > @@ -347,12 +347,12 @@ QString
> Nepomuk::ResourcePageGenerator::createConfigureBoxHtml() const
> >      return html;
> >  }
> >
> > -QString Nepomuk::ResourcePageGenerator::formatLiteral(const
> Nepomuk::Types::Property &p, const Soprano::LiteralValue &value) const
> > +QString Nepomuk2::ResourcePageGenerator::formatLiteral(const
> Nepomuk2::Types::Property &p, const Soprano::LiteralValue &value) const
> >  {
> > -    return Nepomuk::Utils::formatPropertyValue(p,
> Nepomuk::Variant(value.variant()));
> > +    return Nepomuk2::Utils::formatPropertyValue(p,
> Nepomuk2::Variant(value.variant()));
> >  }
> >
> > -QString Nepomuk::ResourcePageGenerator::formatResource(const
> Nepomuk::Types::Property &p, const QUrl &uri_) const
> > +QString Nepomuk2::ResourcePageGenerator::formatResource(const
> Nepomuk2::Types::Property &p, const QUrl &uri_) const
> >  {
> >      //
> >      // nie:url is a special case for which we should never use Resource
> > diff --git a/nepomuk/kioslaves/nepomuk/resourcepagegenerator.h
> b/nepomuk/kioslaves/nepomuk/resourcepagegenerator.h
> > index 68e5c44..63f67e8 100644
> > --- a/nepomuk/kioslaves/nepomuk/resourcepagegenerator.h
> > +++ b/nepomuk/kioslaves/nepomuk/resourcepagegenerator.h
> > @@ -21,14 +21,14 @@
> >  #ifndef _RESOURCE_PAGE_GENERATOR_H_
> >  #define _RESOURCE_PAGE_GENERATOR_H_
> >
> > -#include <Nepomuk/Resource>
> > +#include <Nepomuk2/Resource>
> >
> >  #include <QtCore/QList>
> >  #include <KUrl>
> >
> >  class QByteArray;
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >      namespace Types {
> >          class Entity;
> >      }
> > @@ -36,7 +36,7 @@ namespace Nepomuk {
> >      class ResourcePageGenerator
> >      {
> >      public:
> > -        ResourcePageGenerator( const Nepomuk::Resource& res );
> > +        ResourcePageGenerator( const Nepomuk2::Resource& res );
> >          ~ResourcePageGenerator();
> >
> >          enum Flag {
> > @@ -61,18 +61,18 @@ namespace Nepomuk {
> >
> >      private:
> >          QString resourceLabel( const Resource& res ) const;
> > -        QString entityLabel( const Nepomuk::Types::Entity& e ) const;
> > +        QString entityLabel( const Nepomuk2::Types::Entity& e ) const;
> >          QString typesToHtml( const QList<QUrl>& types ) const;
> >          QString encodeUrl( const QUrl& u ) const;
> >          QString createConfigureBoxHtml() const;
> > -        QString formatLiteral(const Nepomuk::Types::Property& prop,
> const Soprano::LiteralValue &value) const;
> > -        QString formatResource(const Nepomuk::Types::Property& p, const
> QUrl &uri_) const;
> > +        QString formatLiteral(const Nepomuk2::Types::Property& prop,
> const Soprano::LiteralValue &value) const;
> > +        QString formatResource(const Nepomuk2::Types::Property& p,
> const QUrl &uri_) const;
> >
> > -        Nepomuk::Resource m_resource;
> > +        Nepomuk2::Resource m_resource;
> >          Flags m_flags;
> >      };
> >  }
> >
> > -Q_DECLARE_OPERATORS_FOR_FLAGS( Nepomuk::ResourcePageGenerator::Flags )
> > +Q_DECLARE_OPERATORS_FOR_FLAGS( Nepomuk2::ResourcePageGenerator::Flags )
> >
> >  #endif
> > diff --git a/nepomuk/kioslaves/search/CMakeLists.txt
> b/nepomuk/kioslaves/search/CMakeLists.txt
> > index dd12acf..cc231e5 100644
> > --- a/nepomuk/kioslaves/search/CMakeLists.txt
> > +++ b/nepomuk/kioslaves/search/CMakeLists.txt
> > @@ -9,7 +9,7 @@ include_directories(
> >    ${KDE4_INCLUDES}
> >    ${KDE4_KIO_INCLUDES}
> >    ${SOPRANO_INCLUDE_DIR}
> > -  ${NEPOMUK_INCLUDE_DIR}
> > +  ${NEPOMUK_CORE_INCLUDE_DIR}
> >    ${CMAKE_CURRENT_BINARY_DIR}
> >    ${nepomuk_kio_slaves_SOURCE_DIR}/common
> >  )
> > @@ -22,7 +22,7 @@ set(kio_nepomuksearch_PART_SRCS
> >    ../common/resourcestat.cpp
> >  )
> >
> > -soprano_add_ontology(kio_nepomuksearch_PART_SRCS
> ${nepomuk_ontologies_SOURCE_DIR}/kext.trig "KExt" "Nepomuk::Vocabulary"
> "trig")
> > +soprano_add_ontology(kio_nepomuksearch_PART_SRCS
> ${NEPOMUK_CORE_ONTOLOGY_DIR}/kde/kext.trig "KExt" "Nepomuk2::Vocabulary"
> "trig")
> >
> >  kde4_add_plugin(kio_nepomuksearch
> >    ${kio_nepomuksearch_PART_SRCS})
> > @@ -31,8 +31,7 @@ target_link_libraries(kio_nepomuksearch
> >    nepomukcommon
> >    ${KDE4_KIO_LIBS}
> >    ${KDE4_SOLID_LIBS}
> > -  ${NEPOMUK_LIBRARIES}
> > -  ${NEPOMUK_QUERY_LIBRARIES}
> > +  ${NEPOMUK_CORE_LIBRARIES}
> >    ${SOPRANO_LIBRARIES}
> >    )
> >
> > diff --git a/nepomuk/kioslaves/search/kdedmodule/CMakeLists.txt
> b/nepomuk/kioslaves/search/kdedmodule/CMakeLists.txt
> > index 807dc0c..1c241be 100644
> > --- a/nepomuk/kioslaves/search/kdedmodule/CMakeLists.txt
> > +++ b/nepomuk/kioslaves/search/kdedmodule/CMakeLists.txt
> > @@ -1,7 +1,7 @@
> >  include_directories(
> >    ${QT_INCLUDES}
> >    ${KDE4_INCLUDES}
> > -  ${NEPOMUK_INCLUDE_DIR}
> > +  ${NEPOMUK_CORE_INCLUDE_DIR}
> >    ${nepomuk_kio_slaves_SOURCE_DIR}/common
> >  )
> >
> > @@ -14,30 +14,30 @@ set(nepomuksearchmodule_SRCS
> >    ../../common/timelinetools.cpp
> >  )
> >
> > -soprano_add_ontology(nepomuksearchmodule_SRCS
> ${nepomuk_ontologies_SOURCE_DIR}/kext.trig "KExt" "Nepomuk::Vocabulary"
> "trig")
> > +soprano_add_ontology(nepomuksearchmodule_SRCS
> ${NEPOMUK_CORE_ONTOLOGY_DIR}/kde/kext.trig "KExt" "Nepomuk2::Vocabulary"
> "trig")
> >
> > -set_source_files_properties(
> > -
>  ${nepomuk_kio_slaves_SOURCE_DIR}/../interfaces/org.kde.nepomuk.Query.xml
> > -  PROPERTIES INCLUDE "nepomuk/result.h")
> > -set_source_files_properties(
> > -
>  ${nepomuk_kio_slaves_SOURCE_DIR}/../interfaces/org.kde.nepomuk.QueryService.xml
> > -  PROPERTIES INCLUDE "dbusoperators_p.h")
> > +#set_source_files_properties(
> > +#  ${NEPOMUK_CORE_DBUS_INTERFACE_DIR}/org.kde.nepomuk.Query.xml
> > +#  PROPERTIES INCLUDE "nepomuk2/result.h")
> >
> > -qt4_add_dbus_interface(nepomuksearchmodule_SRCS
> > -
>  ${nepomuk_kio_slaves_SOURCE_DIR}/../interfaces/org.kde.nepomuk.QueryService.xml
> > -  queryserviceinterface)
> > -qt4_add_dbus_interface(nepomuksearchmodule_SRCS
> > -
>  ${nepomuk_kio_slaves_SOURCE_DIR}/../interfaces/org.kde.nepomuk.Query.xml
> > -  queryinterface)
> > +#set_source_files_properties(
> > +#  ${NEPOMUK_CORE_DBUS_INTERFACE_DIR}/org.kde.nepomuk.QueryService.xml
> > +#  PROPERTIES INCLUDE "dbusoperators_p.h")
> > +
> > +#qt4_add_dbus_interface(nepomuksearchmodule_SRCS
> > +#  ${NEPOMUK_CORE_DBUS_INTERFACE_DIR}/org.kde.nepomuk.QueryService.xml
> > +#  queryserviceinterface)
> > +#qt4_add_dbus_interface(nepomuksearchmodule_SRCS
> > +#  ${NEPOMUK_CORE_DBUS_INTERFACE_DIR}/org.kde.nepomuk.Query.xml
> > +#  queryinterface)
> >
> >  kde4_add_plugin(kded_nepomuksearchmodule ${nepomuksearchmodule_SRCS})
> >
> > -target_link_libraries(kded_nepomuksearchmodule
> > +target_link_libraries(kded_nepomuksearchmodule
> >    nepomukcommon
> >    ${KDE4_KDECORE_LIBS}
> >    ${KDE4_KIO_LIBS}
> > -  ${NEPOMUK_LIBRARIES}
> > -  ${NEPOMUK_QUERY_LIBRARIES}
> > +  ${NEPOMUK_CORE_LIBRARIES}
> >    ${SOPRANO_LIBRARIES}
> >  )
> >
> > diff --git a/nepomuk/kioslaves/search/kdedmodule/dbusoperators_p.h
> b/nepomuk/kioslaves/search/kdedmodule/dbusoperators_p.h
> > index 62f19e9..ea06487 100644
> > --- a/nepomuk/kioslaves/search/kdedmodule/dbusoperators_p.h
> > +++ b/nepomuk/kioslaves/search/kdedmodule/dbusoperators_p.h
> > @@ -23,18 +23,18 @@
> >
> >  #include <QtDBus/QDBusArgument>
> >
> > -#include <nepomuk/result.h>
> > -#include <nepomuk/query.h>
> > -#include <nepomuk/term.h>
> > -#include <nepomuk/nepomukquery_export.h>
> > +#include <nepomuk2/result.h>
> > +#include <nepomuk2/query.h>
> > +#include <nepomuk2/term.h>
> > +#include <nepomuk2/nepomuk_export.h>
> >
> > -Q_DECLARE_METATYPE(Nepomuk::Query::Result)
> > +Q_DECLARE_METATYPE(Nepomuk2::Query::Result)
> >  Q_DECLARE_METATYPE(Soprano::Node)
> > -Q_DECLARE_METATYPE(QList<Nepomuk::Query::Result>)
> > +Q_DECLARE_METATYPE(QList<Nepomuk2::Query::Result>)
> >  typedef QHash<QString, QString> RequestPropertyMapDBus;
> >  Q_DECLARE_METATYPE( RequestPropertyMapDBus )
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >      namespace Query {
> >          /**
> >           * Register the DBus types necessary for communication with the
> Nepomuk
> > @@ -46,10 +46,10 @@ namespace Nepomuk {
> >  }
> >
> >  // We export the non-public operators so that we do not need duplicated
> code in kdebase
> > -NEPOMUKQUERY_EXPORT QDBusArgument& operator<<( QDBusArgument& arg,
> const Soprano::Node& );
> > -NEPOMUKQUERY_EXPORT const QDBusArgument& operator>>( const
> QDBusArgument& arg, Soprano::Node& );
> > +NEPOMUK_EXPORT QDBusArgument& operator<<( QDBusArgument& arg, const
> Soprano::Node& );
> > +NEPOMUK_EXPORT const QDBusArgument& operator>>( const QDBusArgument&
> arg, Soprano::Node& );
> >
> > -NEPOMUKQUERY_EXPORT QDBusArgument& operator<<( QDBusArgument& arg,
> const Nepomuk::Query::Result& );
> > -NEPOMUKQUERY_EXPORT const QDBusArgument& operator>>( const
> QDBusArgument& arg, Nepomuk::Query::Result& );
> > +NEPOMUK_EXPORT QDBusArgument& operator<<( QDBusArgument& arg, const
> Nepomuk2::Query::Result& );
> > +NEPOMUK_EXPORT const QDBusArgument& operator>>( const QDBusArgument&
> arg, Nepomuk2::Query::Result& );
> >
> >  #endif
> > diff --git a/nepomuk/kioslaves/search/kdedmodule/nepomuksearchmodule.cpp
> b/nepomuk/kioslaves/search/kdedmodule/nepomuksearchmodule.cpp
> > index 56764fc..a319f84 100644
> > --- a/nepomuk/kioslaves/search/kdedmodule/nepomuksearchmodule.cpp
> > +++ b/nepomuk/kioslaves/search/kdedmodule/nepomuksearchmodule.cpp
> > @@ -25,7 +25,7 @@
> >  #include <QtDBus/QDBusConnection>
> >  #include <QtDBus/QDBusServiceWatcher>
> >
> > -#include <Nepomuk/Vocabulary/NIE>
> > +#include <Nepomuk2/Vocabulary/NIE>
> >
> >  #include <kdebug.h>
> >  #include <kdirnotify.h>
> > @@ -50,12 +50,12 @@ namespace {
> >  }
> >
> >
> > -Nepomuk::SearchModule::SearchModule( QObject* parent, const
> QList<QVariant>& )
> > +Nepomuk2::SearchModule::SearchModule( QObject* parent, const
> QList<QVariant>& )
> >      : KDEDModule( parent )
> >  {
> >      kDebug();
> >
> > -    Nepomuk::Query::registerDBusTypes();
> > +    Nepomuk2::Query::registerDBusTypes();
> >
> >      //
> >      // connect to serviceOwnerChanged to catch crashed clients that
> never unregistered
> > @@ -86,13 +86,13 @@ Nepomuk::SearchModule::SearchModule( QObject*
> parent, const QList<QVariant>& )
> >  }
> >
> >
> > -Nepomuk::SearchModule::~SearchModule()
> > +Nepomuk2::SearchModule::~SearchModule()
> >  {
> >      kDebug();
> >  }
> >
> >
> > -void Nepomuk::SearchModule::registerSearchUrl( const QString& urlString
> )
> > +void Nepomuk2::SearchModule::registerSearchUrl( const QString&
> urlString )
> >  {
> >      const KUrl url( urlString );
> >      KUrl queryUrl;
> > @@ -102,8 +102,8 @@ void Nepomuk::SearchModule::registerSearchUrl( const
> QString& urlString )
> >      }
> >      else if ( isTimelineUrl( url ) ) {
> >          QDate date;
> > -        if ( Nepomuk::parseTimelineUrl( url, &date ) ==
> Nepomuk::DayFolder )
> > -            queryUrl = Nepomuk::buildTimelineQuery( date
> ).toSearchUrl();
> > +        if ( Nepomuk2::parseTimelineUrl( url, &date ) ==
> Nepomuk2::DayFolder )
> > +            queryUrl = Nepomuk2::buildTimelineQuery( date
> ).toSearchUrl();
> >      }
> >
> >      if ( queryUrl.isValid() ) {
> > @@ -126,7 +126,7 @@ void Nepomuk::SearchModule::registerSearchUrl( const
> QString& urlString )
> >  }
> >
> >
> > -void Nepomuk::SearchModule::unregisterSearchUrl( const QString&
> urlString )
> > +void Nepomuk2::SearchModule::unregisterSearchUrl( const QString&
> urlString )
> >  {
> >      const KUrl url( urlString );
> >      if ( isNepomukSearchOrTimelineUrl( url ) ) {
> > @@ -141,13 +141,13 @@ void Nepomuk::SearchModule::unregisterSearchUrl(
> const QString& urlString )
> >  }
> >
> >
> > -QStringList Nepomuk::SearchModule::watchedSearchUrls()
> > +QStringList Nepomuk2::SearchModule::watchedSearchUrls()
> >  {
> >      return KUrl::List( m_queryHash.keys() ).toStringList();
> >  }
> >
> >
> > -void Nepomuk::SearchModule::slotServiceUnregistered( const QString&
> serviceName )
> > +void Nepomuk2::SearchModule::slotServiceUnregistered( const QString&
> serviceName )
> >  {
> >      QHash<QString, KUrl>::iterator it = m_dbusServiceUrlHash.find(
> serviceName );
> >      while ( it != m_dbusServiceUrlHash.end() ) {
> > @@ -159,7 +159,7 @@ void Nepomuk::SearchModule::slotServiceUnregistered(
> const QString& serviceName
> >  }
> >
> >
> > -void Nepomuk::SearchModule::unrefUrl( const KUrl& url )
> > +void Nepomuk2::SearchModule::unrefUrl( const KUrl& url )
> >  {
> >      QHash<KUrl, SearchUrlListener*>::iterator it = m_queryHash.find(
> url );
> >      if ( it != m_queryHash.end() ) {
> > @@ -174,7 +174,7 @@ void Nepomuk::SearchModule::unrefUrl( const KUrl&
> url )
> >  #include <kpluginloader.h>
> >
> >  K_PLUGIN_FACTORY(NepomukSearchModuleFactory,
> > -                 registerPlugin<Nepomuk::SearchModule>();
> > +                 registerPlugin<Nepomuk2::SearchModule>();
> >      )
> >  K_EXPORT_PLUGIN(NepomukSearchModuleFactory("nepomuksearchmodule"))
> >
> > diff --git a/nepomuk/kioslaves/search/kdedmodule/nepomuksearchmodule.h
> b/nepomuk/kioslaves/search/kdedmodule/nepomuksearchmodule.h
> > index 97f005d..a19b23c 100644
> > --- a/nepomuk/kioslaves/search/kdedmodule/nepomuksearchmodule.h
> > +++ b/nepomuk/kioslaves/search/kdedmodule/nepomuksearchmodule.h
> > @@ -28,7 +28,7 @@
> >
> >  class QDBusServiceWatcher;
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >
> >      class SearchUrlListener;
> >
> > diff --git a/nepomuk/kioslaves/search/kdedmodule/searchurllistener.cpp
> b/nepomuk/kioslaves/search/kdedmodule/searchurllistener.cpp
> > index 2333e38..c260485 100644
> > --- a/nepomuk/kioslaves/search/kdedmodule/searchurllistener.cpp
> > +++ b/nepomuk/kioslaves/search/kdedmodule/searchurllistener.cpp
> > @@ -25,9 +25,9 @@
> >
> >  #include <kdirnotify.h>
> >  #include <kdebug.h>
> > -#include <nepomuk/result.h>
> > -#include <nepomuk/query.h>
> > -#include <nepomuk/resource.h>
> > +#include <Nepomuk2/Result/Result>
> > +#include <Nepomuk2/Query/Query>
> > +#include <Nepomuk2/Resource>
> >
> >  #include <QtCore/QHash>
> >  #include <QtDBus/QDBusConnection>
> > @@ -37,7 +37,7 @@
> >  #include <Soprano/BindingSet>
> >
> >
> > -Nepomuk::SearchUrlListener::SearchUrlListener( const KUrl& queryUrl,
> const KUrl& notifyUrl )
> > +Nepomuk2::SearchUrlListener::SearchUrlListener( const KUrl& queryUrl,
> const KUrl& notifyUrl )
> >      : QObject( 0 ),
> >        m_ref( 0 ),
> >        m_queryUrl( queryUrl ),
> > @@ -67,7 +67,7 @@ Nepomuk::SearchUrlListener::SearchUrlListener( const
> KUrl& queryUrl, const KUrl&
> >  }
> >
> >
> > -Nepomuk::SearchUrlListener::~SearchUrlListener()
> > +Nepomuk2::SearchUrlListener::~SearchUrlListener()
> >  {
> >      kDebug() << m_queryUrl;
> >
> > @@ -77,35 +77,35 @@ Nepomuk::SearchUrlListener::~SearchUrlListener()
> >  }
> >
> >
> > -int Nepomuk::SearchUrlListener::ref()
> > +int Nepomuk2::SearchUrlListener::ref()
> >  {
> >      return ++m_ref;
> >  }
> >
> >
> > -int Nepomuk::SearchUrlListener::unref()
> > +int Nepomuk2::SearchUrlListener::unref()
> >  {
> >      return --m_ref;
> >  }
> >
> >
> > -void Nepomuk::SearchUrlListener::slotNewEntries( const
> QList<Nepomuk::Query::Result>& )
> > +void Nepomuk2::SearchUrlListener::slotNewEntries( const
> QList<Nepomuk2::Query::Result>& )
> >  {
> >      org::kde::KDirNotify::emitFilesAdded( m_notifyUrl.url() );
> >  }
> >
> >
> > -void Nepomuk::SearchUrlListener::slotEntriesRemoved( const
> QList<Nepomuk::Query::Result>& entries )
> > +void Nepomuk2::SearchUrlListener::slotEntriesRemoved( const
> QList<Nepomuk2::Query::Result>& entries )
> >  {
> >      QStringList urls;
> >      foreach( const Query::Result& result, entries ) {
> >          // make sure we use the exact same name used in searchfolder.cpp
> >          KUrl url( result.resource().resourceUri() );
> > -        if(
> result.requestProperties().contains(Nepomuk::Vocabulary::NIE::url()) )
> > -            url = result[Nepomuk::Vocabulary::NIE::url()].uri();
> > +        if(
> result.requestProperties().contains(Nepomuk2::Vocabulary::NIE::url()) )
> > +            url = result[Nepomuk2::Vocabulary::NIE::url()].uri();
> >
> >          KUrl resultUrl( m_notifyUrl );
> > -        resultUrl.addPath( Nepomuk::resourceUriToUdsName( url ) );
> > +        resultUrl.addPath( Nepomuk2::resourceUriToUdsName( url ) );
> >          urls << resultUrl.url();
> >      }
> >      kDebug() << urls;
> > @@ -113,7 +113,7 @@ void Nepomuk::SearchUrlListener::slotEntriesRemoved(
> const QList<Nepomuk::Query:
> >  }
> >
> >
> > -void Nepomuk::SearchUrlListener::slotQueryServiceInitialized( bool
> success )
> > +void Nepomuk2::SearchUrlListener::slotQueryServiceInitialized( bool
> success )
> >  {
> >      kDebug() << m_queryUrl << success;
> >
> > @@ -127,7 +127,7 @@ void
> Nepomuk::SearchUrlListener::slotQueryServiceInitialized( bool success )
> >  }
> >
> >
> > -void Nepomuk::SearchUrlListener::createInterface()
> > +void Nepomuk2::SearchUrlListener::createInterface()
> >  {
> >      kDebug() << m_queryUrl;
> >
> > @@ -156,10 +156,10 @@ void Nepomuk::SearchUrlListener::createInterface()
> >          m_queryInterface = new org::kde::nepomuk::Query( queryService,
> >
> r.value().path(),
> >
> QDBusConnection::sessionBus() );
> > -        connect( m_queryInterface, SIGNAL( newEntries(
> QList<Nepomuk::Query::Result> ) ),
> > -                 this, SLOT( slotNewEntries(
> QList<Nepomuk::Query::Result> ) ) );
> > -        connect( m_queryInterface, SIGNAL( entriesRemoved(
> QList<Nepomuk::Query::Result> ) ),
> > -                 this, SLOT( slotEntriesRemoved(
> QList<Nepomuk::Query::Result> ) ) );
> > +        connect( m_queryInterface, SIGNAL( newEntries(
> QList<Nepomuk2::Query::Result> ) ),
> > +                 this, SLOT( slotNewEntries(
> QList<Nepomuk2::Query::Result> ) ) );
> > +        connect( m_queryInterface, SIGNAL( entriesRemoved(
> QList<Nepomuk2::Query::Result> ) ),
> > +                 this, SLOT( slotEntriesRemoved(
> QList<Nepomuk2::Query::Result> ) ) );
> >          m_queryInterface->listen();
> >      }
> >  }
> > diff --git a/nepomuk/kioslaves/search/kdedmodule/searchurllistener.h
> b/nepomuk/kioslaves/search/kdedmodule/searchurllistener.h
> > index ba2d3bc..8d9aa29 100644
> > --- a/nepomuk/kioslaves/search/kdedmodule/searchurllistener.h
> > +++ b/nepomuk/kioslaves/search/kdedmodule/searchurllistener.h
> > @@ -25,12 +25,12 @@
> >  #include <QtDBus/QDBusObjectPath>
> >
> >  #include <kurl.h>
> > -#include <nepomuk/result.h>
> > +#include <nepomuk2/result.h>
> >
> >  #include "queryinterface.h"
> >
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >      class SearchUrlListener : public QObject
> >      {
> >          Q_OBJECT
> > @@ -46,8 +46,8 @@ namespace Nepomuk {
> >          KUrl notificationUrl() const { return m_notifyUrl; }
> >
> >      private Q_SLOTS:
> > -        void slotNewEntries( const QList<Nepomuk::Query::Result>&
> entries );
> > -        void slotEntriesRemoved( const QList<Nepomuk::Query::Result>&
> entries );
> > +        void slotNewEntries( const QList<Nepomuk2::Query::Result>&
> entries );
> > +        void slotEntriesRemoved( const QList<Nepomuk2::Query::Result>&
> entries );
> >          void slotQueryServiceInitialized( bool success );
> >
> >      private:
> > diff --git a/nepomuk/kioslaves/search/kio_nepomuksearch.cpp
> b/nepomuk/kioslaves/search/kio_nepomuksearch.cpp
> > index e26dd84..38894be 100644
> > --- a/nepomuk/kioslaves/search/kio_nepomuksearch.cpp
> > +++ b/nepomuk/kioslaves/search/kio_nepomuksearch.cpp
> > @@ -37,24 +37,24 @@
> >  #include <KStandardDirs>
> >  #include <KFileItem>
> >
> > -#include <Nepomuk/Thing>
> > -#include <Nepomuk/ResourceManager>
> > -#include <Nepomuk/Variant>
> > -#include <Nepomuk/Query/QueryServiceClient>
> > -#include <Nepomuk/Query/ComparisonTerm>
> > -#include <Nepomuk/Query/ResourceTypeTerm>
> > -#include <Nepomuk/Query/AndTerm>
> > -#include <Nepomuk/Query/NegationTerm>
> > -#include <Nepomuk/Query/Query>
> > +#include <Nepomuk2/Thing>
> > +#include <Nepomuk2/ResourceManager>
> > +#include <Nepomuk2/Variant>
> > +#include <Nepomuk2/Query/QueryServiceClient>
> > +#include <Nepomuk2/Query/ComparisonTerm>
> > +#include <Nepomuk2/Query/ResourceTypeTerm>
> > +#include <Nepomuk2/Query/AndTerm>
> > +#include <Nepomuk2/Query/NegationTerm>
> > +#include <Nepomuk2/Query/Query>
> >
> >  #include <Soprano/Vocabulary/RDF>
> >  #include <Soprano/Vocabulary/RDFS>
> >  #include <Soprano/Vocabulary/NRL>
> >  #include <Soprano/Vocabulary/NAO>
> >  #include <Soprano/Vocabulary/XMLSchema>
> > -#include <Nepomuk/Vocabulary/NFO>
> > -#include <Nepomuk/Vocabulary/NIE>
> > -#include <Nepomuk/Vocabulary/PIMO>
> > +#include <Nepomuk2/Vocabulary/NFO>
> > +#include <Nepomuk2/Vocabulary/NIE>
> > +#include <Nepomuk2/Vocabulary/PIMO>
> >
> >  #include <sys/types.h>
> >  #include <unistd.h>
> > @@ -69,12 +69,12 @@ namespace {
> >          uds.insert( KIO::UDSEntry::UDS_MIME_TYPE, QString::fromLatin1(
> "inode/directory" ) );
> >          uds.insert( KIO::UDSEntry::UDS_ICON_OVERLAY_NAMES,
> QLatin1String( "nepomuk" ) );
> >          uds.insert( KIO::UDSEntry::UDS_DISPLAY_TYPE, i18n( "Query
> folder" ) );
> > -        uds.insert( KIO::UDSEntry::UDS_NAME,
> Nepomuk::Query::Query::titleFromQueryUrl( url ) );
> > -        uds.insert( KIO::UDSEntry::UDS_DISPLAY_NAME,
> Nepomuk::Query::Query::titleFromQueryUrl( url ) );
> > +        uds.insert( KIO::UDSEntry::UDS_NAME,
> Nepomuk2::Query::Query::titleFromQueryUrl( url ) );
> > +        uds.insert( KIO::UDSEntry::UDS_DISPLAY_NAME,
> Nepomuk2::Query::Query::titleFromQueryUrl( url ) );
> >          if ( url.hasQueryItem( QLatin1String( "resource" ) ) ) {
> > -            Nepomuk::addGenericNepomukResourceData( Nepomuk::Resource(
> KUrl( url.queryItemValue( QLatin1String( "resource" ) ) ) ), uds );
> > +            Nepomuk2::addGenericNepomukResourceData(
> Nepomuk2::Resource( KUrl( url.queryItemValue( QLatin1String( "resource" ) )
> ) ), uds );
> >          }
> > -        Nepomuk::Query::Query query =
> Nepomuk::Query::Query::fromQueryUrl( url );
> > +        Nepomuk2::Query::Query query =
> Nepomuk2::Query::Query::fromQueryUrl( url );
> >          if ( query.isValid() )
> >              uds.insert( KIO::UDSEntry::UDS_NEPOMUK_QUERY,
> query.toString() );
> >          return uds;
> > @@ -102,23 +102,23 @@ namespace {
> >      }
> >
> >      KUrl convertLegacyQueryUrl( const KUrl& url ) {
> > -        KUrl newUrl(QLatin1String("nepomuksearch:/") +
> Nepomuk::Query::Query::titleFromQueryUrl(url));
> > -        Nepomuk::Query::Query query =
> Nepomuk::Query::Query::fromQueryUrl(url);
> > +        KUrl newUrl(QLatin1String("nepomuksearch:/") +
> Nepomuk2::Query::Query::titleFromQueryUrl(url));
> > +        Nepomuk2::Query::Query query =
> Nepomuk2::Query::Query::fromQueryUrl(url);
> >          if(query.isValid())
> >              newUrl.addQueryItem(QLatin1String("encodedquery"),
> query.toString());
> >          else
> > -            newUrl.addQueryItem(QLatin1String("sparql"),
> Nepomuk::Query::Query::sparqlFromQueryUrl(url));
> > +            newUrl.addQueryItem(QLatin1String("sparql"),
> Nepomuk2::Query::Query::sparqlFromQueryUrl(url));
> >          return newUrl;
> >      }
> >
> > -    Nepomuk::Query::Query rootQuery() {
> > +    Nepomuk2::Query::Query rootQuery() {
> >          KConfig config( "kio_nepomuksearchrc" );
> >          QString queryStr = config.group( "General" ).readEntry( "Root
> query", QString() );
> > -        Nepomuk::Query::Query query;
> > +        Nepomuk2::Query::Query query;
> >          if ( queryStr.isEmpty() )
> > -            query = Nepomuk::lastModifiedFilesQuery();
> > +            query = Nepomuk2::lastModifiedFilesQuery();
> >          else
> > -            query = Nepomuk::Query::Query::fromString( queryStr );
> > +            query = Nepomuk2::Query::Query::fromString( queryStr );
> >          query.setLimit( config.group( "General" ).readEntry( "Root
> query limit", 10 ) );
> >          return query;
> >      }
> > @@ -126,26 +126,26 @@ namespace {
> >  }
> >
> >
> > -Nepomuk::SearchProtocol::SearchProtocol( const QByteArray& poolSocket,
> const QByteArray& appSocket )
> > +Nepomuk2::SearchProtocol::SearchProtocol( const QByteArray& poolSocket,
> const QByteArray& appSocket )
> >      : KIO::ForwardingSlaveBase( "nepomuksearch", poolSocket, appSocket )
> >  {
> >  }
> >
> >
> > -Nepomuk::SearchProtocol::~SearchProtocol()
> > +Nepomuk2::SearchProtocol::~SearchProtocol()
> >  {
> >  }
> >
> >
> > -bool Nepomuk::SearchProtocol::ensureNepomukRunning( bool emitError )
> > +bool Nepomuk2::SearchProtocol::ensureNepomukRunning( bool emitError )
> >  {
> > -    if ( Nepomuk::ResourceManager::instance()->init() ) {
> > +    if ( Nepomuk2::ResourceManager::instance()->init() ) {
> >          kDebug() << "Failed to init Nepomuk";
> >          if ( emitError )
> >              error( KIO::ERR_SLAVE_DEFINED, i18n( "The desktop search
> service is not activated. Unable to answer queries without it." ) );
> >          return false;
> >      }
> > -    else if ( !Nepomuk::Query::QueryServiceClient::serviceAvailable() )
> {
> > +    else if ( !Nepomuk2::Query::QueryServiceClient::serviceAvailable()
> ) {
> >          kDebug() << "Nepomuk Query service is not running.";
> >          if ( emitError )
> >              error( KIO::ERR_SLAVE_DEFINED, i18n( "The desktop search
> query service is not running. Unable to answer queries without it." ) );
> > @@ -157,7 +157,7 @@ bool Nepomuk::SearchProtocol::ensureNepomukRunning(
> bool emitError )
> >  }
> >
> >
> > -void Nepomuk::SearchProtocol::listDir( const KUrl& url )
> > +void Nepomuk2::SearchProtocol::listDir( const KUrl& url )
> >  {
> >      kDebug() << url;
> >
> > @@ -197,7 +197,7 @@ void Nepomuk::SearchProtocol::listDir( const KUrl&
> url )
> >  }
> >
> >
> > -void Nepomuk::SearchProtocol::get( const KUrl& url )
> > +void Nepomuk2::SearchProtocol::get( const KUrl& url )
> >  {
> >      kDebug() << url;
> >
> > @@ -208,7 +208,7 @@ void Nepomuk::SearchProtocol::get( const KUrl& url )
> >  }
> >
> >
> > -void Nepomuk::SearchProtocol::put( const KUrl& url, int permissions,
> KIO::JobFlags flags )
> > +void Nepomuk2::SearchProtocol::put( const KUrl& url, int permissions,
> KIO::JobFlags flags )
> >  {
> >      kDebug() << url << permissions << flags;
> >
> > @@ -220,7 +220,7 @@ void Nepomuk::SearchProtocol::put( const KUrl& url,
> int permissions, KIO::JobFla
> >  }
> >
> >
> > -void Nepomuk::SearchProtocol::mimetype( const KUrl& url )
> > +void Nepomuk2::SearchProtocol::mimetype( const KUrl& url )
> >  {
> >      kDebug() << url;
> >
> > @@ -246,7 +246,7 @@ void Nepomuk::SearchProtocol::mimetype( const KUrl&
> url )
> >  }
> >
> >
> > -void Nepomuk::SearchProtocol::stat( const KUrl& url )
> > +void Nepomuk2::SearchProtocol::stat( const KUrl& url )
> >  {
> >      kDebug() << url;
> >
> > @@ -283,22 +283,22 @@ void Nepomuk::SearchProtocol::stat( const KUrl&
> url )
> >  }
> >
> >
> > -void Nepomuk::SearchProtocol::del(const KUrl& url, bool isFile)
> > +void Nepomuk2::SearchProtocol::del(const KUrl& url, bool isFile)
> >  {
> >      ForwardingSlaveBase::del( url, isFile );
> >  }
> >
> >
> > -bool Nepomuk::SearchProtocol::rewriteUrl( const KUrl& url, KUrl& newURL
> )
> > +bool Nepomuk2::SearchProtocol::rewriteUrl( const KUrl& url, KUrl&
> newURL )
> >  {
> >      // we do it the speedy but slightly umpf way: decode the encoded
> URI from the filename
> > -    newURL = Nepomuk::udsNameToResourceUri( url.fileName() );
> > +    newURL = Nepomuk2::udsNameToResourceUri( url.fileName() );
> >      kDebug() << "URL:" << url << "NEW URL:" << newURL <<
> newURL.protocol() << newURL.path() << newURL.fileName();
> >      return !newURL.isEmpty();
> >  }
> >
> >
> > -void Nepomuk::SearchProtocol::prepareUDSEntry( KIO::UDSEntry& uds, bool
> listing ) const
> > +void Nepomuk2::SearchProtocol::prepareUDSEntry( KIO::UDSEntry& uds,
> bool listing ) const
> >  {
> >      // do nothing - we do everything in SearchFolder::statResult
> >      Q_UNUSED(uds);
> > @@ -306,7 +306,7 @@ void Nepomuk::SearchProtocol::prepareUDSEntry(
> KIO::UDSEntry& uds, bool listing
> >  }
> >
> >
> > -void Nepomuk::SearchProtocol::listRoot()
> > +void Nepomuk2::SearchProtocol::listRoot()
> >  {
> >      kDebug();
> >
> > @@ -323,13 +323,13 @@ void Nepomuk::SearchProtocol::listRoot()
> >  }
> >
> >
> > -Nepomuk::SearchFolder* Nepomuk::SearchProtocol::getQueryFolder( const
> KUrl& url )
> > +Nepomuk2::SearchFolder* Nepomuk2::SearchProtocol::getQueryFolder( const
> KUrl& url )
> >  {
> >      return new SearchFolder( url, this );
> >  }
> >
> >
> > -void Nepomuk::SearchProtocol::updateQueryUrlHistory( const KUrl& url )
> > +void Nepomuk2::SearchProtocol::updateQueryUrlHistory( const KUrl& url )
> >  {
> >      //
> >      // if the url is already in the history update its timestamp
> > @@ -387,7 +387,7 @@ extern "C"
> >
> >          kDebug(7102) << "Starting nepomuksearch slave " << getpid();
> >
> > -        Nepomuk::SearchProtocol slave( argv[2], argv[3] );
> > +        Nepomuk2::SearchProtocol slave( argv[2], argv[3] );
> >          slave.dispatchLoop();
> >
> >          kDebug(7102) << "Nepomuksearch slave Done";
> > @@ -398,7 +398,7 @@ extern "C"
> >
> >
> >  #if 0
> > -void Nepomuk::SearchProtocol::listUserQueries()
> > +void Nepomuk2::SearchProtocol::listUserQueries()
> >  {
> >      UserQueryUrlList userQueries;
> >      Q_FOREACH( const KUrl& url, userQueries ) {
> > @@ -407,7 +407,7 @@ void Nepomuk::SearchProtocol::listUserQueries()
> >          listEntry( uds, false );
> >      }
> >  }
> > -void Nepomuk::SearchProtocol::listLastQueries()
> > +void Nepomuk2::SearchProtocol::listLastQueries()
> >  {
> >      KSharedConfigPtr cfg = KSharedConfig::openConfig(
> "kio_nepomuksearchrc" );
> >      KConfigGroup grp = cfg->group( "Last Queries" );
> > diff --git a/nepomuk/kioslaves/search/kio_nepomuksearch.h
> b/nepomuk/kioslaves/search/kio_nepomuksearch.h
> > index 9f4c4ba..e68ff29 100644
> > --- a/nepomuk/kioslaves/search/kio_nepomuksearch.h
> > +++ b/nepomuk/kioslaves/search/kio_nepomuksearch.h
> > @@ -25,7 +25,7 @@
> >
> >  #include <QtCore/QQueue>
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >      namespace Search {
> >          class Query;
> >      }
> > diff --git a/nepomuk/kioslaves/search/queryutils.h
> b/nepomuk/kioslaves/search/queryutils.h
> > index 3b5b707..056e01b 100644
> > --- a/nepomuk/kioslaves/search/queryutils.h
> > +++ b/nepomuk/kioslaves/search/queryutils.h
> > @@ -27,15 +27,15 @@
> >  #include <KUrl>
> >  #include <KDebug>
> >
> > -#include <Nepomuk/Query/Query>
> > -#include <Nepomuk/Query/OptionalTerm>
> > -#include <Nepomuk/Query/ComparisonTerm>
> > -#include <Nepomuk/Query/AndTerm>
> > -#include <Nepomuk/Vocabulary/NIE>
> > -#include <Nepomuk/Vocabulary/NFO>
> > +#include <Nepomuk2/Query/Query>
> > +#include <Nepomuk2/Query/OptionalTerm>
> > +#include <Nepomuk2/Query/ComparisonTerm>
> > +#include <Nepomuk2/Query/AndTerm>
> > +#include <Nepomuk2/Vocabulary/NIE>
> > +#include <Nepomuk2/Vocabulary/NFO>
> >
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >      namespace Query {
> >          /**
> >           * KIO specific query handling shared by the KIO slave and the
> kded search module
> > @@ -43,31 +43,31 @@ namespace Nepomuk {
> >          bool parseQueryUrl( const KUrl& url, Query& query, QString&
> sparqlQuery )
> >          {
> >              // parse URL (this may fail in which case we fall back to
> pure SPARQL below)
> > -            query = Nepomuk::Query::Query::fromQueryUrl( url );
> > +            query = Nepomuk2::Query::Query::fromQueryUrl( url );
> >
> >              // request properties to easily create UDSEntry instances
> >              QList<Query::RequestProperty> reqProperties;
> >              // local URL
> > -            reqProperties << Query::RequestProperty(
> Nepomuk::Vocabulary::NIE::url(), !query.isFileQuery() );
> > +            reqProperties << Query::RequestProperty(
> Nepomuk2::Vocabulary::NIE::url(), !query.isFileQuery() );
> >  #ifdef Q_OS_UNIX
> >              if( query.isFileQuery() ) {
> >                  // file size
> > -                ComparisonTerm contentSizeTerm(
> Nepomuk::Vocabulary::NIE::contentSize(), Term() );
> > +                ComparisonTerm contentSizeTerm(
> Nepomuk2::Vocabulary::NIE::contentSize(), Term() );
> >                  contentSizeTerm.setVariableName( QLatin1String("size")
> );
> >                  // mimetype
> > -                ComparisonTerm mimetypeTerm(
> Nepomuk::Vocabulary::NIE::mimeType(), Term() );
> > +                ComparisonTerm mimetypeTerm(
> Nepomuk2::Vocabulary::NIE::mimeType(), Term() );
> >                  mimetypeTerm.setVariableName( QLatin1String("mime") );
> >                  // mtime
> > -                ComparisonTerm mtimeTerm(
> Nepomuk::Vocabulary::NIE::lastModified(), Term() );
> > +                ComparisonTerm mtimeTerm(
> Nepomuk2::Vocabulary::NIE::lastModified(), Term() );
> >                  mtimeTerm.setVariableName( QLatin1String("mtime") );
> >                  // mode
> > -                ComparisonTerm modeTerm(
> Nepomuk::Vocabulary::KExt::unixFileMode(), Term() );
> > +                ComparisonTerm modeTerm(
> Nepomuk2::Vocabulary::KExt::unixFileMode(), Term() );
> >                  modeTerm.setVariableName( QLatin1String("mode") );
> >                  // user
> > -                ComparisonTerm userTerm(
> Nepomuk::Vocabulary::KExt::unixFileOwner(), Term() );
> > +                ComparisonTerm userTerm(
> Nepomuk2::Vocabulary::KExt::unixFileOwner(), Term() );
> >                  userTerm.setVariableName( QLatin1String("user") );
> >                  // group
> > -                ComparisonTerm groupTerm(
> Nepomuk::Vocabulary::KExt::unixFileGroup(), Term() );
> > +                ComparisonTerm groupTerm(
> Nepomuk2::Vocabulary::KExt::unixFileGroup(), Term() );
> >                  groupTerm.setVariableName( QLatin1String("group") );
> >
> >                  // instead of separate request properties we use one
> optional and term. That way
> > @@ -90,7 +90,7 @@ namespace Nepomuk {
> >              }
> >              else {
> >                  // the URL contains pure sparql.
> > -                sparqlQuery =
> Nepomuk::Query::Query::sparqlFromQueryUrl( url );
> > +                sparqlQuery =
> Nepomuk2::Query::Query::sparqlFromQueryUrl( url );
> >                  kDebug() << "Extracted SPARL query" << sparqlQuery;
> >              }
> >
> > diff --git a/nepomuk/kioslaves/search/searchfolder.cpp
> b/nepomuk/kioslaves/search/searchfolder.cpp
> > index 8a51c42..8088c46 100644
> > --- a/nepomuk/kioslaves/search/searchfolder.cpp
> > +++ b/nepomuk/kioslaves/search/searchfolder.cpp
> > @@ -27,16 +27,16 @@
> >  #include <Soprano/Vocabulary/NAO>
> >  #include <Soprano/Node> // for qHash( QUrl )
> >
> > -#include <Nepomuk/Variant>
> > -#include <Nepomuk/Thing>
> > -#include <Nepomuk/Types/Class>
> > -#include <Nepomuk/Query/Query>
> > -#include <Nepomuk/Query/QueryParser>
> > -#include <Nepomuk/Query/ResourceTypeTerm>
> > -#include <Nepomuk/Query/QueryServiceClient>
> > -#include <Nepomuk/Vocabulary/NFO>
> > -#include <Nepomuk/Vocabulary/NIE>
> > -#include <Nepomuk/Vocabulary/PIMO>
> > +#include <Nepomuk2/Variant>
> > +#include <Nepomuk2/Thing>
> > +#include <Nepomuk2/Types/Class>
> > +#include <Nepomuk2/Query/Query>
> > +#include <Nepomuk2/Query/QueryParser>
> > +#include <Nepomuk2/Query/ResourceTypeTerm>
> > +#include <Nepomuk2/Query/QueryServiceClient>
> > +#include <Nepomuk2/Vocabulary/NFO>
> > +#include <Nepomuk2/Vocabulary/NIE>
> > +#include <Nepomuk2/Vocabulary/PIMO>
> >
> >  #include <QtCore/QMutexLocker>
> >  #include <QTextDocument>
> > @@ -51,7 +51,7 @@
> >  #include <KConfigGroup>
> >
> >
> > -Nepomuk::SearchFolder::SearchFolder( const KUrl& url, KIO::SlaveBase*
> slave )
> > +Nepomuk2::SearchFolder::SearchFolder( const KUrl& url, KIO::SlaveBase*
> slave )
> >      : QThread(),
> >        m_url( url ),
> >        m_initialListingFinished( false ),
> > @@ -66,7 +66,7 @@ Nepomuk::SearchFolder::SearchFolder( const KUrl& url,
> KIO::SlaveBase* slave )
> >  }
> >
> >
> > -Nepomuk::SearchFolder::~SearchFolder()
> > +Nepomuk2::SearchFolder::~SearchFolder()
> >  {
> >      kDebug() << m_url << QThread::currentThread();
> >
> > @@ -76,18 +76,18 @@ Nepomuk::SearchFolder::~SearchFolder()
> >  }
> >
> >
> > -void Nepomuk::SearchFolder::run()
> > +void Nepomuk2::SearchFolder::run()
> >  {
> >      kDebug() << m_url << QThread::currentThread();
> >
> > -    m_client = new Nepomuk::Query::QueryServiceClient();
> > +    m_client = new Nepomuk2::Query::QueryServiceClient();
> >
> >      // results signals are connected directly to update the results
> cache m_resultsQueue
> >      // and the entries cache m_entries, as well as emitting KDirNotify
> signals
> >      // a queued connection is not possible since we have no event loop
> after the
> >      // initial listing which means that queued signals would never get
> delivered
> > -    connect( m_client, SIGNAL( newEntries( const
> QList<Nepomuk::Query::Result>& ) ),
> > -             this, SLOT( slotNewEntries( const
> QList<Nepomuk::Query::Result>& ) ),
> > +    connect( m_client, SIGNAL( newEntries( const
> QList<Nepomuk2::Query::Result>& ) ),
> > +             this, SLOT( slotNewEntries( const
> QList<Nepomuk2::Query::Result>& ) ),
> >               Qt::DirectConnection );
> >      connect( m_client, SIGNAL( resultCount(int) ),
> >               this, SLOT( slotResultCount(int) ),
> > @@ -110,7 +110,7 @@ void Nepomuk::SearchFolder::run()
> >  }
> >
> >
> > -void Nepomuk::SearchFolder::list()
> > +void Nepomuk2::SearchFolder::list()
> >  {
> >      kDebug() << m_url << QThread::currentThread();
> >
> > @@ -129,7 +129,7 @@ void Nepomuk::SearchFolder::list()
> >
> >
> >  // always called in search thread
> > -void Nepomuk::SearchFolder::slotNewEntries( const
> QList<Nepomuk::Query::Result>& results )
> > +void Nepomuk2::SearchFolder::slotNewEntries( const
> QList<Nepomuk2::Query::Result>& results )
> >  {
> >  //    kDebug() << m_url;
> >
> > @@ -143,7 +143,7 @@ void Nepomuk::SearchFolder::slotNewEntries( const
> QList<Nepomuk::Query::Result>&
> >  }
> >
> >
> > -void Nepomuk::SearchFolder::slotResultCount( int count )
> > +void Nepomuk2::SearchFolder::slotResultCount( int count )
> >  {
> >      if ( !m_initialListingFinished ) {
> >          QMutexLocker lock( &m_slaveMutex );
> > @@ -153,7 +153,7 @@ void Nepomuk::SearchFolder::slotResultCount( int
> count )
> >
> >
> >  // always called in search thread
> > -void Nepomuk::SearchFolder::slotFinishedListing()
> > +void Nepomuk2::SearchFolder::slotFinishedListing()
> >  {
> >      kDebug() << m_url;
> >      QMutexLocker lock( &m_resultMutex );
> > @@ -163,7 +163,7 @@ void Nepomuk::SearchFolder::slotFinishedListing()
> >
> >
> >  // always called in main thread
> > -void Nepomuk::SearchFolder::statResults()
> > +void Nepomuk2::SearchFolder::statResults()
> >  {
> >      while ( 1 ) {
> >          m_resultMutex.lock();
> > @@ -204,9 +204,9 @@ namespace {
> >              }
> >          }
> >
> > -        Nepomuk::Resource res( url );
> > +        Nepomuk2::Resource res( url );
> >          if ( res.exists() ) {
> > -            uds = Nepomuk::statNepomukResource( res );
> > +            uds = Nepomuk2::statNepomukResource( res );
> >              return true;
> >          }
> >
> > @@ -217,13 +217,13 @@ namespace {
> >
> >
> >  // always called in main thread
> > -// This method tries to avoid loading the Nepomuk::Resource as long as
> possible by only using the
> > +// This method tries to avoid loading the Nepomuk2::Resource as long as
> possible by only using the
> >  // request property nie:url in the Result for local files.
> > -KIO::UDSEntry Nepomuk::SearchFolder::statResult( const Query::Result&
> result )
> > +KIO::UDSEntry Nepomuk2::SearchFolder::statResult( const Query::Result&
> result )
> >  {
> >      Resource res( result.resource() );
> >      const KUrl uri( res.resourceUri() );
> > -    KUrl nieUrl( result[Nepomuk::Vocabulary::NIE::url()].uri() );
> > +    KUrl nieUrl( result[Nepomuk2::Vocabulary::NIE::url()].uri() );
> >
> >      // the additional bindings that we only have on unix systems
> >      // Either all are bound or none of them.
> > @@ -263,7 +263,7 @@ KIO::UDSEntry Nepomuk::SearchFolder::statResult(
> const Query::Result& result )
> >
> >          // check if we have a pimo thing relating to a file
> >          if ( nieUrl.isEmpty() )
> > -            nieUrl = Nepomuk::nepomukToFileUrl( uri );
> > +            nieUrl = Nepomuk2::nepomukToFileUrl( uri );
> >
> >          // try to stat the file
> >          if ( statFile( uri, nieUrl, uds ) ) {
> > @@ -280,10 +280,10 @@ KIO::UDSEntry Nepomuk::SearchFolder::statResult(
> const Query::Result& result )
> >              // make sure we do not use these ugly names for display
> >              if ( !uds.contains( KIO::UDSEntry::UDS_DISPLAY_NAME ) ) {
> >                  if ( nieUrl.isEmpty() &&
> > -                        res.hasType( Nepomuk::Vocabulary::PIMO::Thing()
> ) ) {
> > +                        res.hasType(
> Nepomuk2::Vocabulary::PIMO::Thing() ) ) {
> >                      if (
> !res.pimoThing().groundingOccurrences().isEmpty() ) {
> >                          res =
> res.pimoThing().groundingOccurrences().first();
> > -                        nieUrl =
> res.property(Nepomuk::Vocabulary::NIE::url()).toUrl();
> > +                        nieUrl =
> res.property(Nepomuk2::Vocabulary::NIE::url()).toUrl();
> >                      }
> >                  }
> >
> > diff --git a/nepomuk/kioslaves/search/searchfolder.h
> b/nepomuk/kioslaves/search/searchfolder.h
> > index 83dfe6b..c0839b5 100644
> > --- a/nepomuk/kioslaves/search/searchfolder.h
> > +++ b/nepomuk/kioslaves/search/searchfolder.h
> > @@ -27,17 +27,17 @@
> >  #include <QtCore/QMutex>
> >  #include <QtCore/QWaitCondition>
> >
> > -#include <Nepomuk/Query/Term>
> > -#include <Nepomuk/Query/Result>
> > -#include <Nepomuk/Query/Query>
> > +#include <Nepomuk2/Query/Term>
> > +#include <Nepomuk2/Query/Result>
> > +#include <Nepomuk2/Query/Query>
> >
> >  #include <kio/udsentry.h>
> >  #include <kio/slavebase.h>
> > -#include <Nepomuk/Resource>
> > +#include <Nepomuk2/Resource>
> >  #include <KUrl>
> >
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >      namespace Query {
> >          class QueryServiceClient;
> >      }
> > @@ -80,7 +80,7 @@ namespace Nepomuk {
> >
> >      private Q_SLOTS:
> >          /// connected to the QueryServiceClient in the search thread
> > -        void slotNewEntries( const QList<Nepomuk::Query::Result>& );
> > +        void slotNewEntries( const QList<Nepomuk2::Query::Result>& );
> >
> >          /// connected to the QueryServiceClient in the search thread
> >          void slotResultCount( int );
> > diff --git a/nepomuk/kioslaves/search/userqueries.h
> b/nepomuk/kioslaves/search/userqueries.h
> > index f1d48fb..5430f22 100644
> > --- a/nepomuk/kioslaves/search/userqueries.h
> > +++ b/nepomuk/kioslaves/search/userqueries.h
> > @@ -30,20 +30,20 @@
> >  #include <QtCore/QStringList>
> >
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >      /// convert a normal query URL which can be listed to a URL which
> is used as location for user queries
> >      inline KUrl queryUrlToUserQueryUrl( const KUrl& url )
> >      {
> >          // the query URL is NOT the URL under which the query is listed!
> >          KUrl queryListUrl;
> >          queryListUrl.setProtocol( QLatin1String( "nepomuksearch" ) );
> > -        queryListUrl.setFileName( Nepomuk::resourceUriToUdsName( url )
> );
> > +        queryListUrl.setFileName( Nepomuk2::resourceUriToUdsName( url )
> );
> >          return queryListUrl;
> >      }
> >
> >      inline KUrl queryUrlFromUserQueryUrl( const KUrl& url )
> >      {
> > -        return Nepomuk::udsNameToResourceUri( url.fileName() );
> > +        return Nepomuk2::udsNameToResourceUri( url.fileName() );
> >      }
> >
> >      class UserQueryUrlList : public KUrl::List
> > @@ -114,7 +114,7 @@ namespace Nepomuk {
> >              QStringList oldUserQueryUrls;
> >              QList<KUrl>::iterator it = findQueryUrl( url );
> >              while ( it != end() ) {
> > -                oldUserQueryUrls << Nepomuk::queryUrlToUserQueryUrl(
> *it ).url();
> > +                oldUserQueryUrls << Nepomuk2::queryUrlToUserQueryUrl(
> *it ).url();
> >                  erase( it );
> >                  it = findQueryUrl( url );
> >              }
> > diff --git a/nepomuk/kioslaves/timeline/CMakeLists.txt
> b/nepomuk/kioslaves/timeline/CMakeLists.txt
> > index 6ba43d1..903f13f 100644
> > --- a/nepomuk/kioslaves/timeline/CMakeLists.txt
> > +++ b/nepomuk/kioslaves/timeline/CMakeLists.txt
> > @@ -4,7 +4,7 @@ include_directories(
> >    ${QT_INCLUDES}
> >    ${KDE4_INCLUDES}
> >    ${KDE4_KIO_INCLUDES}
> > -  ${NEPOMUK_INCLUDE_DIR}
> > +  ${NEPOMUK_CORE_INCLUDE_DIR}
> >    ${CMAKE_CURRENT_BINARY_DIR}
> >    ${nepomuk_kio_slaves_SOURCE_DIR}/common
> >  )
> > @@ -15,15 +15,14 @@ set(kio_timeline_PART_SRCS
> >    kio_timeline.cpp
> >    ../common/timelinetools.cpp)
> >
> > -qt4_add_dbus_interface(kio_timeline_PART_SRCS
> ../../interfaces/org.kde.nepomuk.ServiceControl.xml
> nepomukservicecontrolinterface)
> > +qt4_add_dbus_interface(kio_timeline_PART_SRCS
> ${NEPOMUK_CORE_DBUS_INTERFACES_DIR}/org.kde.nepomuk.ServiceControl.xml
> nepomukservicecontrolinterface)
> >
> >  kde4_add_plugin(kio_timeline ${kio_timeline_PART_SRCS})
> >
> >  target_link_libraries(kio_timeline
> >    nepomukcommon
> >    ${KDE4_KIO_LIBS}
> > -  ${NEPOMUK_LIBRARIES}
> > -  ${NEPOMUK_QUERY_LIBRARIES}
> > +  ${NEPOMUK_CORE_LIBRARIES}
> >    ${SOPRANO_LIBRARIES}
> >  )
> >
> > diff --git a/nepomuk/kioslaves/timeline/kio_timeline.cpp
> b/nepomuk/kioslaves/timeline/kio_timeline.cpp
> > index 24eb424..7ddca1f 100644
> > --- a/nepomuk/kioslaves/timeline/kio_timeline.cpp
> > +++ b/nepomuk/kioslaves/timeline/kio_timeline.cpp
> > @@ -22,10 +22,10 @@
> >  #include "nepomukservicecontrolinterface.h"
> >  #include "timelinetools.h"
> >
> > -#include <Nepomuk/ResourceManager>
> > -#include <Nepomuk/Vocabulary/NFO>
> > -#include <Nepomuk/Vocabulary/NIE>
> > -#include <Nepomuk/Vocabulary/NUAO>
> > +#include <Nepomuk2/ResourceManager>
> > +#include <Nepomuk2/Vocabulary/NFO>
> > +#include <Nepomuk2/Vocabulary/NIE>
> > +#include <Nepomuk2/Vocabulary/NUAO>
> >
> >  #include <KUrl>
> >  #include <kio/global.h>
> > @@ -92,33 +92,33 @@ namespace {
> >          KIO::UDSEntry uds = createFolderUDSEntry(
> date.toString("yyyy-MM-dd"),
> >
>  KGlobal::locale()->formatDate( date, KLocale::FancyLongDate ),
> >                                                    date );
> > -        uds.insert( KIO::UDSEntry::UDS_NEPOMUK_QUERY,
> Nepomuk::buildTimelineQuery( date ).toString() );
> > +        uds.insert( KIO::UDSEntry::UDS_NEPOMUK_QUERY,
> Nepomuk2::buildTimelineQuery( date ).toString() );
> >          return uds;
> >      }
> >
> >      bool filesInDateRange( const QDate& from, const QDate& to = QDate()
> )
> >      {
> > -        return
> Nepomuk::ResourceManager::instance()->mainModel()->executeQuery(
> > -                    Nepomuk::buildTimelineQuery( from, to
> ).toSparqlQuery(Nepomuk::Query::Query::CreateAskQuery),
> > +        return
> Nepomuk2::ResourceManager::instance()->mainModel()->executeQuery(
> > +                    Nepomuk2::buildTimelineQuery( from, to
> ).toSparqlQuery(Nepomuk2::Query::Query::CreateAskQuery),
> >                      Soprano::Query::QueryLanguageSparql ).boolValue();
> >      }
> >  }
> >
> >
> > -Nepomuk::TimelineProtocol::TimelineProtocol( const QByteArray&
> poolSocket, const QByteArray& appSocket )
> > +Nepomuk2::TimelineProtocol::TimelineProtocol( const QByteArray&
> poolSocket, const QByteArray& appSocket )
> >      : KIO::ForwardingSlaveBase( "timeline", poolSocket, appSocket )
> >  {
> >      kDebug();
> >  }
> >
> >
> > -Nepomuk::TimelineProtocol::~TimelineProtocol()
> > +Nepomuk2::TimelineProtocol::~TimelineProtocol()
> >  {
> >      kDebug();
> >  }
> >
> >
> > -void Nepomuk::TimelineProtocol::listDir( const KUrl& url )
> > +void Nepomuk2::TimelineProtocol::listDir( const KUrl& url )
> >  {
> >      // without a running file indexer timeline is not at all reliable
> >      if (
> !QDBusConnection::sessionBus().interface()->isServiceRegistered(
> "org.kde.nepomuk.services.nepomukfileindexer" ) ||
> > @@ -162,14 +162,14 @@ void Nepomuk::TimelineProtocol::listDir( const
> KUrl& url )
> >  }
> >
> >
> > -void Nepomuk::TimelineProtocol::mkdir( const KUrl &url, int permissions
> )
> > +void Nepomuk2::TimelineProtocol::mkdir( const KUrl &url, int
> permissions )
> >  {
> >      Q_UNUSED(permissions);
> >      error( ERR_UNSUPPORTED_ACTION, url.prettyUrl() );
> >  }
> >
> >
> > -void Nepomuk::TimelineProtocol::get( const KUrl& url )
> > +void Nepomuk2::TimelineProtocol::get( const KUrl& url )
> >  {
> >      kDebug() << url;
> >
> > @@ -182,7 +182,7 @@ void Nepomuk::TimelineProtocol::get( const KUrl& url
> )
> >  }
> >
> >
> > -void Nepomuk::TimelineProtocol::put( const KUrl& url, int permissions,
> KIO::JobFlags flags )
> > +void Nepomuk2::TimelineProtocol::put( const KUrl& url, int permissions,
> KIO::JobFlags flags )
> >  {
> >      kDebug() << url;
> >
> > @@ -195,7 +195,7 @@ void Nepomuk::TimelineProtocol::put( const KUrl&
> url, int permissions, KIO::JobF
> >  }
> >
> >
> > -void Nepomuk::TimelineProtocol::copy( const KUrl& src, const KUrl&
> dest, int permissions, KIO::JobFlags flags )
> > +void Nepomuk2::TimelineProtocol::copy( const KUrl& src, const KUrl&
> dest, int permissions, KIO::JobFlags flags )
> >  {
> >      Q_UNUSED(src);
> >      Q_UNUSED(dest);
> > @@ -206,7 +206,7 @@ void Nepomuk::TimelineProtocol::copy( const KUrl&
> src, const KUrl& dest, int per
> >  }
> >
> >
> > -void Nepomuk::TimelineProtocol::rename( const KUrl& src, const KUrl&
> dest, KIO::JobFlags flags )
> > +void Nepomuk2::TimelineProtocol::rename( const KUrl& src, const KUrl&
> dest, KIO::JobFlags flags )
> >  {
> >      Q_UNUSED(src);
> >      Q_UNUSED(dest);
> > @@ -216,21 +216,21 @@ void Nepomuk::TimelineProtocol::rename( const
> KUrl& src, const KUrl& dest, KIO::
> >  }
> >
> >
> > -void Nepomuk::TimelineProtocol::del( const KUrl& url, bool isfile )
> > +void Nepomuk2::TimelineProtocol::del( const KUrl& url, bool isfile )
> >  {
> >      kDebug() << url;
> >      ForwardingSlaveBase::del( url, isfile );
> >  }
> >
> >
> > -void Nepomuk::TimelineProtocol::mimetype( const KUrl& url )
> > +void Nepomuk2::TimelineProtocol::mimetype( const KUrl& url )
> >  {
> >      kDebug() << url;
> >      ForwardingSlaveBase::mimetype( url );
> >  }
> >
> >
> > -void Nepomuk::TimelineProtocol::stat( const KUrl& url )
> > +void Nepomuk2::TimelineProtocol::stat( const KUrl& url )
> >  {
> >      switch( parseTimelineUrl( url, &m_date, &m_filename ) ) {
> >      case RootFolder: {
> > @@ -272,7 +272,7 @@ void Nepomuk::TimelineProtocol::stat( const KUrl&
> url )
> >
> >
> >  // only used for the queries
> > -bool Nepomuk::TimelineProtocol::rewriteUrl( const KUrl& url, KUrl&
> newURL )
> > +bool Nepomuk2::TimelineProtocol::rewriteUrl( const KUrl& url, KUrl&
> newURL )
> >  {
> >      if ( parseTimelineUrl( url, &m_date, &m_filename ) == DayFolder ) {
> >          newURL = buildTimelineQuery( m_date ).toSearchUrl();
> > @@ -286,7 +286,7 @@ bool Nepomuk::TimelineProtocol::rewriteUrl( const
> KUrl& url, KUrl& newURL )
> >  }
> >
> >
> > -void Nepomuk::TimelineProtocol::prepareUDSEntry( KIO::UDSEntry& entry,
> > +void Nepomuk2::TimelineProtocol::prepareUDSEntry( KIO::UDSEntry& entry,
> >                                                   bool listing ) const
> >  {
> >      kDebug() << entry.stringValue( KIO::UDSEntry::UDS_NEPOMUK_URI) <<
> entry.stringValue( KIO::UDSEntry::UDS_MIME_TYPE) << listing;
> > @@ -294,7 +294,7 @@ void Nepomuk::TimelineProtocol::prepareUDSEntry(
> KIO::UDSEntry& entry,
> >  }
> >
> >
> > -void Nepomuk::TimelineProtocol::listDays( int month, int year )
> > +void Nepomuk2::TimelineProtocol::listDays( int month, int year )
> >  {
> >      kDebug() << month << year;
> >      const int days = KGlobal::locale()->calendar()->daysInMonth( QDate(
> year, month, 1 ) );
> > @@ -308,7 +308,7 @@ void Nepomuk::TimelineProtocol::listDays( int month,
> int year )
> >  }
> >
> >
> > -void Nepomuk::TimelineProtocol::listThisYearsMonths()
> > +void Nepomuk2::TimelineProtocol::listThisYearsMonths()
> >  {
> >      kDebug();
> >      int currentMonth = QDate::currentDate().month();
> > @@ -322,7 +322,7 @@ void Nepomuk::TimelineProtocol::listThisYearsMonths()
> >  }
> >
> >
> > -void Nepomuk::TimelineProtocol::listPreviousYears()
> > +void Nepomuk2::TimelineProtocol::listPreviousYears()
> >  {
> >      kDebug();
> >      // TODO: list years before this year that have files, but first get
> the smallest date
> > @@ -345,7 +345,7 @@ extern "C"
> >              exit(-1);
> >          }
> >
> > -        Nepomuk::TimelineProtocol slave(argv[2], argv[3]);
> > +        Nepomuk2::TimelineProtocol slave(argv[2], argv[3]);
> >          slave.dispatchLoop();
> >
> >          kDebug(7102) << "Timeline slave Done";
> > diff --git a/nepomuk/kioslaves/timeline/kio_timeline.h
> b/nepomuk/kioslaves/timeline/kio_timeline.h
> > index c31d6ee..d20005c 100644
> > --- a/nepomuk/kioslaves/timeline/kio_timeline.h
> > +++ b/nepomuk/kioslaves/timeline/kio_timeline.h
> > @@ -25,7 +25,7 @@
> >
> >  #include <QtCore/QDate>
> >
> > -namespace Nepomuk {
> > +namespace Nepomuk2 {
> >      class TimelineProtocol : public KIO::ForwardingSlaveBase
> >      {
> >          Q_OBJECT
> > diff --git a/nepomuk/ontologies/CMakeLists.txt
> b/nepomuk/ontologies/CMakeLists.txt
> > deleted file mode 100644
> > index 7a7a590..0000000
> > --- a/nepomuk/ontologies/CMakeLists.txt
> > +++ /dev/null
> > @@ -1,14 +0,0 @@
> > -project(nepomuk_ontologies)
> > -
> > -configure_file(kuvo.ontology.in${CMAKE_CURRENT_BINARY_DIR}/kuvo.ontology)
> > -configure_file(nrio.ontology.in${CMAKE_CURRENT_BINARY_DIR}/nrio.ontology)
> > -configure_file(kext.ontology.in${CMAKE_CURRENT_BINARY_DIR}/kext.ontology)
> > -
> > -install(FILES
> > -  kuvo.trig
> > -  ${CMAKE_CURRENT_BINARY_DIR}/kuvo.ontology
> > -  nrio.trig
> > -  ${CMAKE_CURRENT_BINARY_DIR}/nrio.ontology
> > -  kext.trig
> > -  ${CMAKE_CURRENT_BINARY_DIR}/kext.ontology
> > -DESTINATION ${CMAKE_INSTALL_PREFIX}/share/ontology/kde)
> > diff --git a/nepomuk/ontologies/README b/nepomuk/ontologies/README
> > deleted file mode 100644
> > index 567dae8..0000000
> > --- a/nepomuk/ontologies/README
> > +++ /dev/null
> > @@ -1,5 +0,0 @@
> > -This folder contains ontologies that build upon the ones
> > -from shared-desktop-ontologies and contain KDE-specific
> > -extensions that can not be or are hard to generalize.
> > -
> > -Sebastian Trueg <trueg@kde.org> 2010-08-18
> > diff --git a/nepomuk/ontologies/kext.ontology.in b/nepomuk/ontologies/
> kext.ontology.in
> > deleted file mode 100644
> > index a9ada44..0000000
> > --- a/nepomuk/ontologies/kext.ontology.in
> > +++ /dev/null
> > @@ -1,8 +0,0 @@
> > -[Ontology]
> > -Version=1.0
> > -Name=KDE Extensions Ontology
> > -Comment=The KDE Extensions Ontology contains extensions to the
> shared-desktop-ontologies that are not generic enough.
> > -Namespace=http://nepomuk.kde.org/ontologies/2010/11/29/kext#
> > -Path=${CMAKE_INSTALL_PREFIX}/share/ontology/kde/kext.trig
> > -MimeType=application/x-trig
> > -Type=Data
> > diff --git a/nepomuk/ontologies/kext.trig b/nepomuk/ontologies/kext.trig
> > deleted file mode 100644
> > index b7c1773..0000000
> > --- a/nepomuk/ontologies/kext.trig
> > +++ /dev/null
> > @@ -1,91 +0,0 @@
> > -#
> > -# Copyright (c) 2010-2011 Sebastian Trueg <trueg@kde.org>
> > -# All rights reserved, licensed under either CC-BY or BSD.
> > -#
> > -# You are free:
> > -#  * to Share - to copy, distribute and transmit the work
> > -#  * to Remix - to adapt the work
> > -# Under the following conditions:
> > -#  * Attribution - You must attribute the work in the manner specified
> by the author
> > -#    or licensor (but not in any way that suggests that they endorse
> you or your use
> > -#    of the work).
> > -#
> > -# Redistribution and use in source and binary forms, with or without
> modification,
> > -# are permitted provided that the following conditions are met:
> > -#  * Redistributions of source code must retain the above copyright
> notice, this
> > -#    list of conditions and the following disclaimer.
> > -#  * Redistributions in binary form must reproduce the above copyright
> notice, this
> > -#    list of conditions and the following disclaimer in the
> documentation and/or
> > -#    other materials provided with the distribution.
> > -#  * Neither the names of the authors nor the names of contributors may
> > -#    be used to endorse or promote products derived from this ontology
> without
> > -#    specific prior written permission.
> > -#
> > -# THIS ONTOLOGY IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
> > -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
> WARRANTIES
> > -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
> DISCLAIMED.
> > -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
> > -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
> BUT
> > -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
> USE,
> > -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
> > -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
> > -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> OF
> > -# THIS ONTOLOGY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> > -#
> > -
> > -@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
> > -@prefix nao:     <
> http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
> > -@prefix nrl:     <
> http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
> > -@prefix nie:     <
> http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
> > -@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
> > -@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
> > -@prefix kext:    <http://nepomuk.kde.org/ontologies/2010/11/29/kext#> .
> > -@prefix nfo:     <
> http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
> > -
> > -kext: {
> > -    kext:unixFileMode
> > -          a      rdf:Property ;
> > -          rdfs:label "Unix file mode" ;
> > -          rdfs:comment "The file mode value as seen on unix file
> systems." ;
> > -          rdfs:domain nfo:FileDataObject ;
> > -          rdfs:range xsd:integer ;
> > -          nrl:maxCardinality 1 ;
> > -          nao:userVisible false .
> > -
> > -    kext:unixFileOwner
> > -          a      rdf:Property ;
> > -          rdfs:label "Unix file owner" ;
> > -          rdfs:comment "The owner of the file as seen on unix file
> systems. This is intended as the low-level counterpart to nfo:owner." ;
> > -          rdfs:domain nfo:FileDataObject ;
> > -          rdfs:range xsd:string ;
> > -          nrl:maxCardinality 1 ;
> > -          nao:userVisible false .
> > -
> > -    kext:unixFileGroup
> > -          a      rdf:Property ;
> > -          rdfs:label "Unix file group" ;
> > -          rdfs:comment "The group of the file as seen on unix file
> systems." ;
> > -          rdfs:domain nfo:FileDataObject ;
> > -          rdfs:range xsd:string ;
> > -          nrl:maxCardinality 1 ;
> > -          nao:userVisible false .
> > -}
> > -
> > -<http://nepomuk.kde.org/ontologies/2010/11/29/kext/metadata> {
> > -    <http://nepomuk.kde.org/ontologies/2010/11/29/kext/metadata>
> > -          a       nrl:GraphMetadata ;
> > -          nrl:coreGraphMetadataFor kext: .
> > -
> > -
> > -    kext:
> > -          a       nrl:Ontology , nrl:DocumentGraph ;
> > -          nao:prefLabel "KDE Extensions Ontology" ;
> > -          nao:hasDefaultNamespace "
> http://nepomuk.kde.org/ontologies/2010/11/29/kext#" ;
> > -          nao:hasDefaultNamespaceAbbreviation "kext" ;
> > -          nao:lastModified "2012-03-09T13:04:43Z" ;
> > -          nao:serializationLanguage "TriG" ;
> > -          nao:status "Unstable" ;
> > -          nrl:updatable "0" ;
> > -          nao:version "2" .
> > -}
> > -
> > diff --git a/nepomuk/ontologies/kuvo.ontology.in b/nepomuk/ontologies/
> kuvo.ontology.in
> > deleted file mode 100644
> > index f50d5e8..0000000
> > --- a/nepomuk/ontologies/kuvo.ontology.in
> > +++ /dev/null
> > @@ -1,8 +0,0 @@
> > -[Ontology]
> > -Version=1.0
> > -Name=KDE User Visibility Ontology
> > -Comment=The KDE User Visibility Ontology does not define any new
> classes or properties. It simply defines nao:userVisible on existing
> classes and properties.
> > -Namespace=http://nepomuk.kde.org/ontologies/2010/08/18/kuvo#
> > -Path=${CMAKE_INSTALL_PREFIX}/share/ontology/kde/kuvo.trig
> > -MimeType=application/x-trig
> > -Type=Data
> > diff --git a/nepomuk/ontologies/kuvo.trig b/nepomuk/ontologies/kuvo.trig
> > deleted file mode 100644
> > index 11ac9f4..0000000
> > --- a/nepomuk/ontologies/kuvo.trig
> > +++ /dev/null
> > @@ -1,93 +0,0 @@
> > -#
> > -# Copyright (c) 2010 Sebastian Trueg <trueg@kde.org>
> > -# All rights reserved, licensed under either CC-BY or BSD.
> > -#
> > -# You are free:
> > -#  * to Share - to copy, distribute and transmit the work
> > -#  * to Remix - to adapt the work
> > -# Under the following conditions:
> > -#  * Attribution - You must attribute the work in the manner specified
> by the author
> > -#    or licensor (but not in any way that suggests that they endorse
> you or your use
> > -#    of the work).
> > -#
> > -# Redistribution and use in source and binary forms, with or without
> modification,
> > -# are permitted provided that the following conditions are met:
> > -#  * Redistributions of source code must retain the above copyright
> notice, this
> > -#    list of conditions and the following disclaimer.
> > -#  * Redistributions in binary form must reproduce the above copyright
> notice, this
> > -#    list of conditions and the following disclaimer in the
> documentation and/or
> > -#    other materials provided with the distribution.
> > -#  * Neither the names of the authors nor the names of contributors may
> > -#    be used to endorse or promote products derived from this ontology
> without
> > -#    specific prior written permission.
> > -#
> > -# THIS ONTOLOGY IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
> > -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
> WARRANTIES
> > -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
> DISCLAIMED.
> > -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
> > -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
> BUT
> > -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
> USE,
> > -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
> > -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
> > -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> OF
> > -# THIS ONTOLOGY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> > -#
> > -
> > -@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
> > -@prefix nao:     <
> http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
> > -@prefix nrl:     <
> http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
> > -@prefix nie:     <
> http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
> > -@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
> > -@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
> > -@prefix kuvo:    <http://nepomuk.kde.org/ontologies/2010/08/18/kuvo#> .
> > -@prefix nuao:    <
> http://www.semanticdesktop.org/ontologies/2010/01/25/nuao#> .
> > -@prefix nfo:     <
> http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
> > -
> > -kuvo: {
> > -    # Setting a baseline calms down the algorithm that creates all the
> entries.
> > -    rdfs:Resource
> > -        nao:userVisible true .
> > -
> > -    nao:userVisible
> > -        nao:userVisible false .
> > -
> > -    nao:hasSubResource
> > -        nao:userVisible false .
> > -
> > -    nuao:Event
> > -        nao:userVisible false .
> > -
> > -    nao:score
> > -        nao:userVisible false .
> > -
> > -    nie:hasPart
> > -        nao:userVisible false .
> > -
> > -    nrl:Graph
> > -        nao:userVisible false .
> > -
> > -    rdf:Property
> > -        nao:userVisible false .
> > -
> > -    rdfs:Class
> > -        nao:userVisible false .
> > -}
> > -
> > -<http://nepomuk.kde.org/ontologies/2010/08/18/kuvo/metadata> {
> > -    <http://nepomuk.kde.org/ontologies/2010/08/18/kuvo/metadata>
> > -          a       nrl:GraphMetadata ;
> > -          nrl:coreGraphMetadataFor kuvo: .
> > -
> > -
> > -    kuvo:
> > -          a       nrl:Ontology , nrl:DocumentGraph ;
> > -          nao:prefLabel "KDE User Visibility Ontology" ;
> > -          nao:hasDefaultNamespace "
> http://nepomuk.kde.org/ontologies/2010/08/18/kuvo#" ;
> > -          nao:hasDefaultNamespaceAbbreviation "kuvo" ;
> > -          nao:lastModified "2010-11-29T12:31:43Z" ;
> > -          nao:serializationLanguage "TriG" ;
> > -          nao:status "Unstable" ;
> > -          nrl:updatable "0" ;
> > -          nao:version "2" .
> > -}
> > -
> > diff --git a/nepomuk/ontologies/nrio.ontology.in b/nepomuk/ontologies/
> nrio.ontology.in
> > deleted file mode 100644
> > index 814383f..0000000
> > --- a/nepomuk/ontologies/nrio.ontology.in
> > +++ /dev/null
> > @@ -1,8 +0,0 @@
> > -[Ontology]
> > -Version=1.0
> > -Name=Nepomuk Resource Identification Ontology
> > -Comment=Required for backup and sync.
> > -Namespace=http://nepomuk.kde.org/ontologies/2010/11/11/nrio#
> > -Path=${CMAKE_INSTALL_PREFIX}/share/ontology/kde/nrio.trig
> > -MimeType=application/x-trig
> > -Type=Data
> > diff --git a/nepomuk/ontologies/nrio.trig b/nepomuk/ontologies/nrio.trig
> > deleted file mode 100644
> > index 15ad04f..0000000
> > --- a/nepomuk/ontologies/nrio.trig
> > +++ /dev/null
> > @@ -1,327 +0,0 @@
> > -#
> > -# Copyright (c) 2010 Vishesh Handa <handa.vish@gmail.com>
> > -# All rights reserved, licensed under either CC-BY or BSD.
> > -#
> > -# You are free:
> > -#  * to Share - to copy, distribute and transmit the work
> > -#  * to Remix - to adapt the work
> > -# Under the following conditions:
> > -#  * Attribution - You must attribute the work in the manner specified
> by the author
> > -#    or licensor (but not in any way that suggests that they endorse
> you or your use
> > -#    of the work).
> > -#
> > -# Redistribution and use in source and binary forms, with or without
> modification,
> > -# are permitted provided that the following conditions are met:
> > -#  * Redistributions of source code must retain the above copyright
> notice, this
> > -#    list of conditions and the following disclaimer.
> > -#  * Redistributions in binary form must reproduce the above copyright
> notice, this
> > -#    list of conditions and the following disclaimer in the
> documentation and/or
> > -#    other materials provided with the distribution.
> > -#  * Neither the names of the authors nor the names of contributors may
> > -#    be used to endorse or promote products derived from this ontology
> without
> > -#    specific prior written permission.
> > -#
> > -# THIS ONTOLOGY IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
> > -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
> WARRANTIES
> > -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
> DISCLAIMED.
> > -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
> > -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
> BUT
> > -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
> USE,
> > -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
> > -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
> > -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> OF
> > -# THIS ONTOLOGY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> > -#
> > -
> > -@prefix nao:     <
> http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
> > -@prefix nfo:     <
> http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
> > -@prefix nie:     <
> http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
> > -@prefix ncal:    <
> http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#> .
> > -@prefix nco:     <
> http://www.semanticdesktop.org/ontologies/2007/03/22/nco#> .
> > -@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
> > -@prefix pimo:    <
> http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#> .
> > -@prefix nmo:     <
> http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#> .
> > -@prefix nmm:     <
> http://www.semanticdesktop.org/ontologies/2009/02/19/nmm#> .
> > -@prefix nrl:     <
> http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
> > -@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
> > -@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
> > -
> > -@prefix nrio:    <http://nepomuk.kde.org/ontologies/2010/11/11/nrio#> .
> > -
> > -nrio: {
> > -    nao:created
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nao:creator
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nao:description
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nao:identifier
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nao:iconName
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nao:lastModified
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nao:personalIdentifier
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nao:pluralPrefLabel
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nao:prefLabel
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nao:prefSymbol
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nao:rating
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nao:score
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -
> > -    nco:birthdate
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nco:contactUID
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nco:fullname
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nco:gender
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -
> > -    nie:byteSize
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nie:comment
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nie:contentCreated
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nie:contentLastModified
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nie:contentSize
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nie:created
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nie:description
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nie:identifier
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nie:informationElementDate
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nie:lastModified
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nie:lastRefreshed
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nie:mimeType
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nie:subject
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nie:title
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nie:url
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -
> > -    nfo:aspectRatio
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:averageBitrate
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:bitDepth
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:bitsPerSample
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:channels
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:characterCount
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:colorDepth
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:commentCharacterCount
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:compressionType
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:count
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:deletionDate
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:duration
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:encoding
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:encryptionStatus
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:fileCreated
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:fileLastAccessed
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:fileLastModified
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:fileName
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -
> > -    nfo:fileSize
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:fileUrl
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -
> > -    nfo:filesystemType
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -
> > -    nfo:frameCount
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:frameRate
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:freeSpace
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -
> > -    nfo:frontChannels
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -
> > -    nfo:hashAlgorithm
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:hashValue
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:height
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:horizontalResolution
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:interlaceMode
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:isPasswordProtected
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:lfeChannels
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:lineCount
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:occupiedSpace
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -
> > -    nfo:pageCount
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -
> > -    nfo:permissions
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:programmingLanguage
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:rate
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:rearChannels
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:sampleCount
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:sampleRate
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:sideChannels
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:streamPosition
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -
> > -    nfo:totalSpace
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:uncompressedSize
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:uuid
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:verticalResolution
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:width
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    nfo:wordCount
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -
> > -    rdfs:comment
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -    rdfs:label
> > -        nrl:maxCardinality "1"^^xsd:integer .
> > -
> > -}
> > -
> > -<http://nepomuk.kde.org/ontologies/2010/11/11/nrio/metadata> {
> > -
> > -    nrio:  a       nrl:Ontology ;
> > -    nao:hasDefaultNamespace "
> http://nepomuk.kde.org/ontologies/2010/11/11/nrio#" ;
> > -    nao:hasDefaultNamespaceAbbreviation "nrio" ;
> > -
> > -    nao:serializationLanguage "TriG" ;
> > -    nao:lastModified "2012-01-06T16:08:58Z" ;
> > -    nao:status "Unstable" ;
> > -    nao:updatable "0 " ;
> > -    nao:version "Revision-1" .
> > -
> > -    <http://nepomuk.kde.org/ontologies/2010/11/11/nrio/metadata>
> > -          a nrl:GraphMetadata ;
> > -          nrl:coreGraphMetadataFor nrio: .
> > -}
> >
>

[Attachment #3 (text/html)]

<br><br><div class="gmail_quote">On Wed, May 30, 2012 at 1:03 AM, Sebastian Trüg \
<span dir="ltr">&lt;<a href="mailto:trueg@kde.org" \
target="_blank">trueg@kde.org</a><br></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> why do you need to port anything? You just need to remove it \
all, right?<br></blockquote><div><br>Well. The packagers and release team were not \
comfortable with 3 new repositories. <br><br>So it was decided to just release \
nepomuk-core, and nepomuk-kde-kio, nepomuk-kde-kcm remain in kde-runtime/nepomuk. \
Hence the port.<br> <br></div><div> </div><blockquote class="gmail_quote" \
style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"> &gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;      /**<br>
&gt;       * \return A list of default exclude filters to be used<br>
&gt;       * in the filewatch service to ignore temporary files<br>
&gt; diff --git a/nepomuk/kcm/indexfolderselectiondialog.cpp \
b/nepomuk/kcm/indexfolderselectiondialog.cpp<br> &gt; index e227649..59cfa14 \
100644<br> &gt; --- a/nepomuk/kcm/indexfolderselectiondialog.cpp<br>
&gt; +++ b/nepomuk/kcm/indexfolderselectiondialog.cpp<br>
&gt; @@ -56,7 +56,7 @@ namespace {<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::IndexFolderSelectionDialog::IndexFolderSelectionDialog( QWidget* \
parent )<br> &gt; +Nepomuk2::IndexFolderSelectionDialog::IndexFolderSelectionDialog( \
QWidget* parent )<br> &gt;      : KDialog( parent )<br>
&gt;  {<br>
&gt;      setupUi( mainWidget() );<br>
&gt; @@ -78,12 +78,12 @@ \
Nepomuk::IndexFolderSelectionDialog::IndexFolderSelectionDialog( QWidget* parent<br> \
&gt;  }<br> &gt;<br>
&gt;<br>
&gt; -Nepomuk::IndexFolderSelectionDialog::~IndexFolderSelectionDialog()<br>
&gt; +Nepomuk2::IndexFolderSelectionDialog::~IndexFolderSelectionDialog()<br>
&gt;  {<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::IndexFolderSelectionDialog::setFolders( const QStringList&amp; \
includeDirs, const QStringList&amp; exclude )<br> &gt; +void \
Nepomuk2::IndexFolderSelectionDialog::setFolders( const QStringList&amp; includeDirs, \
const QStringList&amp; exclude )<br> &gt;  {<br>
&gt;      m_folderModel-&gt;setFolders( includeDirs, exclude );<br>
&gt;<br>
&gt; @@ -105,19 +105,19 @@ void Nepomuk::IndexFolderSelectionDialog::setFolders( \
const QStringList&amp; include<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::IndexFolderSelectionDialog::setExcludeFilters( const \
QStringList&amp; filters )<br> &gt; +void \
Nepomuk2::IndexFolderSelectionDialog::setExcludeFilters( const QStringList&amp; \
filters )<br> &gt;  {<br>
&gt;      m_editExcludeFilters-&gt;setItems( filters );<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::IndexFolderSelectionDialog::setIndexHiddenFolders( bool enable \
)<br> &gt; +void Nepomuk2::IndexFolderSelectionDialog::setIndexHiddenFolders( bool \
enable )<br> &gt;  {<br>
&gt;      m_checkShowHiddenFolders-&gt;setChecked( enable );<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -QStringList Nepomuk::IndexFolderSelectionDialog::includeFolders() const<br>
&gt; +QStringList Nepomuk2::IndexFolderSelectionDialog::includeFolders() const<br>
&gt;  {<br>
&gt;      if ( !indexHiddenFolders() ) {<br>
&gt;          return removeHiddenFolders( m_folderModel-&gt;includeFolders() );<br>
&gt; @@ -128,7 +128,7 @@ QStringList \
Nepomuk::IndexFolderSelectionDialog::includeFolders() const<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -QStringList Nepomuk::IndexFolderSelectionDialog::excludeFolders() const<br>
&gt; +QStringList Nepomuk2::IndexFolderSelectionDialog::excludeFolders() const<br>
&gt;  {<br>
&gt;      if ( !indexHiddenFolders() ) {<br>
&gt;          return removeHiddenFolders( m_folderModel-&gt;excludeFolders() );<br>
&gt; @@ -139,13 +139,13 @@ QStringList \
Nepomuk::IndexFolderSelectionDialog::excludeFolders() const<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -QStringList Nepomuk::IndexFolderSelectionDialog::excludeFilters() const<br>
&gt; +QStringList Nepomuk2::IndexFolderSelectionDialog::excludeFilters() const<br>
&gt;  {<br>
&gt;      return m_editExcludeFilters-&gt;items();<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -bool Nepomuk::IndexFolderSelectionDialog::indexHiddenFolders() const<br>
&gt; +bool Nepomuk2::IndexFolderSelectionDialog::indexHiddenFolders() const<br>
&gt;  {<br>
&gt;      return m_checkShowHiddenFolders-&gt;isChecked();<br>
&gt;  }<br>
&gt; diff --git a/nepomuk/kcm/indexfolderselectiondialog.h \
b/nepomuk/kcm/indexfolderselectiondialog.h<br> &gt; index f87d65a..c8431d9 100644<br>
&gt; --- a/nepomuk/kcm/indexfolderselectiondialog.h<br>
&gt; +++ b/nepomuk/kcm/indexfolderselectiondialog.h<br>
&gt; @@ -24,7 +24,7 @@<br>
&gt;<br>
&gt;  class FolderSelectionModel;<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;      class IndexFolderSelectionDialog : public KDialog, public \
Ui_IndexFolderSelectionWidget<br> &gt;      {<br>
&gt;          Q_OBJECT<br>
&gt; diff --git a/nepomuk/kcm/nepomukserverkcm.cpp \
b/nepomuk/kcm/nepomukserverkcm.cpp<br> &gt; index 01f92fe..f29b331 100644<br>
&gt; --- a/nepomuk/kcm/nepomukserverkcm.cpp<br>
&gt; +++ b/nepomuk/kcm/nepomukserverkcm.cpp<br>
&gt; @@ -36,8 +36,8 @@<br>
&gt;  #include &lt;KCalendarSystem&gt;<br>
&gt;  #include &lt;KDirWatch&gt;<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/Query/QueryParser&gt;<br>
&gt; -#include &lt;Nepomuk/Query/FileQuery&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/QueryParser&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/FileQuery&gt;<br>
&gt;<br>
&gt;  #include &lt;QRadioButton&gt;<br>
&gt;  #include &lt;QInputDialog&gt;<br>
&gt; @@ -49,7 +49,7 @@<br>
&gt;  #include &lt;Soprano/Backend&gt;<br>
&gt;<br>
&gt;<br>
&gt; -K_PLUGIN_FACTORY( NepomukConfigModuleFactory, \
registerPlugin&lt;Nepomuk::ServerConfigModule&gt;(); )<br> &gt; +K_PLUGIN_FACTORY( \
NepomukConfigModuleFactory, registerPlugin&lt;Nepomuk2::ServerConfigModule&gt;(); \
)<br> &gt;  K_EXPORT_PLUGIN( NepomukConfigModuleFactory(&quot;kcm_nepomuk&quot;, \
&quot;kcm_nepomuk&quot;) )<br> &gt;<br>
&gt;<br>
&gt; @@ -130,7 +130,7 @@ namespace {<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::ServerConfigModule::ServerConfigModule( QWidget* parent, const \
QVariantList&amp; args )<br> &gt; +Nepomuk2::ServerConfigModule::ServerConfigModule( \
QWidget* parent, const QVariantList&amp; args )<br> &gt;      : KCModule( \
NepomukConfigModuleFactory::componentData(), parent, args ),<br> &gt;        \
m_serverInterface( 0 ),<br> &gt;        m_fileIndexerInterface( 0 ),<br>
&gt; @@ -234,14 +234,14 @@ Nepomuk::ServerConfigModule::ServerConfigModule( QWidget* \
parent, const QVariant<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::ServerConfigModule::~ServerConfigModule()<br>
&gt; +Nepomuk2::ServerConfigModule::~ServerConfigModule()<br>
&gt;  {<br>
&gt;      delete m_fileIndexerInterface;<br>
&gt;      delete m_serverInterface;<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::ServerConfigModule::load()<br>
&gt; +void Nepomuk2::ServerConfigModule::load()<br>
&gt;  {<br>
&gt;      if ( !m_nepomukAvailable )<br>
&gt;          return;<br>
&gt; @@ -261,7 +261,7 @@ void Nepomuk::ServerConfigModule::load()<br>
&gt;      m_indexFolderSelectionDialog-&gt;setIndexHiddenFolders( \
fileIndexerConfig.group( &quot;General&quot; ).readEntry( &quot;index hidden \
folders&quot;, false ) );<br> &gt;      m_indexFolderSelectionDialog-&gt;setFolders( \
fileIndexerConfig.group( &quot;General&quot; ).readPathEntry( &quot;folders&quot;, \
defaultFolders() ),<br> &gt;                                                \
fileIndexerConfig.group( &quot;General&quot; ).readPathEntry( &quot;exclude \
folders&quot;, QStringList() ) );<br> &gt; -    \
m_indexFolderSelectionDialog-&gt;setExcludeFilters( fileIndexerConfig.group( \
&quot;General&quot; ).readEntry( &quot;exclude filters&quot;, \
Nepomuk::defaultExcludeFilterList() ) );<br> &gt; +    \
m_indexFolderSelectionDialog-&gt;setExcludeFilters( fileIndexerConfig.group( \
&quot;General&quot; ).readEntry( &quot;exclude filters&quot;, \
Nepomuk2::defaultExcludeFilterList() ) );<br> &gt;<br>
&gt;      const bool indexNewlyMounted = fileIndexerConfig.group( \
&quot;RemovableMedia&quot; ).readEntry( &quot;index newly mounted&quot;, false );<br> \
&gt;      const bool askIndividually = fileIndexerConfig.group( \
&quot;RemovableMedia&quot; ).readEntry( &quot;ask user&quot;, false );<br> &gt; @@ \
-289,7 +289,7 @@ void Nepomuk::ServerConfigModule::load()<br> &gt;      \
buttonForQuery( Query::Query::fromString(<br> &gt;                          \
kio_nepomuksearchGeneral.readEntry(<br> &gt;                              &quot;Root \
query&quot;,<br> &gt; -                            \
Nepomuk::lastModifiedFilesQuery().toString() ) ) )-&gt;setChecked( true );<br> &gt; + \
Nepomuk2::lastModifiedFilesQuery().toString() ) ) )-&gt;setChecked( true );<br> \
&gt;<br> &gt;<br>
&gt;<br>
&gt; @@ -316,7 +316,7 @@ void Nepomuk::ServerConfigModule::load()<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::ServerConfigModule::save()<br>
&gt; +void Nepomuk2::ServerConfigModule::save()<br>
&gt;  {<br>
&gt;      if ( !m_nepomukAvailable )<br>
&gt;          return;<br>
&gt; @@ -390,7 +390,7 @@ void Nepomuk::ServerConfigModule::save()<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::ServerConfigModule::defaults()<br>
&gt; +void Nepomuk2::ServerConfigModule::defaults()<br>
&gt;  {<br>
&gt;      if ( !m_nepomukAvailable )<br>
&gt;          return;<br>
&gt; @@ -399,7 +399,7 @@ void Nepomuk::ServerConfigModule::defaults()<br>
&gt;      m_checkEnableNepomuk-&gt;setChecked( true );<br>
&gt;      m_checkEnableEmailIndexer-&gt;setChecked( true );<br>
&gt;      m_indexFolderSelectionDialog-&gt;setIndexHiddenFolders( false );<br>
&gt; -    m_indexFolderSelectionDialog-&gt;setExcludeFilters( \
Nepomuk::defaultExcludeFilterList() );<br> &gt; +    \
m_indexFolderSelectionDialog-&gt;setExcludeFilters( \
Nepomuk2::defaultExcludeFilterList() );<br> &gt;      \
m_indexFolderSelectionDialog-&gt;setFolders( defaultFolders(), QStringList() );<br> \
&gt;      m_spinMaxResults-&gt;setValue( 10 );<br> &gt;      \
m_checkRootQueryLastModified-&gt;setChecked( true );<br> &gt; @@ -408,7 +408,7 @@ \
void Nepomuk::ServerConfigModule::defaults()<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::ServerConfigModule::updateNepomukServerStatus()<br>
&gt; +void Nepomuk2::ServerConfigModule::updateNepomukServerStatus()<br>
&gt;  {<br>
&gt;      if ( m_serverInterface &amp;&amp;<br>
&gt;           m_serverInterface-&gt;isNepomukEnabled() ) {<br>
&gt; @@ -420,7 +420,7 @@ void \
Nepomuk::ServerConfigModule::updateNepomukServerStatus()<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::ServerConfigModule::setFileIndexerStatusText( const QString&amp; \
text, bool elide )<br> &gt; +void \
Nepomuk2::ServerConfigModule::setFileIndexerStatusText( const QString&amp; text, bool \
elide )<br> &gt;  {<br>
&gt;      m_labelFileIndexerStatus-&gt;setWordWrap( !elide );<br>
&gt;      m_labelFileIndexerStatus-&gt;setTextElideMode( elide ? Qt::ElideMiddle : \
Qt::ElideNone );<br> &gt; @@ -428,7 +428,7 @@ void \
Nepomuk::ServerConfigModule::setFileIndexerStatusText( const QString&amp; text,<br> \
&gt;  }<br> &gt;<br>
&gt;<br>
&gt; -void Nepomuk::ServerConfigModule::updateFileIndexerStatus()<br>
&gt; +void Nepomuk2::ServerConfigModule::updateFileIndexerStatus()<br>
&gt;  {<br>
&gt;      if ( QDBusConnection::sessionBus().interface()-&gt;isServiceRegistered( \
&quot;org.kde.nepomuk.services.nepomukfileindexer&quot; ) ) {<br> &gt;          if ( \
org::kde::nepomuk::ServiceControl( \
&quot;org.kde.nepomuk.services.nepomukfileindexer&quot;, \
&quot;/servicecontrol&quot;,<br> &gt; @@ -456,7 +456,7 @@ void \
Nepomuk::ServerConfigModule::updateFileIndexerStatus()<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::ServerConfigModule::updateBackupStatus()<br>
&gt; +void Nepomuk2::ServerConfigModule::updateBackupStatus()<br>
&gt;  {<br>
&gt;      const QString backupUrl = KStandardDirs::locateLocal( &quot;data&quot;, \
&quot;nepomuk/backupsync/backups/&quot; );<br> &gt;      QDir dir( backupUrl );<br>
&gt; @@ -475,7 +475,7 @@ void Nepomuk::ServerConfigModule::updateBackupStatus()<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::ServerConfigModule::recreateInterfaces()<br>
&gt; +void Nepomuk2::ServerConfigModule::recreateInterfaces()<br>
&gt;  {<br>
&gt;      delete m_fileIndexerInterface;<br>
&gt;      delete m_serverInterface;<br>
&gt; @@ -488,7 +488,7 @@ void Nepomuk::ServerConfigModule::recreateInterfaces()<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::ServerConfigModule::slotCustomQueryButtonClicked()<br>
&gt; +void Nepomuk2::ServerConfigModule::slotCustomQueryButtonClicked()<br>
&gt;  {<br>
&gt;      // this is a temp solution until we have a proper query builder<br>
&gt;      QString queryString = QInputDialog::getText( this,<br>
&gt; @@ -504,14 +504,14 @@ void \
Nepomuk::ServerConfigModule::slotCustomQueryButtonClicked()<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::ServerConfigModule::slotStatusDetailsClicked()<br>
&gt; +void Nepomuk2::ServerConfigModule::slotStatusDetailsClicked()<br>
&gt;  {<br>
&gt;      StatusWidget statusDialog( this );<br>
&gt;      statusDialog.exec();<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::ServerConfigModule::slotEditIndexFolders()<br>
&gt; +void Nepomuk2::ServerConfigModule::slotEditIndexFolders()<br>
&gt;  {<br>
&gt;      const QStringList oldIncludeFolders = \
m_indexFolderSelectionDialog-&gt;includeFolders();<br> &gt;      const QStringList \
oldExcludeFolders = m_indexFolderSelectionDialog-&gt;excludeFolders();<br> &gt; @@ \
-532,7 +532,7 @@ void Nepomuk::ServerConfigModule::slotEditIndexFolders()<br> &gt;  \
}<br> &gt;<br>
&gt;<br>
&gt; -void Nepomuk::ServerConfigModule::slotCustomQueryToggled( bool on )<br>
&gt; +void Nepomuk2::ServerConfigModule::slotCustomQueryToggled( bool on )<br>
&gt;  {<br>
&gt;      if ( on &amp;&amp; m_customQuery.isEmpty() ) {<br>
&gt;          slotCustomQueryButtonClicked();<br>
&gt; @@ -540,36 +540,36 @@ void Nepomuk::ServerConfigModule::slotCustomQueryToggled( \
bool on )<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -QRadioButton* Nepomuk::ServerConfigModule::buttonForQuery( const \
Query::Query&amp; query ) const<br> &gt; +QRadioButton* \
Nepomuk2::ServerConfigModule::buttonForQuery( const Query::Query&amp; query ) \
const<br> &gt;  {<br>
&gt; -    if ( query == Nepomuk::neverOpenedFilesQuery() )<br>
&gt; +    if ( query == Nepomuk2::neverOpenedFilesQuery() )<br>
&gt;          return m_checkRootQueryNeverOpened;<br>
&gt; -    else if ( query == Nepomuk::lastModifiedFilesQuery() )<br>
&gt; +    else if ( query == Nepomuk2::lastModifiedFilesQuery() )<br>
&gt;          return m_checkRootQueryLastModified;<br>
&gt; -    else if ( query == Nepomuk::mostImportantFilesQuery() )<br>
&gt; +    else if ( query == Nepomuk2::mostImportantFilesQuery() )<br>
&gt;          return m_checkRootQueryFancy;<br>
&gt;      else<br>
&gt;          return m_checkRootQueryCustom;<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::Query::Query Nepomuk::ServerConfigModule::queryForButton( \
QAbstractButton* button ) const<br> &gt; +Nepomuk2::Query::Query \
Nepomuk2::ServerConfigModule::queryForButton( QAbstractButton* button ) const<br> \
&gt;  {<br> &gt;      if ( button == m_checkRootQueryNeverOpened )<br>
&gt; -        return Nepomuk::neverOpenedFilesQuery();<br>
&gt; +        return Nepomuk2::neverOpenedFilesQuery();<br>
&gt;      else if ( button == m_checkRootQueryLastModified )<br>
&gt; -        return Nepomuk::lastModifiedFilesQuery();<br>
&gt; +        return Nepomuk2::lastModifiedFilesQuery();<br>
&gt;      else if ( button == m_checkRootQueryFancy )<br>
&gt; -        return Nepomuk::mostImportantFilesQuery();<br>
&gt; +        return Nepomuk2::mostImportantFilesQuery();<br>
&gt;      else {<br>
&gt;          // force to always only query for files<br>
&gt; -        Nepomuk::Query::FileQuery query = Query::QueryParser::parseQuery( \
m_customQuery );<br> &gt; +        Nepomuk2::Query::FileQuery query = \
Query::QueryParser::parseQuery( m_customQuery );<br> &gt;          query.setFileMode( \
Query::FileQuery::QueryFiles );<br> &gt;          return query;<br>
&gt;      }<br>
&gt;  }<br>
&gt;<br>
&gt; -void Nepomuk::ServerConfigModule::slotBackupFrequencyChanged()<br>
&gt; +void Nepomuk2::ServerConfigModule::slotBackupFrequencyChanged()<br>
&gt;  {<br>
&gt;      m_comboBackupDay-&gt;setShown(m_comboBackupFrequency-&gt;currentIndex() \
&gt;= WeeklyBackup);<br> &gt;      \
m_comboBackupDay-&gt;setDisabled(m_comboBackupFrequency-&gt;currentIndex() == \
DisableAutomaticBackups);<br> &gt; @@ -577,12 +577,12 @@ void \
Nepomuk::ServerConfigModule::slotBackupFrequencyChanged()<br> &gt;      \
m_spinBackupMax-&gt;setDisabled(m_comboBackupFrequency-&gt;currentIndex() == \
DisableAutomaticBackups);<br> &gt;  }<br>
&gt;<br>
&gt; -void Nepomuk::ServerConfigModule::slotManualBackup()<br>
&gt; +void Nepomuk2::ServerConfigModule::slotManualBackup()<br>
&gt;  {<br>
&gt;      KProcess::execute( &quot;nepomukbackup&quot;, QStringList() &lt;&lt; \
&quot;--backup&quot; );<br> &gt;  }<br>
&gt;<br>
&gt; -void Nepomuk::ServerConfigModule::slotRestoreBackup()<br>
&gt; +void Nepomuk2::ServerConfigModule::slotRestoreBackup()<br>
&gt;  {<br>
&gt;      KProcess::execute( &quot;nepomukbackup&quot;, QStringList() &lt;&lt; \
&quot;--restore&quot; );<br> &gt;  }<br>
&gt; diff --git a/nepomuk/kcm/nepomukserverkcm.h b/nepomuk/kcm/nepomukserverkcm.h<br>
&gt; index f428cd6..827525b 100644<br>
&gt; --- a/nepomuk/kcm/nepomukserverkcm.h<br>
&gt; +++ b/nepomuk/kcm/nepomukserverkcm.h<br>
&gt; @@ -24,12 +24,12 @@<br>
&gt;  #include &quot;nepomukserverinterface.h&quot;<br>
&gt;  #include &quot;fileindexerinterface.h&quot;<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/Query/Query&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/Query&gt;<br>
&gt;<br>
&gt;  class QRadioButton;<br>
&gt;  class QAbstractButton;<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;<br>
&gt;      class IndexFolderSelectionDialog;<br>
&gt;      class StatusWidget;<br>
&gt; @@ -64,7 +64,7 @@ namespace Nepomuk {<br>
&gt;          void setFileIndexerStatusText( const QString&amp; text, bool elide \
);<br> &gt;<br>
&gt;          QRadioButton* buttonForQuery( const Query::Query&amp; query ) \
const;<br> &gt; -        Nepomuk::Query::Query queryForButton( QAbstractButton* \
button ) const;<br> &gt; +        Nepomuk2::Query::Query queryForButton( \
QAbstractButton* button ) const;<br> &gt;<br>
&gt;          bool m_nepomukAvailable;<br>
&gt;<br>
&gt; diff --git a/nepomuk/kcm/statuswidget.cpp b/nepomuk/kcm/statuswidget.cpp<br>
&gt; index a9ece31..88b224f 100644<br>
&gt; --- a/nepomuk/kcm/statuswidget.cpp<br>
&gt; +++ b/nepomuk/kcm/statuswidget.cpp<br>
&gt; @@ -24,8 +24,8 @@<br>
&gt;  #include &lt;KIO/NetAccess&gt;<br>
&gt;  #include &lt;kio/directorysizejob.h&gt;<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/ResourceManager&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NFO&gt;<br>
&gt; +#include &lt;Nepomuk2/ResourceManager&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NFO&gt;<br>
&gt;<br>
&gt;  #include &lt;Soprano/Model&gt;<br>
&gt;  #include &lt;Soprano/QueryResultIterator&gt;<br>
&gt; @@ -38,7 +38,7 @@<br>
&gt;  #include &lt;QtDBus/QDBusConnectionInterface&gt;<br>
&gt;  #include &lt;QtDBus/QDBusServiceWatcher&gt;<br>
&gt;<br>
&gt; -Nepomuk::StatusWidget::StatusWidget( QWidget* parent )<br>
&gt; +Nepomuk2::StatusWidget::StatusWidget( QWidget* parent )<br>
&gt;          : KDialog( parent ),<br>
&gt;          m_connected( false ),<br>
&gt;          m_updateRunning( false ),<br>
&gt; @@ -90,12 +90,12 @@ Nepomuk::StatusWidget::StatusWidget( QWidget* parent )<br>
&gt;      updateSuspendResumeButtonText( m_fileIndexerService-&gt;isSuspended() \
);<br> &gt;  }<br>
&gt;<br>
&gt; -Nepomuk::StatusWidget::~StatusWidget()<br>
&gt; +Nepomuk2::StatusWidget::~StatusWidget()<br>
&gt;  {<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::StatusWidget::slotUpdateStoreStatus()<br>
&gt; +void Nepomuk2::StatusWidget::slotUpdateStoreStatus()<br>
&gt;  {<br>
&gt;      if ( !m_updateRunning &amp;&amp; !m_updateTimer.isActive() ) {<br>
&gt;          m_updateRunning = true;<br>
&gt; @@ -105,7 +105,7 @@ void Nepomuk::StatusWidget::slotUpdateStoreStatus()<br>
&gt;          Soprano::Util::AsyncQuery* query<br>
&gt;          = Soprano::Util::AsyncQuery::executeQuery( \
ResourceManager::instance()-&gt;mainModel(),<br> &gt;                  \
QString::fromLatin1( &quot;select count(distinct ?r) where { ?r a %1 . }&quot; )<br> \
&gt; -                .arg( Soprano::Node::resourceToN3( \
Nepomuk::Vocabulary::NFO::FileDataObject() ) ),<br> &gt; +                .arg( \
Soprano::Node::resourceToN3( Nepomuk2::Vocabulary::NFO::FileDataObject() ) ),<br> \
&gt;                  Soprano::Query::QueryLanguageSparql );<br> &gt;          \
connect( query, SIGNAL( nextReady(Soprano::Util::AsyncQuery*) ), this, SLOT( \
slotFileCountFinished(Soprano::Util::AsyncQuery*) ) );<br> &gt;      }<br>
&gt; @@ -114,7 +114,7 @@ void Nepomuk::StatusWidget::slotUpdateStoreStatus()<br>
&gt;      }<br>
&gt;  }<br>
&gt;<br>
&gt; -void Nepomuk::StatusWidget::slotFileCountFinished( Soprano::Util::AsyncQuery* \
query )<br> &gt; +void Nepomuk2::StatusWidget::slotFileCountFinished( \
Soprano::Util::AsyncQuery* query )<br> &gt;  {<br>
&gt;      m_labelFileCount-&gt;setText( i18np( &quot;1 file in index&quot;, &quot;%1 \
files in index&quot;, query-&gt;binding( 0 ).literal().toInt() ) );<br> &gt;      \
query-&gt;deleteLater();<br> &gt; @@ -125,7 +125,7 @@ void \
Nepomuk::StatusWidget::slotFileCountFinished( Soprano::Util::AsyncQuery* qu<br> &gt;  \
}<br> &gt;<br>
&gt;<br>
&gt; -void Nepomuk::StatusWidget::slotUpdateTimeout()<br>
&gt; +void Nepomuk2::StatusWidget::slotUpdateTimeout()<br>
&gt;  {<br>
&gt;      if ( m_updateRequested ) {<br>
&gt;          m_updateRequested = false;<br>
&gt; @@ -133,7 +133,7 @@ void Nepomuk::StatusWidget::slotUpdateTimeout()<br>
&gt;      }<br>
&gt;  }<br>
&gt;<br>
&gt; -void Nepomuk::StatusWidget::slotUpdateStatus()<br>
&gt; +void Nepomuk2::StatusWidget::slotUpdateStatus()<br>
&gt;  {<br>
&gt;      const bool fileIndexerInitialized =<br>
&gt;          QDBusConnection::sessionBus().interface()-&gt;isServiceRegistered(m_fileIndexerService-&gt;service()) \
&amp;&amp;<br> &gt; @@ -153,7 +153,7 @@ void \
Nepomuk::StatusWidget::slotUpdateStatus()<br> &gt;      \
updateSuspendResumeButtonText( m_fileIndexerService-&gt;isSuspended() );<br> &gt;  \
}<br> &gt;<br>
&gt; -void Nepomuk::StatusWidget::slotSuspendResume()<br>
&gt; +void Nepomuk2::StatusWidget::slotSuspendResume()<br>
&gt;  {<br>
&gt;      if ( m_fileIndexerService-&gt;isSuspended()) {<br>
&gt;          m_fileIndexerService-&gt;resume();<br>
&gt; @@ -165,7 +165,7 @@ void Nepomuk::StatusWidget::slotSuspendResume()<br>
&gt;      }<br>
&gt;  }<br>
&gt;<br>
&gt; -void Nepomuk::StatusWidget::updateSuspendResumeButtonText(bool suspended)<br>
&gt; +void Nepomuk2::StatusWidget::updateSuspendResumeButtonText(bool suspended)<br>
&gt;  {<br>
&gt;      if (!suspended) {<br>
&gt;          m_suspendResumeButton-&gt;setText( i18nc(&quot;Suspends the Nepomuk \
file indexing service.&quot;,&quot;Suspend File Indexing&quot;) );<br> &gt; @@ -175,7 \
+175,7 @@ void Nepomuk::StatusWidget::updateSuspendResumeButtonText(bool \
suspended)<br> &gt;      }<br>
&gt;  }<br>
&gt;<br>
&gt; -void Nepomuk::StatusWidget::showEvent( QShowEvent* event )<br>
&gt; +void Nepomuk2::StatusWidget::showEvent( QShowEvent* event )<br>
&gt;  {<br>
&gt;      if ( !m_connected ) {<br>
&gt;          connect( ResourceManager::instance()-&gt;mainModel(), SIGNAL( \
statementsAdded() ),<br> &gt; @@ -192,7 +192,7 @@ void \
Nepomuk::StatusWidget::showEvent( QShowEvent* event )<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::StatusWidget::hideEvent( QHideEvent* event )<br>
&gt; +void Nepomuk2::StatusWidget::hideEvent( QHideEvent* event )<br>
&gt;  {<br>
&gt;      if ( m_connected ) {<br>
&gt;          ResourceManager::instance()-&gt;mainModel()-&gt;disconnect( this );<br>
&gt; diff --git a/nepomuk/kcm/statuswidget.h b/nepomuk/kcm/statuswidget.h<br>
&gt; index b7af01e..ab951f3 100644<br>
&gt; --- a/nepomuk/kcm/statuswidget.h<br>
&gt; +++ b/nepomuk/kcm/statuswidget.h<br>
&gt; @@ -37,7 +37,7 @@ class AsyncQuery;<br>
&gt;  }<br>
&gt;  }<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;<br>
&gt;<br>
&gt;  class StatusWidget : public KDialog, public Ui::StatusWidget<br>
&gt; diff --git a/nepomuk/kioslaves/common/nepomuksearchurltools.h \
b/nepomuk/kioslaves/common/nepomuksearchurltools.h<br> &gt; index 54abd27..deccc34 \
100644<br> &gt; --- a/nepomuk/kioslaves/common/nepomuksearchurltools.h<br>
&gt; +++ b/nepomuk/kioslaves/common/nepomuksearchurltools.h<br>
&gt; @@ -22,14 +22,14 @@<br>
&gt;<br>
&gt;  #include &lt;QtCore/QString&gt;<br>
&gt;<br>
&gt; -#include &lt;nepomuk/query.h&gt;<br>
&gt; -#include &lt;nepomuk/queryparser.h&gt;<br>
&gt; +#include &lt;nepomuk2/query.h&gt;<br>
&gt; +#include &lt;nepomuk2/queryparser.h&gt;<br>
&gt;<br>
&gt;  #include &lt;kurl.h&gt;<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NIE&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NIE&gt;<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;      /**<br>
&gt;       * Encode the resource URI into the UDS_NAME to make it unique.<br>
&gt;       * It is important that we do not use the % for percent-encoding. Otherwise \
KUrl::url will<br> &gt; diff --git a/nepomuk/kioslaves/common/resourcestat.cpp \
b/nepomuk/kioslaves/common/resourcestat.cpp<br> &gt; index 5aeefc6..a259ba5 \
100644<br> &gt; --- a/nepomuk/kioslaves/common/resourcestat.cpp<br>
&gt; +++ b/nepomuk/kioslaves/common/resourcestat.cpp<br>
&gt; @@ -31,16 +31,16 @@<br>
&gt;  #include &lt;kio/udsentry.h&gt;<br>
&gt;  #include &lt;KDebug&gt;<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/Thing&gt;<br>
&gt; -#include &lt;Nepomuk/Variant&gt;<br>
&gt; -#include &lt;Nepomuk/Types/Class&gt;<br>
&gt; -#include &lt;Nepomuk/ResourceManager&gt;<br>
&gt; -#include &lt;Nepomuk/Query/Query&gt;<br>
&gt; -#include &lt;Nepomuk/Query/ComparisonTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/ResourceTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NFO&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NIE&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/PIMO&gt;<br>
&gt; +#include &lt;Nepomuk2/Thing&gt;<br>
&gt; +#include &lt;Nepomuk2/Variant&gt;<br>
&gt; +#include &lt;Nepomuk2/Types/Class&gt;<br>
&gt; +#include &lt;Nepomuk2/ResourceManager&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/Query&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/ComparisonTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/ResourceTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NFO&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NIE&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/PIMO&gt;<br>
&gt;<br>
&gt;  #include &lt;Soprano/Vocabulary/RDF&gt;<br>
&gt;  #include &lt;Soprano/Vocabulary/NAO&gt;<br>
&gt; @@ -53,7 +53,7 @@<br>
&gt;  #include &lt;Solid/StorageAccess&gt;<br>
&gt;<br>
&gt;<br>
&gt; -KUrl Nepomuk::stripQuery( const KUrl&amp; url )<br>
&gt; +KUrl Nepomuk2::stripQuery( const KUrl&amp; url )<br>
&gt;  {<br>
&gt;      KUrl newUrl( url );<br>
&gt;      newUrl.setEncodedQuery( QByteArray() );<br>
&gt; @@ -61,7 +61,7 @@ KUrl Nepomuk::stripQuery( const KUrl&amp; url )<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::Resource Nepomuk::splitNepomukUrl( const KUrl&amp; url, QString* \
filename )<br> &gt; +Nepomuk2::Resource Nepomuk2::splitNepomukUrl( const KUrl&amp; \
url, QString* filename )<br> &gt;  {<br>
&gt;      //<br>
&gt;      // let&#39;s try to extract the resource from the url in case we listed a \
tag or<br> &gt; @@ -88,10 +88,10 @@ Nepomuk::Resource Nepomuk::splitNepomukUrl( const \
KUrl&amp; url, QString* filename )<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -bool Nepomuk::isRemovableMediaFile( const Nepomuk::Resource&amp; res )<br>
&gt; +bool Nepomuk2::isRemovableMediaFile( const Nepomuk2::Resource&amp; res )<br>
&gt;  {<br>
&gt; -    if ( res.hasProperty( Nepomuk::Vocabulary::NIE::url() ) ) {<br>
&gt; -        KUrl url = res.property( Nepomuk::Vocabulary::NIE::url() ).toUrl();<br>
&gt; +    if ( res.hasProperty( Nepomuk2::Vocabulary::NIE::url() ) ) {<br>
&gt; +        KUrl url = res.property( Nepomuk2::Vocabulary::NIE::url() \
).toUrl();<br> &gt;          return ( url.protocol() == QLatin1String( \
&quot;filex&quot; ) );<br> &gt;      }<br>
&gt;      else {<br>
&gt; @@ -100,7 +100,7 @@ bool Nepomuk::isRemovableMediaFile( const \
Nepomuk::Resource&amp; res )<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Solid::StorageAccess* Nepomuk::storageFromUUID( const QString&amp; uuid )<br>
&gt; +Solid::StorageAccess* Nepomuk2::storageFromUUID( const QString&amp; uuid )<br>
&gt;  {<br>
&gt;      QString solidQuery = QString::fromLatin1( &quot;[ \
StorageVolume.usage==&#39;FileSystem&#39; AND StorageVolume.uuid==&#39;%1&#39; \
]&quot; ).arg( uuid.toLower() );<br> &gt;      QList&lt;Solid::Device&gt; devices = \
Solid::Device::listFromQuery( solidQuery );<br> &gt; @@ -112,7 +112,7 @@ \
Solid::StorageAccess* Nepomuk::storageFromUUID( const QString&amp; uuid )<br> &gt;  \
}<br> &gt;<br>
&gt;<br>
&gt; -bool Nepomuk::mountAndWait( Solid::StorageAccess* storage )<br>
&gt; +bool Nepomuk2::mountAndWait( Solid::StorageAccess* storage )<br>
&gt;  {<br>
&gt;      kDebug() &lt;&lt; storage;<br>
&gt;      QEventLoop loop;<br>
&gt; @@ -131,12 +131,12 @@ bool Nepomuk::mountAndWait( Solid::StorageAccess* storage \
)<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -KUrl Nepomuk::determineFilesystemPath( const Nepomuk::Resource&amp; fsRes )<br>
&gt; +KUrl Nepomuk2::determineFilesystemPath( const Nepomuk2::Resource&amp; fsRes \
)<br> &gt;  {<br>
&gt;      QString uuidQuery = QString::fromLatin1( &quot;select ?uuid where { %1 %2 \
?uuid . }&quot; )<br> &gt;                          .arg( \
Soprano::Node::resourceToN3( fsRes.resourceUri() ),<br> &gt;                          \
Soprano::Node::resourceToN3( Soprano::Vocabulary::NAO::identifier() ) );<br> &gt; -   \
Soprano::QueryResultIterator it = \
Nepomuk::ResourceManager::instance()-&gt;mainModel()-&gt;executeQuery( uuidQuery, \
Soprano::Query::QueryLanguageSparql );<br> &gt; +    Soprano::QueryResultIterator it \
= Nepomuk2::ResourceManager::instance()-&gt;mainModel()-&gt;executeQuery( uuidQuery, \
Soprano::Query::QueryLanguageSparql );<br> &gt;      if ( it.next() ) {<br>
&gt;          Solid::StorageAccess* storage = storageFromUUID( \
it[&quot;uuid&quot;].toString() );<br> &gt;          it.close();<br>
&gt; @@ -150,10 +150,10 @@ KUrl Nepomuk::determineFilesystemPath( const \
Nepomuk::Resource&amp; fsRes )<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -QString Nepomuk::getFileSystemLabelForRemovableMediaFileUrl( const \
Nepomuk::Resource&amp; res )<br> &gt; +QString \
Nepomuk2::getFileSystemLabelForRemovableMediaFileUrl( const Nepomuk2::Resource&amp; \
res )<br> &gt;  {<br>
&gt;      QList&lt;Soprano::Node&gt; labelNodes<br>
&gt; -        = Nepomuk::ResourceManager::instance()-&gt;mainModel()-&gt;executeQuery( \
QString::fromLatin1( &quot;select ?label where { &quot;<br> &gt; +        = \
Nepomuk2::ResourceManager::instance()-&gt;mainModel()-&gt;executeQuery( \
QString::fromLatin1( &quot;select ?label where { &quot;<br> &gt;                      \
&quot;%1 nie:isPartOf ?fs . &quot;<br> &gt;                                           \
&quot;?fs a nfo:Filesystem . &quot;<br> &gt;                                          \
&quot;?fs nao:prefLabel ?label . &quot;<br> &gt; @@ -164,17 +164,17 @@ QString \
Nepomuk::getFileSystemLabelForRemovableMediaFileUrl( const Nepomuk::Reso<br> &gt;     \
if ( !labelNodes.isEmpty() )<br> &gt;          return \
labelNodes.first().toString();<br> &gt;      else<br>
&gt; -        return res.property( Nepomuk::Vocabulary::NIE::url() ).toUrl().host(); \
// Solid UUID<br> &gt; +        return res.property( Nepomuk2::Vocabulary::NIE::url() \
).toUrl().host(); // Solid UUID<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -KUrl Nepomuk::convertRemovableMediaFileUrl( const KUrl&amp; url, bool \
evenMountIfNecessary )<br> &gt; +KUrl Nepomuk2::convertRemovableMediaFileUrl( const \
KUrl&amp; url, bool evenMountIfNecessary )<br> &gt;  {<br>
&gt; -    Solid::StorageAccess* storage = Nepomuk::storageFromUUID( url.host() );<br>
&gt; +    Solid::StorageAccess* storage = Nepomuk2::storageFromUUID( url.host() \
);<br> &gt;      kDebug() &lt;&lt; url &lt;&lt; storage;<br>
&gt;      if ( storage &amp;&amp;<br>
&gt;           ( storage-&gt;isAccessible() ||<br>
&gt; -           ( evenMountIfNecessary &amp;&amp; Nepomuk::mountAndWait( storage ) ) \
) ) {<br> &gt; +           ( evenMountIfNecessary &amp;&amp; Nepomuk2::mountAndWait( \
storage ) ) ) ) {<br> &gt;          kDebug() &lt;&lt; &quot;converted:&quot; &lt;&lt; \
KUrl( storage-&gt;filePath() + QLatin1String( &quot;/&quot; ) + url.path() );<br> \
&gt;          return QString( storage-&gt;filePath() + QLatin1String( &quot;/&quot; ) \
+ url.path() );<br> &gt;      }<br>
&gt; @@ -184,7 +184,7 @@ KUrl Nepomuk::convertRemovableMediaFileUrl( const KUrl&amp; \
url, bool evenMountIfNec<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::addGenericNepomukResourceData( const Nepomuk::Resource&amp; res, \
KIO::UDSEntry&amp; uds, bool includeMimeType )<br> &gt; +void \
Nepomuk2::addGenericNepomukResourceData( const Nepomuk2::Resource&amp; res, \
KIO::UDSEntry&amp; uds, bool includeMimeType )<br> &gt;  {<br>
&gt;      //<br>
&gt;      // Add some random values<br>
&gt; @@ -216,7 +216,7 @@ void Nepomuk::addGenericNepomukResourceData( const \
Nepomuk::Resource&amp; res, KIO::<br> &gt;<br>
&gt;      if ( includeMimeType ) {<br>
&gt;          // Use nice display types like &quot;Person&quot;, &quot;Project&quot; \
and so on<br> &gt; -        Nepomuk::Types::Class type( res.resourceType() );<br>
&gt; +        Nepomuk2::Types::Class type( res.resourceType() );<br>
&gt;          if (!type.label().isEmpty())<br>
&gt;              uds.insert( KIO::UDSEntry::UDS_DISPLAY_TYPE, type.label() );<br>
&gt;<br>
&gt; @@ -235,7 +235,7 @@ void Nepomuk::addGenericNepomukResourceData( const \
Nepomuk::Resource&amp; res, KIO::<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -KIO::UDSEntry Nepomuk::statNepomukResource( const Nepomuk::Resource&amp; res, \
bool doNotForward )<br> &gt; +KIO::UDSEntry Nepomuk2::statNepomukResource( const \
Nepomuk2::Resource&amp; res, bool doNotForward )<br> &gt;  {<br>
&gt;      //<br>
&gt;      // We do not have a local file<br>
&gt; @@ -289,7 +289,7 @@ KIO::UDSEntry Nepomuk::statNepomukResource( const \
Nepomuk::Resource&amp; res, bool d<br> &gt;      addGenericNepomukResourceData( res, \
uds, !uds.contains( KIO::UDSEntry::UDS_MIME_TYPE ) );<br> &gt;<br>
&gt;      if ( !doNotForward ) {<br>
&gt; -        KUrl reUrl = Nepomuk::redirectionUrl( res );<br>
&gt; +        KUrl reUrl = Nepomuk2::redirectionUrl( res );<br>
&gt;          if ( !reUrl.isEmpty() ) {<br>
&gt;              uds.insert( KIO::UDSEntry::UDS_MIME_TYPE, QLatin1String( \
&quot;inode/directory&quot; ) );<br> &gt;              uds.insert( \
KIO::UDSEntry::UDS_FILE_TYPE, S_IFDIR );<br> &gt; @@ -300,25 +300,25 @@ KIO::UDSEntry \
Nepomuk::statNepomukResource( const Nepomuk::Resource&amp; res, bool d<br> &gt;  \
}<br> &gt;<br>
&gt;<br>
&gt; -bool Nepomuk::willBeRedirected( const Nepomuk::Resource&amp; res )<br>
&gt; +bool Nepomuk2::willBeRedirected( const Nepomuk2::Resource&amp; res )<br>
&gt;  {<br>
&gt;      // here the same canditions as in redirectionUrl need to be listed<br>
&gt; -    return( res.hasType( Nepomuk::Vocabulary::NFO::Folder() ) ||<br>
&gt; +    return( res.hasType( Nepomuk2::Vocabulary::NFO::Folder() ) ||<br>
&gt;              res.hasType( Soprano::Vocabulary::NAO::Tag() ) ||<br>
&gt; -            res.hasType( Nepomuk::Vocabulary::NFO::Filesystem() ) ||<br>
&gt; -            !res.hasType( Nepomuk::Vocabulary::NFO::FileDataObject() ) );<br>
&gt; +            res.hasType( Nepomuk2::Vocabulary::NFO::Filesystem() ) ||<br>
&gt; +            !res.hasType( Nepomuk2::Vocabulary::NFO::FileDataObject() ) );<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -KUrl Nepomuk::redirectionUrl( const Nepomuk::Resource&amp; res )<br>
&gt; +KUrl Nepomuk2::redirectionUrl( const Nepomuk2::Resource&amp; res )<br>
&gt;  {<br>
&gt;      // list folders by forwarding to the actual folder on disk<br>
&gt; -    if ( res.hasType( Nepomuk::Vocabulary::NFO::Folder() ) ) {<br>
&gt; -        return res.property( Nepomuk::Vocabulary::NIE::url() ).toUrl();<br>
&gt; +    if ( res.hasType( Nepomuk2::Vocabulary::NFO::Folder() ) ) {<br>
&gt; +        return res.property( Nepomuk2::Vocabulary::NIE::url() ).toUrl();<br>
&gt;      }<br>
&gt;<br>
&gt;      // list filesystems by forwarding to the mounted path on disk (in case the \
fs is mounted)<br> &gt; -    else if ( res.hasType( \
Nepomuk::Vocabulary::NFO::Filesystem() ) ) {<br> &gt; +    else if ( res.hasType( \
Nepomuk2::Vocabulary::NFO::Filesystem() ) ) {<br> &gt;          KUrl fsUrl = \
determineFilesystemPath( res );<br> &gt;          if ( fsUrl.isValid() ) {<br>
&gt;              return fsUrl;<br>
&gt; @@ -335,7 +335,7 @@ KUrl Nepomuk::redirectionUrl( const Nepomuk::Resource&amp; \
res )<br> &gt;<br>
&gt;      // list everything else besides files by querying things related to the \
resource in some way<br> &gt;      // this works for music albums or artists but it \
would also work for tags<br> &gt; -    else if ( !res.hasType( \
Nepomuk::Vocabulary::NFO::FileDataObject() ) ) {<br> &gt; +    else if ( \
!res.hasType( Nepomuk2::Vocabulary::NFO::FileDataObject() ) ) {<br> &gt;          \
Query::ComparisonTerm term( QUrl(), Query::ResourceTerm( res ), \
Query::ComparisonTerm::Equal );<br> &gt;          KUrl url = Query::Query( term \
).toSearchUrl( res.genericLabel() );<br> &gt;          url.addQueryItem( \
QLatin1String( &quot;resource&quot; ), KUrl( res.resourceUri() ).url() );<br> &gt; @@ \
-352,10 +352,10 @@ namespace {<br> &gt;      /**<br>
&gt;       * Check if the resource represents a local file with an existing nie:url \
property.<br> &gt;       */<br>
&gt; -    bool isLocalFile( const Nepomuk::Resource&amp; res )<br>
&gt; +    bool isLocalFile( const Nepomuk2::Resource&amp; res )<br>
&gt;      {<br>
&gt; -        if ( res.hasProperty( Nepomuk::Vocabulary::NIE::url() ) ) {<br>
&gt; -            KUrl url = res.property( Nepomuk::Vocabulary::NIE::url() \
).toUrl();<br> &gt; +        if ( res.hasProperty( Nepomuk2::Vocabulary::NIE::url() ) \
) {<br> &gt; +            KUrl url = res.property( Nepomuk2::Vocabulary::NIE::url() \
).toUrl();<br> &gt;              return ( !url.isEmpty() &amp;&amp;<br>
&gt;                       QFile::exists( url.toLocalFile() ) );<br>
&gt;          }<br>
&gt; @@ -365,10 +365,10 @@ namespace {<br>
&gt;      }<br>
&gt;  }<br>
&gt;<br>
&gt; -KUrl Nepomuk::nepomukToFileUrl( const KUrl&amp; url, bool evenMountIfNecessary \
)<br> &gt; +KUrl Nepomuk2::nepomukToFileUrl( const KUrl&amp; url, bool \
evenMountIfNecessary )<br> &gt;  {<br>
&gt;      QString filename;<br>
&gt; -    Nepomuk::Resource res = splitNepomukUrl( url, &amp;filename );<br>
&gt; +    Nepomuk2::Resource res = splitNepomukUrl( url, &amp;filename );<br>
&gt;<br>
&gt;      if ( !res.exists() )<br>
&gt;          return KUrl();<br>
&gt; @@ -378,7 +378,7 @@ KUrl Nepomuk::nepomukToFileUrl( const KUrl&amp; url, bool \
evenMountIfNecessary )<br> &gt;      //<br>
&gt;      // let&#39;s see if it is a pimo thing which refers to a file<br>
&gt;      //<br>
&gt; -    if ( res.hasType( Nepomuk::Vocabulary::PIMO::Thing() ) ) {<br>
&gt; +    if ( res.hasType( Nepomuk2::Vocabulary::PIMO::Thing() ) ) {<br>
&gt;          if ( !res.pimoThing().groundingOccurrences().isEmpty() ) {<br>
&gt;              res = res.pimoThing().groundingOccurrences().first();<br>
&gt;          }<br>
&gt; @@ -388,7 +388,7 @@ KUrl Nepomuk::nepomukToFileUrl( const KUrl&amp; url, bool \
evenMountIfNecessary )<br> &gt;          newURL = res.property( \
Vocabulary::NIE::url() ).toUrl();<br> &gt;      }<br>
&gt;      else if ( isRemovableMediaFile( res ) ) {<br>
&gt; -        const KUrl removableMediaUrl = res.property( \
Nepomuk::Vocabulary::NIE::url() ).toUrl();<br> &gt; +        const KUrl \
removableMediaUrl = res.property( Nepomuk2::Vocabulary::NIE::url() ).toUrl();<br> \
&gt;          newURL = convertRemovableMediaFileUrl( removableMediaUrl, \
evenMountIfNecessary );<br> &gt;      }<br>
&gt;<br>
&gt; diff --git a/nepomuk/kioslaves/common/resourcestat.h \
b/nepomuk/kioslaves/common/resourcestat.h<br> &gt; index 6f6126b..a8d80a9 100644<br>
&gt; --- a/nepomuk/kioslaves/common/resourcestat.h<br>
&gt; +++ b/nepomuk/kioslaves/common/resourcestat.h<br>
&gt; @@ -30,7 +30,7 @@ namespace Solid {<br>
&gt;      class StorageAccess;<br>
&gt;  }<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;<br>
&gt;      class Resource;<br>
&gt;<br>
&gt; @@ -43,13 +43,13 @@ namespace Nepomuk {<br>
&gt;       * Split the filename part off a nepomuk:/ URI. This is used in many \
methods for identifying<br> &gt;       * entries listed from tags and \
filesystems.<br> &gt;       */<br>
&gt; -    Nepomuk::Resource splitNepomukUrl( const KUrl&amp; url, QString* filename = \
0 );<br> &gt; +    Nepomuk2::Resource splitNepomukUrl( const KUrl&amp; url, QString* \
filename = 0 );<br> &gt;<br>
&gt;      /**<br>
&gt;       * Check if the resource represents a file on a removable media using a \
filex:/<br> &gt;       * URL.<br>
&gt;       */<br>
&gt; -    bool isRemovableMediaFile( const Nepomuk::Resource&amp; res );<br>
&gt; +    bool isRemovableMediaFile( const Nepomuk2::Resource&amp; res );<br>
&gt;<br>
&gt;      /**<br>
&gt;       * Create a Solid storage access interface from the volume UUID.<br>
&gt; @@ -65,12 +65,12 @@ namespace Nepomuk {<br>
&gt;      /**<br>
&gt;       * Get the mount path of a nfo:Filesystem resource as created by the \
removable storage service.<br> &gt;       */<br>
&gt; -    KUrl determineFilesystemPath( const Nepomuk::Resource&amp; fsRes );<br>
&gt; +    KUrl determineFilesystemPath( const Nepomuk2::Resource&amp; fsRes );<br>
&gt;<br>
&gt;      /**<br>
&gt;       * Determine the label for a filesystem \p res is stored on.<br>
&gt;       */<br>
&gt; -    QString getFileSystemLabelForRemovableMediaFileUrl( const \
Nepomuk::Resource&amp; res );<br> &gt; +    QString \
getFileSystemLabelForRemovableMediaFileUrl( const Nepomuk2::Resource&amp; res );<br> \
&gt;<br> &gt;      /**<br>
&gt;       * Convert a filex:/ URL into its actual local file URL.<br>
&gt; @@ -82,24 +82,24 @@ namespace Nepomuk {<br>
&gt;       */<br>
&gt;      KUrl convertRemovableMediaFileUrl( const KUrl&amp; url, bool \
evenMountIfNecessary = false );<br> &gt;<br>
&gt; -    void addGenericNepomukResourceData( const Nepomuk::Resource&amp; res, \
KIO::UDSEntry&amp; uds, bool includeMimeType = true );<br> &gt; +    void \
addGenericNepomukResourceData( const Nepomuk2::Resource&amp; res, KIO::UDSEntry&amp; \
uds, bool includeMimeType = true );<br> &gt;<br>
&gt;      /**<br>
&gt;       * Stat a Nepomuk resource. Might start a local event loop<br>
&gt;       */<br>
&gt; -    KIO::UDSEntry statNepomukResource( const Nepomuk::Resource&amp; res, bool \
doNotForward = false );<br> &gt; +    KIO::UDSEntry statNepomukResource( const \
Nepomuk2::Resource&amp; res, bool doNotForward = false );<br> &gt;<br>
&gt;      /**<br>
&gt;       * \return \p true for all resources that will get a valid redirection url \
in<br> &gt;       * redirectionUrl().<br>
&gt;       */<br>
&gt; -    bool willBeRedirected( const Nepomuk::Resource&amp; res );<br>
&gt; +    bool willBeRedirected( const Nepomuk2::Resource&amp; res );<br>
&gt;<br>
&gt;      /**<br>
&gt;       * Create a redirection query URL for resources such as tags or \
filesystems.<br> &gt;       * For other resources an empty KUrl is returned.<br>
&gt;       */<br>
&gt; -    KUrl redirectionUrl( const Nepomuk::Resource&amp; res );<br>
&gt; +    KUrl redirectionUrl( const Nepomuk2::Resource&amp; res );<br>
&gt;<br>
&gt;      /**<br>
&gt;       * Convert a nepomuk:/ URL to a file:/ URL if possible.<br>
&gt; diff --git a/nepomuk/kioslaves/common/standardqueries.h \
b/nepomuk/kioslaves/common/standardqueries.h<br> &gt; index bd33ee2..a6fa173 \
100644<br> &gt; --- a/nepomuk/kioslaves/common/standardqueries.h<br>
&gt; +++ b/nepomuk/kioslaves/common/standardqueries.h<br>
&gt; @@ -20,27 +20,27 @@<br>
&gt;  #ifndef _NEPOMUK_STANDARD_QUERIES_H_<br>
&gt;  #define _NEPOMUK_STANDARD_QUERIES_H_<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/Query/FileQuery&gt;<br>
&gt; -#include &lt;Nepomuk/Query/ComparisonTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/AndTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/OrTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/LiteralTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/NegationTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/ResourceTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/FileQuery&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/ComparisonTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/AndTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/OrTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/LiteralTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/NegationTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/ResourceTerm&gt;<br>
&gt;<br>
&gt;  #include &lt;Soprano/Vocabulary/NAO&gt;<br>
&gt;  #include &lt;Soprano/Vocabulary/RDF&gt;<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NIE&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NFO&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NUAO&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NIE&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NFO&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NUAO&gt;<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;      /**<br>
&gt;       * Creates a query that returns all files sorted by descending modification \
date.<br> &gt;       */<br>
&gt;      inline Query::Query lastModifiedFilesQuery() {<br>
&gt; -        Query::ComparisonTerm lastModifiedTerm( \
Nepomuk::Vocabulary::NIE::lastModified(), Query::Term() );<br> &gt; +        \
Query::ComparisonTerm lastModifiedTerm( Nepomuk2::Vocabulary::NIE::lastModified(), \
Query::Term() );<br> &gt;          lastModifiedTerm.setSortWeight( 1, \
Qt::DescendingOrder );<br> &gt;          Query::FileQuery lastModifiedQuery( \
lastModifiedTerm );<br> &gt;          lastModifiedQuery.setFileMode( \
Query::FileQuery::QueryFiles );<br> &gt; @@ -69,12 +69,12 @@ namespace Nepomuk {<br>
&gt;          // 2. no property at all<br>
&gt;          Query::OrTerm usageCntTerm(<br>
&gt;              Query::ComparisonTerm(<br>
&gt; -                Nepomuk::Vocabulary::NUAO::usageCount(),<br>
&gt; +                Nepomuk2::Vocabulary::NUAO::usageCount(),<br>
&gt;                  Query::LiteralTerm( 0 ),<br>
&gt;                  Query::ComparisonTerm::Equal ),<br>
&gt;              Query::NegationTerm::negateTerm(<br>
&gt;                  Query::ComparisonTerm(<br>
&gt; -                    Nepomuk::Vocabulary::NUAO::usageCount(),<br>
&gt; +                    Nepomuk2::Vocabulary::NUAO::usageCount(),<br>
&gt;                      Query::Term() ) ) );<br>
&gt;<br>
&gt;          // Before we had the data management service there was no usage \
count<br> &gt; @@ -83,7 +83,7 @@ namespace Nepomuk {<br>
&gt;          // However, by default we only show the top 10 results. Thus, in \
the<br> &gt;          // worst case this query will return the same as \
lastModifiedFilesQuery().<br> &gt;          Query::ComparisonTerm modDateTerm(<br>
&gt; -            Nepomuk::Vocabulary::NIE::lastModified(),<br>
&gt; +            Nepomuk2::Vocabulary::NIE::lastModified(),<br>
&gt;              Query::Term() );<br>
&gt;          modDateTerm.setSortWeight( 1, Qt::DescendingOrder );<br>
&gt;<br>
&gt; diff --git a/nepomuk/kioslaves/common/timelinetools.cpp \
b/nepomuk/kioslaves/common/timelinetools.cpp<br> &gt; index f65bbd5..22cd561 \
100644<br> &gt; --- a/nepomuk/kioslaves/common/timelinetools.cpp<br>
&gt; +++ b/nepomuk/kioslaves/common/timelinetools.cpp<br>
&gt; @@ -24,16 +24,16 @@<br>
&gt;  #include &lt;Soprano/Node&gt;<br>
&gt;  #include &lt;Soprano/Vocabulary/XMLSchema&gt;<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NFO&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NIE&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NUAO&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NFO&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NIE&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NUAO&gt;<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/Query/FileQuery&gt;<br>
&gt; -#include &lt;Nepomuk/Query/AndTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/OrTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/ComparisonTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/LiteralTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/StandardQuery&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/FileQuery&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/AndTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/OrTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/ComparisonTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/LiteralTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/StandardQuery&gt;<br>
&gt;<br>
&gt;  #include &lt;KUrl&gt;<br>
&gt;  #include &lt;KCalendarSystem&gt;<br>
&gt; @@ -85,7 +85,7 @@ namespace {<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::TimelineFolderType Nepomuk::parseTimelineUrl( const KUrl&amp; url, \
QDate* date, QString* filename )<br> &gt; +Nepomuk2::TimelineFolderType \
Nepomuk2::parseTimelineUrl( const KUrl&amp; url, QDate* date, QString* filename )<br> \
&gt;  {<br> &gt;      kDebug() &lt;&lt; url;<br>
&gt;<br>
&gt; @@ -149,9 +149,9 @@ Nepomuk::TimelineFolderType Nepomuk::parseTimelineUrl( const \
KUrl&amp; url, QDate* d<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::Query::Query Nepomuk::buildTimelineQuery( const QDate&amp; from, const \
QDate&amp; to )<br> &gt; +Nepomuk2::Query::Query Nepomuk2::buildTimelineQuery( const \
QDate&amp; from, const QDate&amp; to )<br> &gt;  {<br>
&gt; -    Nepomuk::Query::FileQuery query = Nepomuk::Query::dateRangeQuery( from, \
to.isValid() ? to : from );<br> &gt; +    Nepomuk2::Query::FileQuery query = \
Nepomuk2::Query::dateRangeQuery( from, to.isValid() ? to : from );<br> &gt;      \
query.setFileMode( Query::FileQuery::QueryFiles );<br> &gt;      return query;<br>
&gt;  }<br>
&gt; diff --git a/nepomuk/kioslaves/common/timelinetools.h \
b/nepomuk/kioslaves/common/timelinetools.h<br> &gt; index f1b53ed..51a956a 100644<br>
&gt; --- a/nepomuk/kioslaves/common/timelinetools.h<br>
&gt; +++ b/nepomuk/kioslaves/common/timelinetools.h<br>
&gt; @@ -25,9 +25,9 @@ class QString;<br>
&gt;<br>
&gt;  #include &lt;QtCore/QDate&gt;<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/Query/Query&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/Query&gt;<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;      /**<br>
&gt;       * The hierarchy in timeline:/ looks as follows:<br>
&gt;       *<br>
&gt; diff --git a/nepomuk/kioslaves/nepomuk/CMakeLists.txt \
b/nepomuk/kioslaves/nepomuk/CMakeLists.txt<br> &gt; index de856ac..318390b 100644<br>
&gt; --- a/nepomuk/kioslaves/nepomuk/CMakeLists.txt<br>
&gt; +++ b/nepomuk/kioslaves/nepomuk/CMakeLists.txt<br>
&gt; @@ -1,6 +1,7 @@<br>
&gt;  include_directories(<br>
&gt;    ${KDE4_INCLUDES}<br>
&gt;    ${CMAKE_CURRENT_BINARY_DIR}<br>
&gt; +  ${NEPOMUK_CORE_INCLUDE_DIR}<br>
&gt;    ${nepomuk_kio_slaves_SOURCE_DIR}/common<br>
&gt;  )<br>
&gt;<br>
&gt; @@ -15,9 +16,7 @@ target_link_libraries(kio_nepomuk<br>
&gt;    nepomukcommon<br>
&gt;    ${KDE4_KIO_LIBS}<br>
&gt;    ${KDE4_SOLID_LIBS}<br>
&gt; -  ${NEPOMUK_LIBRARIES}<br>
&gt; -  ${NEPOMUK_QUERY_LIBRARIES}<br>
&gt; -  ${NEPOMUK_UTILS_LIBRARIES}<br>
&gt; +  ${NEPOMUK_CORE_LIBRARIES}<br>
&gt;    ${SOPRANO_LIBRARIES})<br>
&gt;<br>
&gt;  install(TARGETS kio_nepomuk DESTINATION ${PLUGIN_INSTALL_DIR})<br>
&gt; diff --git a/nepomuk/kioslaves/nepomuk/kio_nepomuk.cpp \
b/nepomuk/kioslaves/nepomuk/kio_nepomuk.cpp<br> &gt; index 262dfe4..ae613b4 \
100644<br> &gt; --- a/nepomuk/kioslaves/nepomuk/kio_nepomuk.cpp<br>
&gt; +++ b/nepomuk/kioslaves/nepomuk/kio_nepomuk.cpp<br>
&gt; @@ -37,17 +37,17 @@<br>
&gt;  #include &lt;KMessageBox&gt;<br>
&gt;  #include &lt;KMimeType&gt;<br>
&gt;<br>
&gt; -#include &lt;nepomuk/thing.h&gt;<br>
&gt; -#include &lt;nepomuk/resourcemanager.h&gt;<br>
&gt; -#include &lt;nepomuk/variant.h&gt;<br>
&gt; -#include &lt;nepomuk/class.h&gt;<br>
&gt; -#include &lt;nepomuk/property.h&gt;<br>
&gt; -#include &lt;Nepomuk/Query/Query&gt;<br>
&gt; -#include &lt;Nepomuk/Query/ComparisonTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/ResourceTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NFO&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NIE&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/PIMO&gt;<br>
&gt; +#include &lt;nepomuk2/thing.h&gt;<br>
&gt; +#include &lt;nepomuk2/resourcemanager.h&gt;<br>
&gt; +#include &lt;nepomuk2/variant.h&gt;<br>
&gt; +#include &lt;nepomuk2/class.h&gt;<br>
&gt; +#include &lt;nepomuk2/property.h&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/Query&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/ComparisonTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/ResourceTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NFO&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NIE&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/PIMO&gt;<br>
&gt;<br>
&gt;  #include &lt;Soprano/Vocabulary/RDF&gt;<br>
&gt;  #include &lt;Soprano/Vocabulary/NAO&gt;<br>
&gt; @@ -66,19 +66,19 @@ namespace {<br>
&gt;      }<br>
&gt;  }<br>
&gt;<br>
&gt; -Nepomuk::NepomukProtocol::NepomukProtocol( const QByteArray&amp; poolSocket, \
const QByteArray&amp; appSocket )<br> &gt; \
+Nepomuk2::NepomukProtocol::NepomukProtocol( const QByteArray&amp; poolSocket, const \
QByteArray&amp; appSocket )<br> &gt;      : KIO::ForwardingSlaveBase( \
&quot;nepomuk&quot;, poolSocket, appSocket )<br> &gt;  {<br>
&gt;      ResourceManager::instance()-&gt;init();<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::NepomukProtocol::~NepomukProtocol()<br>
&gt; +Nepomuk2::NepomukProtocol::~NepomukProtocol()<br>
&gt;  {<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::NepomukProtocol::listDir( const KUrl&amp; url )<br>
&gt; +void Nepomuk2::NepomukProtocol::listDir( const KUrl&amp; url )<br>
&gt;  {<br>
&gt;      if ( !ensureNepomukRunning() )<br>
&gt;          return;<br>
&gt; @@ -89,8 +89,8 @@ void Nepomuk::NepomukProtocol::listDir( const KUrl&amp; url \
)<br> &gt;      // anything.<br>
&gt;      // See README for details<br>
&gt;      //<br>
&gt; -    Nepomuk::Resource res = Nepomuk::splitNepomukUrl( url );<br>
&gt; -    KUrl reUrl = Nepomuk::redirectionUrl( res );<br>
&gt; +    Nepomuk2::Resource res = Nepomuk2::splitNepomukUrl( url );<br>
&gt; +    KUrl reUrl = Nepomuk2::redirectionUrl( res );<br>
&gt;      if ( !reUrl.isEmpty() ) {<br>
&gt;          redirection( reUrl );<br>
&gt;          finished();<br>
&gt; @@ -101,7 +101,7 @@ void Nepomuk::NepomukProtocol::listDir( const KUrl&amp; url \
)<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::NepomukProtocol::get( const KUrl&amp; url )<br>
&gt; +void Nepomuk2::NepomukProtocol::get( const KUrl&amp; url )<br>
&gt;  {<br>
&gt;      if ( !ensureNepomukRunning() )<br>
&gt;          return;<br>
&gt; @@ -111,13 +111,13 @@ void Nepomuk::NepomukProtocol::get( const KUrl&amp; url \
)<br> &gt;      m_currentOperation = Get;<br>
&gt;      const bool noFollow = noFollowSet( url );<br>
&gt;<br>
&gt; -    Nepomuk::Resource res = splitNepomukUrl( url );<br>
&gt; -    if ( !noFollow &amp;&amp; Nepomuk::isRemovableMediaFile( res ) ) {<br>
&gt; +    Nepomuk2::Resource res = splitNepomukUrl( url );<br>
&gt; +    if ( !noFollow &amp;&amp; Nepomuk2::isRemovableMediaFile( res ) ) {<br>
&gt;          error( KIO::ERR_SLAVE_DEFINED,<br>
&gt;                 i18nc( &quot;@info&quot;, &quot;Please insert the removable \
medium &lt;resource&gt;%1&lt;/resource&gt; to access this file.&quot;,<br> &gt;       \
getFileSystemLabelForRemovableMediaFileUrl( res ) ) );<br> &gt;      }<br>
&gt; -    else if ( !noFollow &amp;&amp; !Nepomuk::nepomukToFileUrl( url ).isEmpty() \
) {<br> &gt; +    else if ( !noFollow &amp;&amp; !Nepomuk2::nepomukToFileUrl( url \
).isEmpty() ) {<br> &gt;          ForwardingSlaveBase::get( url );<br>
&gt;      }<br>
&gt;      else {<br>
&gt; @@ -150,7 +150,7 @@ void Nepomuk::NepomukProtocol::get( const KUrl&amp; url \
)<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::NepomukProtocol::put( const KUrl&amp; url, int permissions, \
KIO::JobFlags flags )<br> &gt; +void Nepomuk2::NepomukProtocol::put( const KUrl&amp; \
url, int permissions, KIO::JobFlags flags )<br> &gt;  {<br>
&gt;      if ( !ensureNepomukRunning() )<br>
&gt;          return;<br>
&gt; @@ -162,7 +162,7 @@ void Nepomuk::NepomukProtocol::put( const KUrl&amp; url, int \
permissions, KIO::JobFl<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::NepomukProtocol::stat( const KUrl&amp; url )<br>
&gt; +void Nepomuk2::NepomukProtocol::stat( const KUrl&amp; url )<br>
&gt;  {<br>
&gt;      if ( !ensureNepomukRunning() )<br>
&gt;          return;<br>
&gt; @@ -171,17 +171,17 @@ void Nepomuk::NepomukProtocol::stat( const KUrl&amp; url \
)<br> &gt;<br>
&gt;      m_currentOperation = Stat;<br>
&gt;      const bool noFollow = noFollowSet( url );<br>
&gt; -    if ( !noFollow &amp;&amp; !Nepomuk::nepomukToFileUrl( url ).isEmpty() ) \
{<br> &gt; +    if ( !noFollow &amp;&amp; !Nepomuk2::nepomukToFileUrl( url \
).isEmpty() ) {<br> &gt;          ForwardingSlaveBase::stat( url );<br>
&gt;      }<br>
&gt;      else {<br>
&gt; -        Nepomuk::Resource res = splitNepomukUrl( url );<br>
&gt; +        Nepomuk2::Resource res = splitNepomukUrl( url );<br>
&gt;<br>
&gt;          if ( !res.exists() ) {<br>
&gt;              error( KIO::ERR_DOES_NOT_EXIST, QLatin1String(&quot;stat: &quot;) + \
stripQuery(url).prettyUrl() );<br> &gt;          }<br>
&gt;          else {<br>
&gt; -            KIO::UDSEntry uds = Nepomuk::statNepomukResource( res, noFollow \
);<br> &gt; +            KIO::UDSEntry uds = Nepomuk2::statNepomukResource( res, \
noFollow );<br> &gt;              statEntry( uds );<br>
&gt;              finished();<br>
&gt;          }<br>
&gt; @@ -189,7 +189,7 @@ void Nepomuk::NepomukProtocol::stat( const KUrl&amp; url \
)<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::NepomukProtocol::mimetype( const KUrl&amp; url )<br>
&gt; +void Nepomuk2::NepomukProtocol::mimetype( const KUrl&amp; url )<br>
&gt;  {<br>
&gt;      if ( !ensureNepomukRunning() )<br>
&gt;          return;<br>
&gt; @@ -204,15 +204,15 @@ void Nepomuk::NepomukProtocol::mimetype( const KUrl&amp; \
url )<br> &gt;      }<br>
&gt;<br>
&gt;      QString filename;<br>
&gt; -    Nepomuk::Resource res = Nepomuk::splitNepomukUrl( url, &amp;filename );<br>
&gt; +    Nepomuk2::Resource res = Nepomuk2::splitNepomukUrl( url, &amp;filename \
);<br> &gt;      if ( filename.isEmpty() &amp;&amp;<br>
&gt; -         Nepomuk::willBeRedirected( res ) ) {<br>
&gt; +         Nepomuk2::willBeRedirected( res ) ) {<br>
&gt;          kDebug() &lt;&lt; res.resourceUri() &lt;&lt; &quot;is tag or file \
system -&gt; mimetype inode/directory&quot;;<br> &gt;          mimeType( \
QLatin1String( &quot;inode/directory&quot; ) );<br> &gt;          finished();<br>
&gt;      }<br>
&gt;      else {<br>
&gt; -        if ( !Nepomuk::nepomukToFileUrl( url ).isEmpty() ) {<br>
&gt; +        if ( !Nepomuk2::nepomukToFileUrl( url ).isEmpty() ) {<br>
&gt;              ForwardingSlaveBase::mimetype( url );<br>
&gt;          }<br>
&gt;          else {<br>
&gt; @@ -235,7 +235,7 @@ void Nepomuk::NepomukProtocol::mimetype( const KUrl&amp; url \
)<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::NepomukProtocol::del(const KUrl&amp; url, bool isFile)<br>
&gt; +void Nepomuk2::NepomukProtocol::del(const KUrl&amp; url, bool isFile)<br>
&gt;  {<br>
&gt;      if ( !ensureNepomukRunning() )<br>
&gt;          return;<br>
&gt; @@ -247,7 +247,7 @@ void Nepomuk::NepomukProtocol::del(const KUrl&amp; url, bool \
isFile)<br> &gt;          ForwardingSlaveBase::del( url, isFile );<br>
&gt;      }<br>
&gt;      else {<br>
&gt; -        Nepomuk::Resource res( url );<br>
&gt; +        Nepomuk2::Resource res( url );<br>
&gt;          if ( !res.exists() ) {<br>
&gt;              error( KIO::ERR_DOES_NOT_EXIST, url.prettyUrl() );<br>
&gt;          }<br>
&gt; @@ -259,19 +259,19 @@ void Nepomuk::NepomukProtocol::del(const KUrl&amp; url, \
bool isFile)<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -bool Nepomuk::NepomukProtocol::rewriteUrl( const KUrl&amp; url, KUrl&amp; \
newURL )<br> &gt; +bool Nepomuk2::NepomukProtocol::rewriteUrl( const KUrl&amp; url, \
KUrl&amp; newURL )<br> &gt;  {<br>
&gt;      if ( noFollowSet( url ) )<br>
&gt;          return false;<br>
&gt;<br>
&gt; -    newURL = Nepomuk::nepomukToFileUrl( url, m_currentOperation == Get );<br>
&gt; +    newURL = Nepomuk2::nepomukToFileUrl( url, m_currentOperation == Get );<br>
&gt;      return newURL.isValid();<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -bool Nepomuk::NepomukProtocol::ensureNepomukRunning()<br>
&gt; +bool Nepomuk2::NepomukProtocol::ensureNepomukRunning()<br>
&gt;  {<br>
&gt; -    if ( Nepomuk::ResourceManager::instance()-&gt;init() ) {<br>
&gt; +    if ( Nepomuk2::ResourceManager::instance()-&gt;init() ) {<br>
&gt;          error( KIO::ERR_SLAVE_DEFINED, i18n( &quot;The desktop search service \
is not activated. Unable to answer queries without it.&quot; ) );<br> &gt;          \
return false;<br> &gt;      }<br>
&gt; @@ -295,7 +295,7 @@ extern &quot;C&quot;<br>
&gt;              exit(-1);<br>
&gt;          }<br>
&gt;<br>
&gt; -        Nepomuk::NepomukProtocol slave(argv[2], argv[3]);<br>
&gt; +        Nepomuk2::NepomukProtocol slave(argv[2], argv[3]);<br>
&gt;          slave.dispatchLoop();<br>
&gt;<br>
&gt;          return 0;<br>
&gt; diff --git a/nepomuk/kioslaves/nepomuk/kio_nepomuk.h \
b/nepomuk/kioslaves/nepomuk/kio_nepomuk.h<br> &gt; index 1299f30..e4ed2b0 100644<br>
&gt; --- a/nepomuk/kioslaves/nepomuk/kio_nepomuk.h<br>
&gt; +++ b/nepomuk/kioslaves/nepomuk/kio_nepomuk.h<br>
&gt; @@ -23,9 +23,9 @@<br>
&gt;<br>
&gt;  #include &lt;kio/forwardingslavebase.h&gt;<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/Resource&gt;<br>
&gt; +#include &lt;Nepomuk2/Resource&gt;<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;      class NepomukProtocol : public KIO::ForwardingSlaveBase<br>
&gt;      {<br>
&gt;      public:<br>
&gt; diff --git a/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp \
b/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp<br> &gt; index da85d88..59c826c \
100644<br> &gt; --- a/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp<br>
&gt; +++ b/nepomuk/kioslaves/nepomuk/resourcepagegenerator.cpp<br>
&gt; @@ -31,14 +31,14 @@<br>
&gt;  #include &lt;kdeversion.h&gt;<br>
&gt;  #include &lt;KUrl&gt;<br>
&gt;<br>
&gt; -#include &lt;nepomuk/file.h&gt;<br>
&gt; -#include &lt;nepomuk/resourcemanager.h&gt;<br>
&gt; -#include &lt;nepomuk/variant.h&gt;<br>
&gt; -#include &lt;nepomuk/class.h&gt;<br>
&gt; -#include &lt;nepomuk/property.h&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NIE&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NFO&gt;<br>
&gt; -#include &lt;nepomuk/utils.h&gt;<br>
&gt; +#include &lt;nepomuk2/file.h&gt;<br>
&gt; +#include &lt;nepomuk2/resourcemanager.h&gt;<br>
&gt; +#include &lt;nepomuk2/variant.h&gt;<br>
&gt; +#include &lt;nepomuk2/class.h&gt;<br>
&gt; +#include &lt;nepomuk2/property.h&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NIE&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NFO&gt;<br>
&gt; +#include &lt;nepomuk2/utils.h&gt;<br>
&gt;<br>
&gt;  #include &lt;Soprano/Model&gt;<br>
&gt;  #include &lt;Soprano/Node&gt;<br>
&gt; @@ -48,7 +48,7 @@<br>
&gt;  #include &lt;Soprano/Vocabulary/NAO&gt;<br>
&gt;<br>
&gt;<br>
&gt; -using namespace Nepomuk::Vocabulary;<br>
&gt; +using namespace Nepomuk2::Vocabulary;<br>
&gt;<br>
&gt;  namespace {<br>
&gt;      const char* s_noFollow = &quot;noFollow&quot;;<br>
&gt; @@ -56,7 +56,7 @@ namespace {<br>
&gt;      const char* s_showNonUserVisibible = &quot;showNonUserVisible&quot;;<br>
&gt;      const char* s_true = &quot;true&quot;;<br>
&gt;<br>
&gt; -    KUrl configureUrl( const KUrl&amp; url, \
Nepomuk::ResourcePageGenerator::Flags flags ) {<br> &gt; +    KUrl configureUrl( \
const KUrl&amp; url, Nepomuk2::ResourcePageGenerator::Flags flags ) {<br> &gt;        \
KUrl newUrl( url );<br> &gt;<br>
&gt;          newUrl.removeEncodedQueryItem( s_noFollow );<br>
&gt; @@ -65,12 +65,12 @@ namespace {<br>
&gt;          }<br>
&gt;<br>
&gt;          newUrl.removeEncodedQueryItem( s_showUri );<br>
&gt; -        if ( flags &amp; Nepomuk::ResourcePageGenerator::ShowUris ) {<br>
&gt; +        if ( flags &amp; Nepomuk2::ResourcePageGenerator::ShowUris ) {<br>
&gt;              newUrl.addEncodedQueryItem( s_showUri, s_true );<br>
&gt;          }<br>
&gt;<br>
&gt;          newUrl.removeEncodedQueryItem( s_showNonUserVisibible );<br>
&gt; -        if ( flags &amp; Nepomuk::ResourcePageGenerator::ShowNonUserVisible ) \
{<br> &gt; +        if ( flags &amp; \
Nepomuk2::ResourcePageGenerator::ShowNonUserVisible ) {<br> &gt;              \
newUrl.addEncodedQueryItem( s_showNonUserVisibible, s_true );<br> &gt;          }<br>
&gt;<br>
&gt; @@ -79,18 +79,18 @@ namespace {<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::ResourcePageGenerator::ResourcePageGenerator( const \
Nepomuk::Resource&amp; res )<br> &gt; \
+Nepomuk2::ResourcePageGenerator::ResourcePageGenerator( const \
Nepomuk2::Resource&amp; res )<br> &gt;      : m_resource( res )<br>
&gt;  {<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::ResourcePageGenerator::~ResourcePageGenerator()<br>
&gt; +Nepomuk2::ResourcePageGenerator::~ResourcePageGenerator()<br>
&gt;  {<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::ResourcePageGenerator::setFlagsFromUrl( const KUrl&amp; url )<br>
&gt; +void Nepomuk2::ResourcePageGenerator::setFlagsFromUrl( const KUrl&amp; url \
)<br> &gt;  {<br>
&gt;      m_flags = NoFlags;<br>
&gt;      if ( url.encodedQueryItemValue( s_showUri ) == s_true )<br>
&gt; @@ -100,14 +100,14 @@ void Nepomuk::ResourcePageGenerator::setFlagsFromUrl( \
const KUrl&amp; url )<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -KUrl Nepomuk::ResourcePageGenerator::url() const<br>
&gt; +KUrl Nepomuk2::ResourcePageGenerator::url() const<br>
&gt;  {<br>
&gt;      return configureUrl( m_resource.resourceUri(), m_flags );<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt;  // TODO: create an html template rather than having it hardcoded here<br>
&gt; -QByteArray Nepomuk::ResourcePageGenerator::generatePage() const<br>
&gt; +QByteArray Nepomuk2::ResourcePageGenerator::generatePage() const<br>
&gt;  {<br>
&gt;      bool exists = m_resource.exists();<br>
&gt;<br>
&gt; @@ -198,11 +198,11 @@ QByteArray Nepomuk::ResourcePageGenerator::generatePage() \
const<br> &gt;      os &lt;&lt; &quot;&lt;h1&gt;&quot; &lt;&lt; label &lt;&lt; \
&quot;&lt;/h1&gt;&quot;<br> &gt;         &lt;&lt; &quot;Type: &quot; &lt;&lt; ( \
exists ? typesToHtml( m_resource.types() ) : i18n( &quot;Resource does not \
exist&quot; ) );<br> &gt;<br>
&gt; -    if(m_resource.isFile() &amp;&amp; \
m_resource.hasType(Nepomuk::Vocabulary::NFO::Image())) {<br> &gt; +    \
if(m_resource.isFile() &amp;&amp; \
m_resource.hasType(Nepomuk2::Vocabulary::NFO::Image())) {<br> &gt;          os \
&lt;&lt; &quot;&lt;img src=\&quot;&quot; &lt;&lt; m_resource.resourceUri().toString() \
&lt;&lt; &quot;\&quot; /&gt;&quot;;<br> &gt;      }<br>
&gt; -    else if(m_resource.hasProperty(Nepomuk::Vocabulary::NFO::depiction())) \
{<br> &gt; -        os &lt;&lt; &quot;&lt;img src=\&quot;&quot; &lt;&lt; \
m_resource.property(Nepomuk::Vocabulary::NFO::depiction()).toUrlList().first().toString() \
&lt;&lt; &quot;\&quot; /&gt;&quot;;<br> &gt; +    else \
if(m_resource.hasProperty(Nepomuk2::Vocabulary::NFO::depiction())) {<br> &gt; +       \
os &lt;&lt; &quot;&lt;img src=\&quot;&quot; &lt;&lt; \
m_resource.property(Nepomuk2::Vocabulary::NFO::depiction()).toUrlList().first().toString() \
&lt;&lt; &quot;\&quot; /&gt;&quot;;<br> &gt;      }<br>
&gt;<br>
&gt;      os &lt;&lt; &quot;&lt;h2&gt;&quot; &lt;&lt; i18n(&quot;Relations:&quot;) \
&lt;&lt; &quot;&lt;/h2&gt;&lt;div \
id=\&quot;relations\&quot;&gt;&lt;table&gt;&quot;;<br> &gt; @@ -211,7 +211,7 @@ \
QByteArray Nepomuk::ResourcePageGenerator::generatePage() const<br> &gt;      \
Soprano::StatementIterator it = \
ResourceManager::instance()-&gt;mainModel()-&gt;listStatements( \
m_resource.resourceUri(), Soprano::Node(), Soprano::Node() );<br> &gt;      while ( \
it.next() ) {<br> &gt;          Soprano::Statement s = it.current();<br>
&gt; -        Nepomuk::Types::Property p( s.predicate().uri() );<br>
&gt; +        Nepomuk2::Types::Property p( s.predicate().uri() );<br>
&gt;          if ( p != Soprano::Vocabulary::RDF::type() &amp;&amp;<br>
&gt;               ((m_flags &amp; ShowNonUserVisible) || p.userVisible())) {<br>
&gt;              os &lt;&lt; &quot;&lt;tr&gt;&lt;td align=right&gt;&lt;i&gt;&quot; \
&lt;&lt; entityLabel( p ) &lt;&lt; &quot;&lt;/i&gt;&lt;/td&gt;&lt;td \
width=16px&gt;&lt;/td&gt;&lt;td&gt;&quot;;<br> &gt; @@ -226,7 +226,7 @@ QByteArray \
Nepomuk::ResourcePageGenerator::generatePage() const<br> &gt;                  //<br>
&gt;                  KUrl uri = s.object().uri();<br>
&gt;                  QString label = uri.fileName();<br>
&gt; -                if ( s.predicate() != Nepomuk::Vocabulary::NIE::url() ) {<br>
&gt; +                if ( s.predicate() != Nepomuk2::Vocabulary::NIE::url() ) {<br>
&gt;                      Resource resource( uri );<br>
&gt;                      uri = resource.resourceUri();<br>
&gt;                      label = QString::fromLatin1( &quot;%1 (%2)&quot; )<br>
&gt; @@ -248,7 +248,7 @@ QByteArray Nepomuk::ResourcePageGenerator::generatePage() \
const<br> &gt;      while ( itb.next() ) {<br>
&gt;          Soprano::Statement s = itb.current();<br>
&gt;          Resource resource( s.subject().uri() );<br>
&gt; -        Nepomuk::Types::Property p( s.predicate().uri() );<br>
&gt; +        Nepomuk2::Types::Property p( s.predicate().uri() );<br>
&gt;          if((m_flags &amp; ShowNonUserVisible) || p.userVisible()) {<br>
&gt;              os &lt;&lt; &quot;&lt;td align=right&gt;&quot;<br>
&gt;                 &lt;&lt; QString( &quot;&lt;a \
href=\&quot;%1\&quot;&gt;%2&lt;/a&gt; (%3)&quot; )<br> &gt; @@ -274,7 +274,7 @@ \
QByteArray Nepomuk::ResourcePageGenerator::generatePage() const<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -QString Nepomuk::ResourcePageGenerator::resourceLabel( const Resource&amp; res \
) const<br> &gt; +QString Nepomuk2::ResourcePageGenerator::resourceLabel( const \
Resource&amp; res ) const<br> &gt;  {<br>
&gt;      if ( m_flags &amp; ShowUris )<br>
&gt;          return KUrl( res.resourceUri() ).prettyUrl();<br>
&gt; @@ -283,7 +283,7 @@ QString Nepomuk::ResourcePageGenerator::resourceLabel( const \
Resource&amp; res ) con<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -QString Nepomuk::ResourcePageGenerator::entityLabel( const \
Nepomuk::Types::Entity&amp; e ) const<br> &gt; +QString \
Nepomuk2::ResourcePageGenerator::entityLabel( const Nepomuk2::Types::Entity&amp; e ) \
const<br> &gt;  {<br>
&gt;      if ( m_flags &amp; ShowUris )<br>
&gt;          return KUrl( e.uri() ).prettyUrl();<br>
&gt; @@ -292,17 +292,17 @@ QString Nepomuk::ResourcePageGenerator::entityLabel( const \
Nepomuk::Types::Entit<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -QString Nepomuk::ResourcePageGenerator::typesToHtml( const \
QList&lt;QUrl&gt;&amp; types ) const<br> &gt; +QString \
Nepomuk2::ResourcePageGenerator::typesToHtml( const QList&lt;QUrl&gt;&amp; types ) \
const<br> &gt;  {<br>
&gt; -    QList&lt;Nepomuk::Types::Class&gt; typeClasses;<br>
&gt; +    QList&lt;Nepomuk2::Types::Class&gt; typeClasses;<br>
&gt;      foreach( const QUrl&amp; type, types ) {<br>
&gt; -        typeClasses &lt;&lt; Nepomuk::Types::Class( type );<br>
&gt; +        typeClasses &lt;&lt; Nepomuk2::Types::Class( type );<br>
&gt;      }<br>
&gt;<br>
&gt;      // remove all types that are supertypes of others in the list<br>
&gt; -    QList&lt;Nepomuk::Types::Class&gt; normalizedTypes;<br>
&gt; +    QList&lt;Nepomuk2::Types::Class&gt; normalizedTypes;<br>
&gt;      for ( int i = 0; i &lt; typeClasses.count(); ++i ) {<br>
&gt; -        Nepomuk::Types::Class&amp; type = typeClasses[i];<br>
&gt; +        Nepomuk2::Types::Class&amp; type = typeClasses[i];<br>
&gt;          bool use = true;<br>
&gt;          for ( int j = 0; j &lt; typeClasses.count(); ++j ) {<br>
&gt;              if ( type != typeClasses[j] &amp;&amp;<br>
&gt; @@ -329,13 +329,13 @@ QString Nepomuk::ResourcePageGenerator::typesToHtml( const \
QList&lt;QUrl&gt;&amp; types )<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -QString Nepomuk::ResourcePageGenerator::encodeUrl( const QUrl&amp; url ) \
const<br> &gt; +QString Nepomuk2::ResourcePageGenerator::encodeUrl( const QUrl&amp; \
url ) const<br> &gt;  {<br>
&gt;      return QString::fromAscii( configureUrl( url, m_flags ).toEncoded() );<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -QString Nepomuk::ResourcePageGenerator::createConfigureBoxHtml() const<br>
&gt; +QString Nepomuk2::ResourcePageGenerator::createConfigureBoxHtml() const<br>
&gt;  {<br>
&gt;      QString html<br>
&gt;          = QString::fromLatin1( &quot;&lt;div style=\&quot;position:fixed; \
right:10px; top:10px; text-align:right;\&quot;&gt;&lt;a \
href=\&quot;%1\&quot;&gt;%2&lt;/a&gt;&lt;br/&gt;&lt;a \
href=\&quot;%3\&quot;&gt;%4&lt;/a&gt;&lt;/div&gt;&quot; )<br>

&gt; @@ -347,12 +347,12 @@ QString \
Nepomuk::ResourcePageGenerator::createConfigureBoxHtml() const<br> &gt;      return \
html;<br> &gt;  }<br>
&gt;<br>
&gt; -QString Nepomuk::ResourcePageGenerator::formatLiteral(const \
Nepomuk::Types::Property &amp;p, const Soprano::LiteralValue &amp;value) const<br> \
&gt; +QString Nepomuk2::ResourcePageGenerator::formatLiteral(const \
Nepomuk2::Types::Property &amp;p, const Soprano::LiteralValue &amp;value) const<br> \
&gt;  {<br> &gt; -    return Nepomuk::Utils::formatPropertyValue(p, \
Nepomuk::Variant(value.variant()));<br> &gt; +    return \
Nepomuk2::Utils::formatPropertyValue(p, Nepomuk2::Variant(value.variant()));<br> &gt; \
}<br> &gt;<br>
&gt; -QString Nepomuk::ResourcePageGenerator::formatResource(const \
Nepomuk::Types::Property &amp;p, const QUrl &amp;uri_) const<br> &gt; +QString \
Nepomuk2::ResourcePageGenerator::formatResource(const Nepomuk2::Types::Property \
&amp;p, const QUrl &amp;uri_) const<br> &gt;  {<br>
&gt;      //<br>
&gt;      // nie:url is a special case for which we should never use Resource<br>
&gt; diff --git a/nepomuk/kioslaves/nepomuk/resourcepagegenerator.h \
b/nepomuk/kioslaves/nepomuk/resourcepagegenerator.h<br> &gt; index 68e5c44..63f67e8 \
100644<br> &gt; --- a/nepomuk/kioslaves/nepomuk/resourcepagegenerator.h<br>
&gt; +++ b/nepomuk/kioslaves/nepomuk/resourcepagegenerator.h<br>
&gt; @@ -21,14 +21,14 @@<br>
&gt;  #ifndef _RESOURCE_PAGE_GENERATOR_H_<br>
&gt;  #define _RESOURCE_PAGE_GENERATOR_H_<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/Resource&gt;<br>
&gt; +#include &lt;Nepomuk2/Resource&gt;<br>
&gt;<br>
&gt;  #include &lt;QtCore/QList&gt;<br>
&gt;  #include &lt;KUrl&gt;<br>
&gt;<br>
&gt;  class QByteArray;<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;      namespace Types {<br>
&gt;          class Entity;<br>
&gt;      }<br>
&gt; @@ -36,7 +36,7 @@ namespace Nepomuk {<br>
&gt;      class ResourcePageGenerator<br>
&gt;      {<br>
&gt;      public:<br>
&gt; -        ResourcePageGenerator( const Nepomuk::Resource&amp; res );<br>
&gt; +        ResourcePageGenerator( const Nepomuk2::Resource&amp; res );<br>
&gt;          ~ResourcePageGenerator();<br>
&gt;<br>
&gt;          enum Flag {<br>
&gt; @@ -61,18 +61,18 @@ namespace Nepomuk {<br>
&gt;<br>
&gt;      private:<br>
&gt;          QString resourceLabel( const Resource&amp; res ) const;<br>
&gt; -        QString entityLabel( const Nepomuk::Types::Entity&amp; e ) const;<br>
&gt; +        QString entityLabel( const Nepomuk2::Types::Entity&amp; e ) const;<br>
&gt;          QString typesToHtml( const QList&lt;QUrl&gt;&amp; types ) const;<br>
&gt;          QString encodeUrl( const QUrl&amp; u ) const;<br>
&gt;          QString createConfigureBoxHtml() const;<br>
&gt; -        QString formatLiteral(const Nepomuk::Types::Property&amp; prop, const \
Soprano::LiteralValue &amp;value) const;<br> &gt; -        QString \
formatResource(const Nepomuk::Types::Property&amp; p, const QUrl &amp;uri_) \
const;<br> &gt; +        QString formatLiteral(const Nepomuk2::Types::Property&amp; \
prop, const Soprano::LiteralValue &amp;value) const;<br> &gt; +        QString \
formatResource(const Nepomuk2::Types::Property&amp; p, const QUrl &amp;uri_) \
const;<br> &gt;<br>
&gt; -        Nepomuk::Resource m_resource;<br>
&gt; +        Nepomuk2::Resource m_resource;<br>
&gt;          Flags m_flags;<br>
&gt;      };<br>
&gt;  }<br>
&gt;<br>
&gt; -Q_DECLARE_OPERATORS_FOR_FLAGS( Nepomuk::ResourcePageGenerator::Flags )<br>
&gt; +Q_DECLARE_OPERATORS_FOR_FLAGS( Nepomuk2::ResourcePageGenerator::Flags )<br>
&gt;<br>
&gt;  #endif<br>
&gt; diff --git a/nepomuk/kioslaves/search/CMakeLists.txt \
b/nepomuk/kioslaves/search/CMakeLists.txt<br> &gt; index dd12acf..cc231e5 100644<br>
&gt; --- a/nepomuk/kioslaves/search/CMakeLists.txt<br>
&gt; +++ b/nepomuk/kioslaves/search/CMakeLists.txt<br>
&gt; @@ -9,7 +9,7 @@ include_directories(<br>
&gt;    ${KDE4_INCLUDES}<br>
&gt;    ${KDE4_KIO_INCLUDES}<br>
&gt;    ${SOPRANO_INCLUDE_DIR}<br>
&gt; -  ${NEPOMUK_INCLUDE_DIR}<br>
&gt; +  ${NEPOMUK_CORE_INCLUDE_DIR}<br>
&gt;    ${CMAKE_CURRENT_BINARY_DIR}<br>
&gt;    ${nepomuk_kio_slaves_SOURCE_DIR}/common<br>
&gt;  )<br>
&gt; @@ -22,7 +22,7 @@ set(kio_nepomuksearch_PART_SRCS<br>
&gt;    ../common/resourcestat.cpp<br>
&gt;  )<br>
&gt;<br>
&gt; -soprano_add_ontology(kio_nepomuksearch_PART_SRCS \
${nepomuk_ontologies_SOURCE_DIR}/kext.trig &quot;KExt&quot; \
&quot;Nepomuk::Vocabulary&quot; &quot;trig&quot;)<br> &gt; \
+soprano_add_ontology(kio_nepomuksearch_PART_SRCS \
${NEPOMUK_CORE_ONTOLOGY_DIR}/kde/kext.trig &quot;KExt&quot; \
&quot;Nepomuk2::Vocabulary&quot; &quot;trig&quot;)<br> &gt;<br>
&gt;  kde4_add_plugin(kio_nepomuksearch<br>
&gt;    ${kio_nepomuksearch_PART_SRCS})<br>
&gt; @@ -31,8 +31,7 @@ target_link_libraries(kio_nepomuksearch<br>
&gt;    nepomukcommon<br>
&gt;    ${KDE4_KIO_LIBS}<br>
&gt;    ${KDE4_SOLID_LIBS}<br>
&gt; -  ${NEPOMUK_LIBRARIES}<br>
&gt; -  ${NEPOMUK_QUERY_LIBRARIES}<br>
&gt; +  ${NEPOMUK_CORE_LIBRARIES}<br>
&gt;    ${SOPRANO_LIBRARIES}<br>
&gt;    )<br>
&gt;<br>
&gt; diff --git a/nepomuk/kioslaves/search/kdedmodule/CMakeLists.txt \
b/nepomuk/kioslaves/search/kdedmodule/CMakeLists.txt<br> &gt; index 807dc0c..1c241be \
100644<br> &gt; --- a/nepomuk/kioslaves/search/kdedmodule/CMakeLists.txt<br>
&gt; +++ b/nepomuk/kioslaves/search/kdedmodule/CMakeLists.txt<br>
&gt; @@ -1,7 +1,7 @@<br>
&gt;  include_directories(<br>
&gt;    ${QT_INCLUDES}<br>
&gt;    ${KDE4_INCLUDES}<br>
&gt; -  ${NEPOMUK_INCLUDE_DIR}<br>
&gt; +  ${NEPOMUK_CORE_INCLUDE_DIR}<br>
&gt;    ${nepomuk_kio_slaves_SOURCE_DIR}/common<br>
&gt;  )<br>
&gt;<br>
&gt; @@ -14,30 +14,30 @@ set(nepomuksearchmodule_SRCS<br>
&gt;    ../../common/timelinetools.cpp<br>
&gt;  )<br>
&gt;<br>
&gt; -soprano_add_ontology(nepomuksearchmodule_SRCS \
${nepomuk_ontologies_SOURCE_DIR}/kext.trig &quot;KExt&quot; \
&quot;Nepomuk::Vocabulary&quot; &quot;trig&quot;)<br> &gt; \
+soprano_add_ontology(nepomuksearchmodule_SRCS \
${NEPOMUK_CORE_ONTOLOGY_DIR}/kde/kext.trig &quot;KExt&quot; \
&quot;Nepomuk2::Vocabulary&quot; &quot;trig&quot;)<br> &gt;<br>
&gt; -set_source_files_properties(<br>
&gt; -  ${nepomuk_kio_slaves_SOURCE_DIR}/../interfaces/org.kde.nepomuk.Query.xml<br>
&gt; -  PROPERTIES INCLUDE &quot;nepomuk/result.h&quot;)<br>
&gt; -set_source_files_properties(<br>
&gt; -  ${nepomuk_kio_slaves_SOURCE_DIR}/../interfaces/org.kde.nepomuk.QueryService.xml<br>
 &gt; -  PROPERTIES INCLUDE &quot;dbusoperators_p.h&quot;)<br>
&gt; +#set_source_files_properties(<br>
&gt; +#  ${NEPOMUK_CORE_DBUS_INTERFACE_DIR}/org.kde.nepomuk.Query.xml<br>
&gt; +#  PROPERTIES INCLUDE &quot;nepomuk2/result.h&quot;)<br>
&gt;<br>
&gt; -qt4_add_dbus_interface(nepomuksearchmodule_SRCS<br>
&gt; -  ${nepomuk_kio_slaves_SOURCE_DIR}/../interfaces/org.kde.nepomuk.QueryService.xml<br>
 &gt; -  queryserviceinterface)<br>
&gt; -qt4_add_dbus_interface(nepomuksearchmodule_SRCS<br>
&gt; -  ${nepomuk_kio_slaves_SOURCE_DIR}/../interfaces/org.kde.nepomuk.Query.xml<br>
&gt; -  queryinterface)<br>
&gt; +#set_source_files_properties(<br>
&gt; +#  ${NEPOMUK_CORE_DBUS_INTERFACE_DIR}/org.kde.nepomuk.QueryService.xml<br>
&gt; +#  PROPERTIES INCLUDE &quot;dbusoperators_p.h&quot;)<br>
&gt; +<br>
&gt; +#qt4_add_dbus_interface(nepomuksearchmodule_SRCS<br>
&gt; +#  ${NEPOMUK_CORE_DBUS_INTERFACE_DIR}/org.kde.nepomuk.QueryService.xml<br>
&gt; +#  queryserviceinterface)<br>
&gt; +#qt4_add_dbus_interface(nepomuksearchmodule_SRCS<br>
&gt; +#  ${NEPOMUK_CORE_DBUS_INTERFACE_DIR}/org.kde.nepomuk.Query.xml<br>
&gt; +#  queryinterface)<br>
&gt;<br>
&gt;  kde4_add_plugin(kded_nepomuksearchmodule ${nepomuksearchmodule_SRCS})<br>
&gt;<br>
&gt; -target_link_libraries(kded_nepomuksearchmodule<br>
&gt; +target_link_libraries(kded_nepomuksearchmodule<br>
&gt;    nepomukcommon<br>
&gt;    ${KDE4_KDECORE_LIBS}<br>
&gt;    ${KDE4_KIO_LIBS}<br>
&gt; -  ${NEPOMUK_LIBRARIES}<br>
&gt; -  ${NEPOMUK_QUERY_LIBRARIES}<br>
&gt; +  ${NEPOMUK_CORE_LIBRARIES}<br>
&gt;    ${SOPRANO_LIBRARIES}<br>
&gt;  )<br>
&gt;<br>
&gt; diff --git a/nepomuk/kioslaves/search/kdedmodule/dbusoperators_p.h \
b/nepomuk/kioslaves/search/kdedmodule/dbusoperators_p.h<br> &gt; index \
62f19e9..ea06487 100644<br> &gt; --- \
a/nepomuk/kioslaves/search/kdedmodule/dbusoperators_p.h<br> &gt; +++ \
b/nepomuk/kioslaves/search/kdedmodule/dbusoperators_p.h<br> &gt; @@ -23,18 +23,18 \
@@<br> &gt;<br>
&gt;  #include &lt;QtDBus/QDBusArgument&gt;<br>
&gt;<br>
&gt; -#include &lt;nepomuk/result.h&gt;<br>
&gt; -#include &lt;nepomuk/query.h&gt;<br>
&gt; -#include &lt;nepomuk/term.h&gt;<br>
&gt; -#include &lt;nepomuk/nepomukquery_export.h&gt;<br>
&gt; +#include &lt;nepomuk2/result.h&gt;<br>
&gt; +#include &lt;nepomuk2/query.h&gt;<br>
&gt; +#include &lt;nepomuk2/term.h&gt;<br>
&gt; +#include &lt;nepomuk2/nepomuk_export.h&gt;<br>
&gt;<br>
&gt; -Q_DECLARE_METATYPE(Nepomuk::Query::Result)<br>
&gt; +Q_DECLARE_METATYPE(Nepomuk2::Query::Result)<br>
&gt;  Q_DECLARE_METATYPE(Soprano::Node)<br>
&gt; -Q_DECLARE_METATYPE(QList&lt;Nepomuk::Query::Result&gt;)<br>
&gt; +Q_DECLARE_METATYPE(QList&lt;Nepomuk2::Query::Result&gt;)<br>
&gt;  typedef QHash&lt;QString, QString&gt; RequestPropertyMapDBus;<br>
&gt;  Q_DECLARE_METATYPE( RequestPropertyMapDBus )<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;      namespace Query {<br>
&gt;          /**<br>
&gt;           * Register the DBus types necessary for communication with the \
Nepomuk<br> &gt; @@ -46,10 +46,10 @@ namespace Nepomuk {<br>
&gt;  }<br>
&gt;<br>
&gt;  // We export the non-public operators so that we do not need duplicated code in \
kdebase<br> &gt; -NEPOMUKQUERY_EXPORT QDBusArgument&amp; operator&lt;&lt;( \
QDBusArgument&amp; arg, const Soprano::Node&amp; );<br> &gt; -NEPOMUKQUERY_EXPORT \
const QDBusArgument&amp; operator&gt;&gt;( const QDBusArgument&amp; arg, \
Soprano::Node&amp; );<br> &gt; +NEPOMUK_EXPORT QDBusArgument&amp; operator&lt;&lt;( \
QDBusArgument&amp; arg, const Soprano::Node&amp; );<br> &gt; +NEPOMUK_EXPORT const \
QDBusArgument&amp; operator&gt;&gt;( const QDBusArgument&amp; arg, Soprano::Node&amp; \
);<br> &gt;<br>
&gt; -NEPOMUKQUERY_EXPORT QDBusArgument&amp; operator&lt;&lt;( QDBusArgument&amp; \
arg, const Nepomuk::Query::Result&amp; );<br> &gt; -NEPOMUKQUERY_EXPORT const \
QDBusArgument&amp; operator&gt;&gt;( const QDBusArgument&amp; arg, \
Nepomuk::Query::Result&amp; );<br> &gt; +NEPOMUK_EXPORT QDBusArgument&amp; \
operator&lt;&lt;( QDBusArgument&amp; arg, const Nepomuk2::Query::Result&amp; );<br> \
&gt; +NEPOMUK_EXPORT const QDBusArgument&amp; operator&gt;&gt;( const \
QDBusArgument&amp; arg, Nepomuk2::Query::Result&amp; );<br> &gt;<br>
&gt;  #endif<br>
&gt; diff --git a/nepomuk/kioslaves/search/kdedmodule/nepomuksearchmodule.cpp \
b/nepomuk/kioslaves/search/kdedmodule/nepomuksearchmodule.cpp<br> &gt; index \
56764fc..a319f84 100644<br> &gt; --- \
a/nepomuk/kioslaves/search/kdedmodule/nepomuksearchmodule.cpp<br> &gt; +++ \
b/nepomuk/kioslaves/search/kdedmodule/nepomuksearchmodule.cpp<br> &gt; @@ -25,7 +25,7 \
@@<br> &gt;  #include &lt;QtDBus/QDBusConnection&gt;<br>
&gt;  #include &lt;QtDBus/QDBusServiceWatcher&gt;<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NIE&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NIE&gt;<br>
&gt;<br>
&gt;  #include &lt;kdebug.h&gt;<br>
&gt;  #include &lt;kdirnotify.h&gt;<br>
&gt; @@ -50,12 +50,12 @@ namespace {<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::SearchModule::SearchModule( QObject* parent, const \
QList&lt;QVariant&gt;&amp; )<br> &gt; +Nepomuk2::SearchModule::SearchModule( QObject* \
parent, const QList&lt;QVariant&gt;&amp; )<br> &gt;      : KDEDModule( parent )<br>
&gt;  {<br>
&gt;      kDebug();<br>
&gt;<br>
&gt; -    Nepomuk::Query::registerDBusTypes();<br>
&gt; +    Nepomuk2::Query::registerDBusTypes();<br>
&gt;<br>
&gt;      //<br>
&gt;      // connect to serviceOwnerChanged to catch crashed clients that never \
unregistered<br> &gt; @@ -86,13 +86,13 @@ Nepomuk::SearchModule::SearchModule( \
QObject* parent, const QList&lt;QVariant&gt;&amp; )<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::SearchModule::~SearchModule()<br>
&gt; +Nepomuk2::SearchModule::~SearchModule()<br>
&gt;  {<br>
&gt;      kDebug();<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchModule::registerSearchUrl( const QString&amp; urlString \
)<br> &gt; +void Nepomuk2::SearchModule::registerSearchUrl( const QString&amp; \
urlString )<br> &gt;  {<br>
&gt;      const KUrl url( urlString );<br>
&gt;      KUrl queryUrl;<br>
&gt; @@ -102,8 +102,8 @@ void Nepomuk::SearchModule::registerSearchUrl( const \
QString&amp; urlString )<br> &gt;      }<br>
&gt;      else if ( isTimelineUrl( url ) ) {<br>
&gt;          QDate date;<br>
&gt; -        if ( Nepomuk::parseTimelineUrl( url, &amp;date ) == Nepomuk::DayFolder \
)<br> &gt; -            queryUrl = Nepomuk::buildTimelineQuery( date \
).toSearchUrl();<br> &gt; +        if ( Nepomuk2::parseTimelineUrl( url, &amp;date ) \
== Nepomuk2::DayFolder )<br> &gt; +            queryUrl = \
Nepomuk2::buildTimelineQuery( date ).toSearchUrl();<br> &gt;      }<br>
&gt;<br>
&gt;      if ( queryUrl.isValid() ) {<br>
&gt; @@ -126,7 +126,7 @@ void Nepomuk::SearchModule::registerSearchUrl( const \
QString&amp; urlString )<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchModule::unregisterSearchUrl( const QString&amp; urlString \
)<br> &gt; +void Nepomuk2::SearchModule::unregisterSearchUrl( const QString&amp; \
urlString )<br> &gt;  {<br>
&gt;      const KUrl url( urlString );<br>
&gt;      if ( isNepomukSearchOrTimelineUrl( url ) ) {<br>
&gt; @@ -141,13 +141,13 @@ void Nepomuk::SearchModule::unregisterSearchUrl( const \
QString&amp; urlString )<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -QStringList Nepomuk::SearchModule::watchedSearchUrls()<br>
&gt; +QStringList Nepomuk2::SearchModule::watchedSearchUrls()<br>
&gt;  {<br>
&gt;      return KUrl::List( m_queryHash.keys() ).toStringList();<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchModule::slotServiceUnregistered( const QString&amp; \
serviceName )<br> &gt; +void Nepomuk2::SearchModule::slotServiceUnregistered( const \
QString&amp; serviceName )<br> &gt;  {<br>
&gt;      QHash&lt;QString, KUrl&gt;::iterator it = m_dbusServiceUrlHash.find( \
serviceName );<br> &gt;      while ( it != m_dbusServiceUrlHash.end() ) {<br>
&gt; @@ -159,7 +159,7 @@ void Nepomuk::SearchModule::slotServiceUnregistered( const \
QString&amp; serviceName<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchModule::unrefUrl( const KUrl&amp; url )<br>
&gt; +void Nepomuk2::SearchModule::unrefUrl( const KUrl&amp; url )<br>
&gt;  {<br>
&gt;      QHash&lt;KUrl, SearchUrlListener*&gt;::iterator it = m_queryHash.find( url \
);<br> &gt;      if ( it != m_queryHash.end() ) {<br>
&gt; @@ -174,7 +174,7 @@ void Nepomuk::SearchModule::unrefUrl( const KUrl&amp; url \
)<br> &gt;  #include &lt;kpluginloader.h&gt;<br>
&gt;<br>
&gt;  K_PLUGIN_FACTORY(NepomukSearchModuleFactory,<br>
&gt; -                 registerPlugin&lt;Nepomuk::SearchModule&gt;();<br>
&gt; +                 registerPlugin&lt;Nepomuk2::SearchModule&gt;();<br>
&gt;      )<br>
&gt;  K_EXPORT_PLUGIN(NepomukSearchModuleFactory(&quot;nepomuksearchmodule&quot;))<br>
 &gt;<br>
&gt; diff --git a/nepomuk/kioslaves/search/kdedmodule/nepomuksearchmodule.h \
b/nepomuk/kioslaves/search/kdedmodule/nepomuksearchmodule.h<br> &gt; index \
97f005d..a19b23c 100644<br> &gt; --- \
a/nepomuk/kioslaves/search/kdedmodule/nepomuksearchmodule.h<br> &gt; +++ \
b/nepomuk/kioslaves/search/kdedmodule/nepomuksearchmodule.h<br> &gt; @@ -28,7 +28,7 \
@@<br> &gt;<br>
&gt;  class QDBusServiceWatcher;<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;<br>
&gt;      class SearchUrlListener;<br>
&gt;<br>
&gt; diff --git a/nepomuk/kioslaves/search/kdedmodule/searchurllistener.cpp \
b/nepomuk/kioslaves/search/kdedmodule/searchurllistener.cpp<br> &gt; index \
2333e38..c260485 100644<br> &gt; --- \
a/nepomuk/kioslaves/search/kdedmodule/searchurllistener.cpp<br> &gt; +++ \
b/nepomuk/kioslaves/search/kdedmodule/searchurllistener.cpp<br> &gt; @@ -25,9 +25,9 \
@@<br> &gt;<br>
&gt;  #include &lt;kdirnotify.h&gt;<br>
&gt;  #include &lt;kdebug.h&gt;<br>
&gt; -#include &lt;nepomuk/result.h&gt;<br>
&gt; -#include &lt;nepomuk/query.h&gt;<br>
&gt; -#include &lt;nepomuk/resource.h&gt;<br>
&gt; +#include &lt;Nepomuk2/Result/Result&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/Query&gt;<br>
&gt; +#include &lt;Nepomuk2/Resource&gt;<br>
&gt;<br>
&gt;  #include &lt;QtCore/QHash&gt;<br>
&gt;  #include &lt;QtDBus/QDBusConnection&gt;<br>
&gt; @@ -37,7 +37,7 @@<br>
&gt;  #include &lt;Soprano/BindingSet&gt;<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::SearchUrlListener::SearchUrlListener( const KUrl&amp; queryUrl, const \
KUrl&amp; notifyUrl )<br> &gt; +Nepomuk2::SearchUrlListener::SearchUrlListener( const \
KUrl&amp; queryUrl, const KUrl&amp; notifyUrl )<br> &gt;      : QObject( 0 ),<br>
&gt;        m_ref( 0 ),<br>
&gt;        m_queryUrl( queryUrl ),<br>
&gt; @@ -67,7 +67,7 @@ Nepomuk::SearchUrlListener::SearchUrlListener( const KUrl&amp; \
queryUrl, const KUrl&amp;<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::SearchUrlListener::~SearchUrlListener()<br>
&gt; +Nepomuk2::SearchUrlListener::~SearchUrlListener()<br>
&gt;  {<br>
&gt;      kDebug() &lt;&lt; m_queryUrl;<br>
&gt;<br>
&gt; @@ -77,35 +77,35 @@ Nepomuk::SearchUrlListener::~SearchUrlListener()<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -int Nepomuk::SearchUrlListener::ref()<br>
&gt; +int Nepomuk2::SearchUrlListener::ref()<br>
&gt;  {<br>
&gt;      return ++m_ref;<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -int Nepomuk::SearchUrlListener::unref()<br>
&gt; +int Nepomuk2::SearchUrlListener::unref()<br>
&gt;  {<br>
&gt;      return --m_ref;<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchUrlListener::slotNewEntries( const \
QList&lt;Nepomuk::Query::Result&gt;&amp; )<br> &gt; +void \
Nepomuk2::SearchUrlListener::slotNewEntries( const \
QList&lt;Nepomuk2::Query::Result&gt;&amp; )<br> &gt;  {<br>
&gt;      org::kde::KDirNotify::emitFilesAdded( m_notifyUrl.url() );<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchUrlListener::slotEntriesRemoved( const \
QList&lt;Nepomuk::Query::Result&gt;&amp; entries )<br> &gt; +void \
Nepomuk2::SearchUrlListener::slotEntriesRemoved( const \
QList&lt;Nepomuk2::Query::Result&gt;&amp; entries )<br> &gt;  {<br>
&gt;      QStringList urls;<br>
&gt;      foreach( const Query::Result&amp; result, entries ) {<br>
&gt;          // make sure we use the exact same name used in searchfolder.cpp<br>
&gt;          KUrl url( result.resource().resourceUri() );<br>
&gt; -        if( result.requestProperties().contains(Nepomuk::Vocabulary::NIE::url()) \
)<br> &gt; -            url = result[Nepomuk::Vocabulary::NIE::url()].uri();<br>
&gt; +        if( result.requestProperties().contains(Nepomuk2::Vocabulary::NIE::url()) \
)<br> &gt; +            url = result[Nepomuk2::Vocabulary::NIE::url()].uri();<br>
&gt;<br>
&gt;          KUrl resultUrl( m_notifyUrl );<br>
&gt; -        resultUrl.addPath( Nepomuk::resourceUriToUdsName( url ) );<br>
&gt; +        resultUrl.addPath( Nepomuk2::resourceUriToUdsName( url ) );<br>
&gt;          urls &lt;&lt; resultUrl.url();<br>
&gt;      }<br>
&gt;      kDebug() &lt;&lt; urls;<br>
&gt; @@ -113,7 +113,7 @@ void Nepomuk::SearchUrlListener::slotEntriesRemoved( const \
QList&lt;Nepomuk::Query:<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchUrlListener::slotQueryServiceInitialized( bool success \
)<br> &gt; +void Nepomuk2::SearchUrlListener::slotQueryServiceInitialized( bool \
success )<br> &gt;  {<br>
&gt;      kDebug() &lt;&lt; m_queryUrl &lt;&lt; success;<br>
&gt;<br>
&gt; @@ -127,7 +127,7 @@ void \
Nepomuk::SearchUrlListener::slotQueryServiceInitialized( bool success )<br> &gt;  \
}<br> &gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchUrlListener::createInterface()<br>
&gt; +void Nepomuk2::SearchUrlListener::createInterface()<br>
&gt;  {<br>
&gt;      kDebug() &lt;&lt; m_queryUrl;<br>
&gt;<br>
&gt; @@ -156,10 +156,10 @@ void Nepomuk::SearchUrlListener::createInterface()<br>
&gt;          m_queryInterface = new org::kde::nepomuk::Query( queryService,<br>
&gt;                                                           r.value().path(),<br>
&gt;                                                           \
QDBusConnection::sessionBus() );<br> &gt; -        connect( m_queryInterface, SIGNAL( \
newEntries( QList&lt;Nepomuk::Query::Result&gt; ) ),<br> &gt; -                 this, \
SLOT( slotNewEntries( QList&lt;Nepomuk::Query::Result&gt; ) ) );<br> &gt; -        \
connect( m_queryInterface, SIGNAL( entriesRemoved( \
QList&lt;Nepomuk::Query::Result&gt; ) ),<br> &gt; -                 this, SLOT( \
slotEntriesRemoved( QList&lt;Nepomuk::Query::Result&gt; ) ) );<br> &gt; +        \
connect( m_queryInterface, SIGNAL( newEntries( QList&lt;Nepomuk2::Query::Result&gt; ) \
),<br> &gt; +                 this, SLOT( slotNewEntries( \
QList&lt;Nepomuk2::Query::Result&gt; ) ) );<br> &gt; +        connect( \
m_queryInterface, SIGNAL( entriesRemoved( QList&lt;Nepomuk2::Query::Result&gt; ) \
),<br> &gt; +                 this, SLOT( slotEntriesRemoved( \
QList&lt;Nepomuk2::Query::Result&gt; ) ) );<br> &gt;          \
m_queryInterface-&gt;listen();<br> &gt;      }<br>
&gt;  }<br>
&gt; diff --git a/nepomuk/kioslaves/search/kdedmodule/searchurllistener.h \
b/nepomuk/kioslaves/search/kdedmodule/searchurllistener.h<br> &gt; index \
ba2d3bc..8d9aa29 100644<br> &gt; --- \
a/nepomuk/kioslaves/search/kdedmodule/searchurllistener.h<br> &gt; +++ \
b/nepomuk/kioslaves/search/kdedmodule/searchurllistener.h<br> &gt; @@ -25,12 +25,12 \
@@<br> &gt;  #include &lt;QtDBus/QDBusObjectPath&gt;<br>
&gt;<br>
&gt;  #include &lt;kurl.h&gt;<br>
&gt; -#include &lt;nepomuk/result.h&gt;<br>
&gt; +#include &lt;nepomuk2/result.h&gt;<br>
&gt;<br>
&gt;  #include &quot;queryinterface.h&quot;<br>
&gt;<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;      class SearchUrlListener : public QObject<br>
&gt;      {<br>
&gt;          Q_OBJECT<br>
&gt; @@ -46,8 +46,8 @@ namespace Nepomuk {<br>
&gt;          KUrl notificationUrl() const { return m_notifyUrl; }<br>
&gt;<br>
&gt;      private Q_SLOTS:<br>
&gt; -        void slotNewEntries( const QList&lt;Nepomuk::Query::Result&gt;&amp; \
entries );<br> &gt; -        void slotEntriesRemoved( const \
QList&lt;Nepomuk::Query::Result&gt;&amp; entries );<br> &gt; +        void \
slotNewEntries( const QList&lt;Nepomuk2::Query::Result&gt;&amp; entries );<br> &gt; + \
void slotEntriesRemoved( const QList&lt;Nepomuk2::Query::Result&gt;&amp; entries \
);<br> &gt;          void slotQueryServiceInitialized( bool success );<br>
&gt;<br>
&gt;      private:<br>
&gt; diff --git a/nepomuk/kioslaves/search/kio_nepomuksearch.cpp \
b/nepomuk/kioslaves/search/kio_nepomuksearch.cpp<br> &gt; index e26dd84..38894be \
100644<br> &gt; --- a/nepomuk/kioslaves/search/kio_nepomuksearch.cpp<br>
&gt; +++ b/nepomuk/kioslaves/search/kio_nepomuksearch.cpp<br>
&gt; @@ -37,24 +37,24 @@<br>
&gt;  #include &lt;KStandardDirs&gt;<br>
&gt;  #include &lt;KFileItem&gt;<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/Thing&gt;<br>
&gt; -#include &lt;Nepomuk/ResourceManager&gt;<br>
&gt; -#include &lt;Nepomuk/Variant&gt;<br>
&gt; -#include &lt;Nepomuk/Query/QueryServiceClient&gt;<br>
&gt; -#include &lt;Nepomuk/Query/ComparisonTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/ResourceTypeTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/AndTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/NegationTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/Query&gt;<br>
&gt; +#include &lt;Nepomuk2/Thing&gt;<br>
&gt; +#include &lt;Nepomuk2/ResourceManager&gt;<br>
&gt; +#include &lt;Nepomuk2/Variant&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/QueryServiceClient&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/ComparisonTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/ResourceTypeTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/AndTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/NegationTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/Query&gt;<br>
&gt;<br>
&gt;  #include &lt;Soprano/Vocabulary/RDF&gt;<br>
&gt;  #include &lt;Soprano/Vocabulary/RDFS&gt;<br>
&gt;  #include &lt;Soprano/Vocabulary/NRL&gt;<br>
&gt;  #include &lt;Soprano/Vocabulary/NAO&gt;<br>
&gt;  #include &lt;Soprano/Vocabulary/XMLSchema&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NFO&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NIE&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/PIMO&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NFO&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NIE&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/PIMO&gt;<br>
&gt;<br>
&gt;  #include &lt;sys/types.h&gt;<br>
&gt;  #include &lt;unistd.h&gt;<br>
&gt; @@ -69,12 +69,12 @@ namespace {<br>
&gt;          uds.insert( KIO::UDSEntry::UDS_MIME_TYPE, QString::fromLatin1( \
&quot;inode/directory&quot; ) );<br> &gt;          uds.insert( \
KIO::UDSEntry::UDS_ICON_OVERLAY_NAMES, QLatin1String( &quot;nepomuk&quot; ) );<br> \
&gt;          uds.insert( KIO::UDSEntry::UDS_DISPLAY_TYPE, i18n( &quot;Query \
folder&quot; ) );<br> &gt; -        uds.insert( KIO::UDSEntry::UDS_NAME, \
Nepomuk::Query::Query::titleFromQueryUrl( url ) );<br> &gt; -        uds.insert( \
KIO::UDSEntry::UDS_DISPLAY_NAME, Nepomuk::Query::Query::titleFromQueryUrl( url ) \
);<br> &gt; +        uds.insert( KIO::UDSEntry::UDS_NAME, \
Nepomuk2::Query::Query::titleFromQueryUrl( url ) );<br> &gt; +        uds.insert( \
KIO::UDSEntry::UDS_DISPLAY_NAME, Nepomuk2::Query::Query::titleFromQueryUrl( url ) \
);<br> &gt;          if ( url.hasQueryItem( QLatin1String( &quot;resource&quot; ) ) ) \
{<br> &gt; -            Nepomuk::addGenericNepomukResourceData( Nepomuk::Resource( \
KUrl( url.queryItemValue( QLatin1String( &quot;resource&quot; ) ) ) ), uds );<br> \
&gt; +            Nepomuk2::addGenericNepomukResourceData( Nepomuk2::Resource( KUrl( \
url.queryItemValue( QLatin1String( &quot;resource&quot; ) ) ) ), uds );<br> &gt;      \
}<br> &gt; -        Nepomuk::Query::Query query = \
Nepomuk::Query::Query::fromQueryUrl( url );<br> &gt; +        Nepomuk2::Query::Query \
query = Nepomuk2::Query::Query::fromQueryUrl( url );<br> &gt;          if ( \
query.isValid() )<br> &gt;              uds.insert( KIO::UDSEntry::UDS_NEPOMUK_QUERY, \
query.toString() );<br> &gt;          return uds;<br>
&gt; @@ -102,23 +102,23 @@ namespace {<br>
&gt;      }<br>
&gt;<br>
&gt;      KUrl convertLegacyQueryUrl( const KUrl&amp; url ) {<br>
&gt; -        KUrl newUrl(QLatin1String(&quot;nepomuksearch:/&quot;) + \
Nepomuk::Query::Query::titleFromQueryUrl(url));<br> &gt; -        \
Nepomuk::Query::Query query = Nepomuk::Query::Query::fromQueryUrl(url);<br> &gt; +    \
KUrl newUrl(QLatin1String(&quot;nepomuksearch:/&quot;) + \
Nepomuk2::Query::Query::titleFromQueryUrl(url));<br> &gt; +        \
Nepomuk2::Query::Query query = Nepomuk2::Query::Query::fromQueryUrl(url);<br> &gt;    \
if(query.isValid())<br> &gt;              \
newUrl.addQueryItem(QLatin1String(&quot;encodedquery&quot;), query.toString());<br> \
&gt;          else<br> &gt; -            \
newUrl.addQueryItem(QLatin1String(&quot;sparql&quot;), \
Nepomuk::Query::Query::sparqlFromQueryUrl(url));<br> &gt; +            \
newUrl.addQueryItem(QLatin1String(&quot;sparql&quot;), \
Nepomuk2::Query::Query::sparqlFromQueryUrl(url));<br> &gt;          return \
newUrl;<br> &gt;      }<br>
&gt;<br>
&gt; -    Nepomuk::Query::Query rootQuery() {<br>
&gt; +    Nepomuk2::Query::Query rootQuery() {<br>
&gt;          KConfig config( &quot;kio_nepomuksearchrc&quot; );<br>
&gt;          QString queryStr = config.group( &quot;General&quot; ).readEntry( \
&quot;Root query&quot;, QString() );<br> &gt; -        Nepomuk::Query::Query \
query;<br> &gt; +        Nepomuk2::Query::Query query;<br>
&gt;          if ( queryStr.isEmpty() )<br>
&gt; -            query = Nepomuk::lastModifiedFilesQuery();<br>
&gt; +            query = Nepomuk2::lastModifiedFilesQuery();<br>
&gt;          else<br>
&gt; -            query = Nepomuk::Query::Query::fromString( queryStr );<br>
&gt; +            query = Nepomuk2::Query::Query::fromString( queryStr );<br>
&gt;          query.setLimit( config.group( &quot;General&quot; ).readEntry( \
&quot;Root query limit&quot;, 10 ) );<br> &gt;          return query;<br>
&gt;      }<br>
&gt; @@ -126,26 +126,26 @@ namespace {<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::SearchProtocol::SearchProtocol( const QByteArray&amp; poolSocket, \
const QByteArray&amp; appSocket )<br> &gt; +Nepomuk2::SearchProtocol::SearchProtocol( \
const QByteArray&amp; poolSocket, const QByteArray&amp; appSocket )<br> &gt;      : \
KIO::ForwardingSlaveBase( &quot;nepomuksearch&quot;, poolSocket, appSocket )<br> &gt; \
{<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::SearchProtocol::~SearchProtocol()<br>
&gt; +Nepomuk2::SearchProtocol::~SearchProtocol()<br>
&gt;  {<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -bool Nepomuk::SearchProtocol::ensureNepomukRunning( bool emitError )<br>
&gt; +bool Nepomuk2::SearchProtocol::ensureNepomukRunning( bool emitError )<br>
&gt;  {<br>
&gt; -    if ( Nepomuk::ResourceManager::instance()-&gt;init() ) {<br>
&gt; +    if ( Nepomuk2::ResourceManager::instance()-&gt;init() ) {<br>
&gt;          kDebug() &lt;&lt; &quot;Failed to init Nepomuk&quot;;<br>
&gt;          if ( emitError )<br>
&gt;              error( KIO::ERR_SLAVE_DEFINED, i18n( &quot;The desktop search \
service is not activated. Unable to answer queries without it.&quot; ) );<br> &gt;    \
return false;<br> &gt;      }<br>
&gt; -    else if ( !Nepomuk::Query::QueryServiceClient::serviceAvailable() ) {<br>
&gt; +    else if ( !Nepomuk2::Query::QueryServiceClient::serviceAvailable() ) {<br>
&gt;          kDebug() &lt;&lt; &quot;Nepomuk Query service is not \
running.&quot;;<br> &gt;          if ( emitError )<br>
&gt;              error( KIO::ERR_SLAVE_DEFINED, i18n( &quot;The desktop search query \
service is not running. Unable to answer queries without it.&quot; ) );<br> &gt; @@ \
-157,7 +157,7 @@ bool Nepomuk::SearchProtocol::ensureNepomukRunning( bool emitError \
)<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchProtocol::listDir( const KUrl&amp; url )<br>
&gt; +void Nepomuk2::SearchProtocol::listDir( const KUrl&amp; url )<br>
&gt;  {<br>
&gt;      kDebug() &lt;&lt; url;<br>
&gt;<br>
&gt; @@ -197,7 +197,7 @@ void Nepomuk::SearchProtocol::listDir( const KUrl&amp; url \
)<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchProtocol::get( const KUrl&amp; url )<br>
&gt; +void Nepomuk2::SearchProtocol::get( const KUrl&amp; url )<br>
&gt;  {<br>
&gt;      kDebug() &lt;&lt; url;<br>
&gt;<br>
&gt; @@ -208,7 +208,7 @@ void Nepomuk::SearchProtocol::get( const KUrl&amp; url )<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchProtocol::put( const KUrl&amp; url, int permissions, \
KIO::JobFlags flags )<br> &gt; +void Nepomuk2::SearchProtocol::put( const KUrl&amp; \
url, int permissions, KIO::JobFlags flags )<br> &gt;  {<br>
&gt;      kDebug() &lt;&lt; url &lt;&lt; permissions &lt;&lt; flags;<br>
&gt;<br>
&gt; @@ -220,7 +220,7 @@ void Nepomuk::SearchProtocol::put( const KUrl&amp; url, int \
permissions, KIO::JobFla<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchProtocol::mimetype( const KUrl&amp; url )<br>
&gt; +void Nepomuk2::SearchProtocol::mimetype( const KUrl&amp; url )<br>
&gt;  {<br>
&gt;      kDebug() &lt;&lt; url;<br>
&gt;<br>
&gt; @@ -246,7 +246,7 @@ void Nepomuk::SearchProtocol::mimetype( const KUrl&amp; url \
)<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchProtocol::stat( const KUrl&amp; url )<br>
&gt; +void Nepomuk2::SearchProtocol::stat( const KUrl&amp; url )<br>
&gt;  {<br>
&gt;      kDebug() &lt;&lt; url;<br>
&gt;<br>
&gt; @@ -283,22 +283,22 @@ void Nepomuk::SearchProtocol::stat( const KUrl&amp; url \
)<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchProtocol::del(const KUrl&amp; url, bool isFile)<br>
&gt; +void Nepomuk2::SearchProtocol::del(const KUrl&amp; url, bool isFile)<br>
&gt;  {<br>
&gt;      ForwardingSlaveBase::del( url, isFile );<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -bool Nepomuk::SearchProtocol::rewriteUrl( const KUrl&amp; url, KUrl&amp; newURL \
)<br> &gt; +bool Nepomuk2::SearchProtocol::rewriteUrl( const KUrl&amp; url, KUrl&amp; \
newURL )<br> &gt;  {<br>
&gt;      // we do it the speedy but slightly umpf way: decode the encoded URI from \
the filename<br> &gt; -    newURL = Nepomuk::udsNameToResourceUri( url.fileName() \
);<br> &gt; +    newURL = Nepomuk2::udsNameToResourceUri( url.fileName() );<br>
&gt;      kDebug() &lt;&lt; &quot;URL:&quot; &lt;&lt; url &lt;&lt; &quot;NEW \
URL:&quot; &lt;&lt; newURL &lt;&lt; newURL.protocol() &lt;&lt; newURL.path() &lt;&lt; \
newURL.fileName();<br> &gt;      return !newURL.isEmpty();<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchProtocol::prepareUDSEntry( KIO::UDSEntry&amp; uds, bool \
listing ) const<br> &gt; +void Nepomuk2::SearchProtocol::prepareUDSEntry( \
KIO::UDSEntry&amp; uds, bool listing ) const<br> &gt;  {<br>
&gt;      // do nothing - we do everything in SearchFolder::statResult<br>
&gt;      Q_UNUSED(uds);<br>
&gt; @@ -306,7 +306,7 @@ void Nepomuk::SearchProtocol::prepareUDSEntry( \
KIO::UDSEntry&amp; uds, bool listing<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchProtocol::listRoot()<br>
&gt; +void Nepomuk2::SearchProtocol::listRoot()<br>
&gt;  {<br>
&gt;      kDebug();<br>
&gt;<br>
&gt; @@ -323,13 +323,13 @@ void Nepomuk::SearchProtocol::listRoot()<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::SearchFolder* Nepomuk::SearchProtocol::getQueryFolder( const KUrl&amp; \
url )<br> &gt; +Nepomuk2::SearchFolder* Nepomuk2::SearchProtocol::getQueryFolder( \
const KUrl&amp; url )<br> &gt;  {<br>
&gt;      return new SearchFolder( url, this );<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchProtocol::updateQueryUrlHistory( const KUrl&amp; url )<br>
&gt; +void Nepomuk2::SearchProtocol::updateQueryUrlHistory( const KUrl&amp; url )<br>
&gt;  {<br>
&gt;      //<br>
&gt;      // if the url is already in the history update its timestamp<br>
&gt; @@ -387,7 +387,7 @@ extern &quot;C&quot;<br>
&gt;<br>
&gt;          kDebug(7102) &lt;&lt; &quot;Starting nepomuksearch slave &quot; \
&lt;&lt; getpid();<br> &gt;<br>
&gt; -        Nepomuk::SearchProtocol slave( argv[2], argv[3] );<br>
&gt; +        Nepomuk2::SearchProtocol slave( argv[2], argv[3] );<br>
&gt;          slave.dispatchLoop();<br>
&gt;<br>
&gt;          kDebug(7102) &lt;&lt; &quot;Nepomuksearch slave Done&quot;;<br>
&gt; @@ -398,7 +398,7 @@ extern &quot;C&quot;<br>
&gt;<br>
&gt;<br>
&gt;  #if 0<br>
&gt; -void Nepomuk::SearchProtocol::listUserQueries()<br>
&gt; +void Nepomuk2::SearchProtocol::listUserQueries()<br>
&gt;  {<br>
&gt;      UserQueryUrlList userQueries;<br>
&gt;      Q_FOREACH( const KUrl&amp; url, userQueries ) {<br>
&gt; @@ -407,7 +407,7 @@ void Nepomuk::SearchProtocol::listUserQueries()<br>
&gt;          listEntry( uds, false );<br>
&gt;      }<br>
&gt;  }<br>
&gt; -void Nepomuk::SearchProtocol::listLastQueries()<br>
&gt; +void Nepomuk2::SearchProtocol::listLastQueries()<br>
&gt;  {<br>
&gt;      KSharedConfigPtr cfg = KSharedConfig::openConfig( \
&quot;kio_nepomuksearchrc&quot; );<br> &gt;      KConfigGroup grp = cfg-&gt;group( \
&quot;Last Queries&quot; );<br> &gt; diff --git \
a/nepomuk/kioslaves/search/kio_nepomuksearch.h \
b/nepomuk/kioslaves/search/kio_nepomuksearch.h<br> &gt; index 9f4c4ba..e68ff29 \
100644<br> &gt; --- a/nepomuk/kioslaves/search/kio_nepomuksearch.h<br>
&gt; +++ b/nepomuk/kioslaves/search/kio_nepomuksearch.h<br>
&gt; @@ -25,7 +25,7 @@<br>
&gt;<br>
&gt;  #include &lt;QtCore/QQueue&gt;<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;      namespace Search {<br>
&gt;          class Query;<br>
&gt;      }<br>
&gt; diff --git a/nepomuk/kioslaves/search/queryutils.h \
b/nepomuk/kioslaves/search/queryutils.h<br> &gt; index 3b5b707..056e01b 100644<br>
&gt; --- a/nepomuk/kioslaves/search/queryutils.h<br>
&gt; +++ b/nepomuk/kioslaves/search/queryutils.h<br>
&gt; @@ -27,15 +27,15 @@<br>
&gt;  #include &lt;KUrl&gt;<br>
&gt;  #include &lt;KDebug&gt;<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/Query/Query&gt;<br>
&gt; -#include &lt;Nepomuk/Query/OptionalTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/ComparisonTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/AndTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NIE&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NFO&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/Query&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/OptionalTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/ComparisonTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/AndTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NIE&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NFO&gt;<br>
&gt;<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;      namespace Query {<br>
&gt;          /**<br>
&gt;           * KIO specific query handling shared by the KIO slave and the kded \
search module<br> &gt; @@ -43,31 +43,31 @@ namespace Nepomuk {<br>
&gt;          bool parseQueryUrl( const KUrl&amp; url, Query&amp; query, QString&amp; \
sparqlQuery )<br> &gt;          {<br>
&gt;              // parse URL (this may fail in which case we fall back to pure \
SPARQL below)<br> &gt; -            query = Nepomuk::Query::Query::fromQueryUrl( url \
);<br> &gt; +            query = Nepomuk2::Query::Query::fromQueryUrl( url );<br>
&gt;<br>
&gt;              // request properties to easily create UDSEntry instances<br>
&gt;              QList&lt;Query::RequestProperty&gt; reqProperties;<br>
&gt;              // local URL<br>
&gt; -            reqProperties &lt;&lt; Query::RequestProperty( \
Nepomuk::Vocabulary::NIE::url(), !query.isFileQuery() );<br> &gt; +            \
reqProperties &lt;&lt; Query::RequestProperty( Nepomuk2::Vocabulary::NIE::url(), \
!query.isFileQuery() );<br> &gt;  #ifdef Q_OS_UNIX<br>
&gt;              if( query.isFileQuery() ) {<br>
&gt;                  // file size<br>
&gt; -                ComparisonTerm contentSizeTerm( \
Nepomuk::Vocabulary::NIE::contentSize(), Term() );<br> &gt; +                \
ComparisonTerm contentSizeTerm( Nepomuk2::Vocabulary::NIE::contentSize(), Term() \
);<br> &gt;                  contentSizeTerm.setVariableName( \
QLatin1String(&quot;size&quot;) );<br> &gt;                  // mimetype<br>
&gt; -                ComparisonTerm mimetypeTerm( \
Nepomuk::Vocabulary::NIE::mimeType(), Term() );<br> &gt; +                \
ComparisonTerm mimetypeTerm( Nepomuk2::Vocabulary::NIE::mimeType(), Term() );<br> \
&gt;                  mimetypeTerm.setVariableName( QLatin1String(&quot;mime&quot;) \
);<br> &gt;                  // mtime<br>
&gt; -                ComparisonTerm mtimeTerm( \
Nepomuk::Vocabulary::NIE::lastModified(), Term() );<br> &gt; +                \
ComparisonTerm mtimeTerm( Nepomuk2::Vocabulary::NIE::lastModified(), Term() );<br> \
&gt;                  mtimeTerm.setVariableName( QLatin1String(&quot;mtime&quot;) \
);<br> &gt;                  // mode<br>
&gt; -                ComparisonTerm modeTerm( \
Nepomuk::Vocabulary::KExt::unixFileMode(), Term() );<br> &gt; +                \
ComparisonTerm modeTerm( Nepomuk2::Vocabulary::KExt::unixFileMode(), Term() );<br> \
&gt;                  modeTerm.setVariableName( QLatin1String(&quot;mode&quot;) \
);<br> &gt;                  // user<br>
&gt; -                ComparisonTerm userTerm( \
Nepomuk::Vocabulary::KExt::unixFileOwner(), Term() );<br> &gt; +                \
ComparisonTerm userTerm( Nepomuk2::Vocabulary::KExt::unixFileOwner(), Term() );<br> \
&gt;                  userTerm.setVariableName( QLatin1String(&quot;user&quot;) \
);<br> &gt;                  // group<br>
&gt; -                ComparisonTerm groupTerm( \
Nepomuk::Vocabulary::KExt::unixFileGroup(), Term() );<br> &gt; +                \
ComparisonTerm groupTerm( Nepomuk2::Vocabulary::KExt::unixFileGroup(), Term() );<br> \
&gt;                  groupTerm.setVariableName( QLatin1String(&quot;group&quot;) \
);<br> &gt;<br>
&gt;                  // instead of separate request properties we use one optional \
and term. That way<br> &gt; @@ -90,7 +90,7 @@ namespace Nepomuk {<br>
&gt;              }<br>
&gt;              else {<br>
&gt;                  // the URL contains pure sparql.<br>
&gt; -                sparqlQuery = Nepomuk::Query::Query::sparqlFromQueryUrl( url \
);<br> &gt; +                sparqlQuery = \
Nepomuk2::Query::Query::sparqlFromQueryUrl( url );<br> &gt;                  kDebug() \
&lt;&lt; &quot;Extracted SPARL query&quot; &lt;&lt; sparqlQuery;<br> &gt;             \
}<br> &gt;<br>
&gt; diff --git a/nepomuk/kioslaves/search/searchfolder.cpp \
b/nepomuk/kioslaves/search/searchfolder.cpp<br> &gt; index 8a51c42..8088c46 \
100644<br> &gt; --- a/nepomuk/kioslaves/search/searchfolder.cpp<br>
&gt; +++ b/nepomuk/kioslaves/search/searchfolder.cpp<br>
&gt; @@ -27,16 +27,16 @@<br>
&gt;  #include &lt;Soprano/Vocabulary/NAO&gt;<br>
&gt;  #include &lt;Soprano/Node&gt; // for qHash( QUrl )<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/Variant&gt;<br>
&gt; -#include &lt;Nepomuk/Thing&gt;<br>
&gt; -#include &lt;Nepomuk/Types/Class&gt;<br>
&gt; -#include &lt;Nepomuk/Query/Query&gt;<br>
&gt; -#include &lt;Nepomuk/Query/QueryParser&gt;<br>
&gt; -#include &lt;Nepomuk/Query/ResourceTypeTerm&gt;<br>
&gt; -#include &lt;Nepomuk/Query/QueryServiceClient&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NFO&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NIE&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/PIMO&gt;<br>
&gt; +#include &lt;Nepomuk2/Variant&gt;<br>
&gt; +#include &lt;Nepomuk2/Thing&gt;<br>
&gt; +#include &lt;Nepomuk2/Types/Class&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/Query&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/QueryParser&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/ResourceTypeTerm&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/QueryServiceClient&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NFO&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NIE&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/PIMO&gt;<br>
&gt;<br>
&gt;  #include &lt;QtCore/QMutexLocker&gt;<br>
&gt;  #include &lt;QTextDocument&gt;<br>
&gt; @@ -51,7 +51,7 @@<br>
&gt;  #include &lt;KConfigGroup&gt;<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::SearchFolder::SearchFolder( const KUrl&amp; url, KIO::SlaveBase* slave \
)<br> &gt; +Nepomuk2::SearchFolder::SearchFolder( const KUrl&amp; url, \
KIO::SlaveBase* slave )<br> &gt;      : QThread(),<br>
&gt;        m_url( url ),<br>
&gt;        m_initialListingFinished( false ),<br>
&gt; @@ -66,7 +66,7 @@ Nepomuk::SearchFolder::SearchFolder( const KUrl&amp; url, \
KIO::SlaveBase* slave )<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::SearchFolder::~SearchFolder()<br>
&gt; +Nepomuk2::SearchFolder::~SearchFolder()<br>
&gt;  {<br>
&gt;      kDebug() &lt;&lt; m_url &lt;&lt; QThread::currentThread();<br>
&gt;<br>
&gt; @@ -76,18 +76,18 @@ Nepomuk::SearchFolder::~SearchFolder()<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchFolder::run()<br>
&gt; +void Nepomuk2::SearchFolder::run()<br>
&gt;  {<br>
&gt;      kDebug() &lt;&lt; m_url &lt;&lt; QThread::currentThread();<br>
&gt;<br>
&gt; -    m_client = new Nepomuk::Query::QueryServiceClient();<br>
&gt; +    m_client = new Nepomuk2::Query::QueryServiceClient();<br>
&gt;<br>
&gt;      // results signals are connected directly to update the results cache \
m_resultsQueue<br> &gt;      // and the entries cache m_entries, as well as emitting \
KDirNotify signals<br> &gt;      // a queued connection is not possible since we have \
no event loop after the<br> &gt;      // initial listing which means that queued \
signals would never get delivered<br> &gt; -    connect( m_client, SIGNAL( \
newEntries( const QList&lt;Nepomuk::Query::Result&gt;&amp; ) ),<br> &gt; -            \
this, SLOT( slotNewEntries( const QList&lt;Nepomuk::Query::Result&gt;&amp; ) ),<br> \
&gt; +    connect( m_client, SIGNAL( newEntries( const \
QList&lt;Nepomuk2::Query::Result&gt;&amp; ) ),<br> &gt; +             this, SLOT( \
slotNewEntries( const QList&lt;Nepomuk2::Query::Result&gt;&amp; ) ),<br> &gt;         \
Qt::DirectConnection );<br> &gt;      connect( m_client, SIGNAL( resultCount(int) \
),<br> &gt;               this, SLOT( slotResultCount(int) ),<br>
&gt; @@ -110,7 +110,7 @@ void Nepomuk::SearchFolder::run()<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchFolder::list()<br>
&gt; +void Nepomuk2::SearchFolder::list()<br>
&gt;  {<br>
&gt;      kDebug() &lt;&lt; m_url &lt;&lt; QThread::currentThread();<br>
&gt;<br>
&gt; @@ -129,7 +129,7 @@ void Nepomuk::SearchFolder::list()<br>
&gt;<br>
&gt;<br>
&gt;  // always called in search thread<br>
&gt; -void Nepomuk::SearchFolder::slotNewEntries( const \
QList&lt;Nepomuk::Query::Result&gt;&amp; results )<br> &gt; +void \
Nepomuk2::SearchFolder::slotNewEntries( const \
QList&lt;Nepomuk2::Query::Result&gt;&amp; results )<br> &gt;  {<br>
&gt;  //    kDebug() &lt;&lt; m_url;<br>
&gt;<br>
&gt; @@ -143,7 +143,7 @@ void Nepomuk::SearchFolder::slotNewEntries( const \
QList&lt;Nepomuk::Query::Result&gt;&amp;<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::SearchFolder::slotResultCount( int count )<br>
&gt; +void Nepomuk2::SearchFolder::slotResultCount( int count )<br>
&gt;  {<br>
&gt;      if ( !m_initialListingFinished ) {<br>
&gt;          QMutexLocker lock( &amp;m_slaveMutex );<br>
&gt; @@ -153,7 +153,7 @@ void Nepomuk::SearchFolder::slotResultCount( int count )<br>
&gt;<br>
&gt;<br>
&gt;  // always called in search thread<br>
&gt; -void Nepomuk::SearchFolder::slotFinishedListing()<br>
&gt; +void Nepomuk2::SearchFolder::slotFinishedListing()<br>
&gt;  {<br>
&gt;      kDebug() &lt;&lt; m_url;<br>
&gt;      QMutexLocker lock( &amp;m_resultMutex );<br>
&gt; @@ -163,7 +163,7 @@ void Nepomuk::SearchFolder::slotFinishedListing()<br>
&gt;<br>
&gt;<br>
&gt;  // always called in main thread<br>
&gt; -void Nepomuk::SearchFolder::statResults()<br>
&gt; +void Nepomuk2::SearchFolder::statResults()<br>
&gt;  {<br>
&gt;      while ( 1 ) {<br>
&gt;          m_resultMutex.lock();<br>
&gt; @@ -204,9 +204,9 @@ namespace {<br>
&gt;              }<br>
&gt;          }<br>
&gt;<br>
&gt; -        Nepomuk::Resource res( url );<br>
&gt; +        Nepomuk2::Resource res( url );<br>
&gt;          if ( res.exists() ) {<br>
&gt; -            uds = Nepomuk::statNepomukResource( res );<br>
&gt; +            uds = Nepomuk2::statNepomukResource( res );<br>
&gt;              return true;<br>
&gt;          }<br>
&gt;<br>
&gt; @@ -217,13 +217,13 @@ namespace {<br>
&gt;<br>
&gt;<br>
&gt;  // always called in main thread<br>
&gt; -// This method tries to avoid loading the Nepomuk::Resource as long as possible \
by only using the<br> &gt; +// This method tries to avoid loading the \
Nepomuk2::Resource as long as possible by only using the<br> &gt;  // request \
property nie:url in the Result for local files.<br> &gt; -KIO::UDSEntry \
Nepomuk::SearchFolder::statResult( const Query::Result&amp; result )<br> &gt; \
+KIO::UDSEntry Nepomuk2::SearchFolder::statResult( const Query::Result&amp; result \
)<br> &gt;  {<br>
&gt;      Resource res( result.resource() );<br>
&gt;      const KUrl uri( res.resourceUri() );<br>
&gt; -    KUrl nieUrl( result[Nepomuk::Vocabulary::NIE::url()].uri() );<br>
&gt; +    KUrl nieUrl( result[Nepomuk2::Vocabulary::NIE::url()].uri() );<br>
&gt;<br>
&gt;      // the additional bindings that we only have on unix systems<br>
&gt;      // Either all are bound or none of them.<br>
&gt; @@ -263,7 +263,7 @@ KIO::UDSEntry Nepomuk::SearchFolder::statResult( const \
Query::Result&amp; result )<br> &gt;<br>
&gt;          // check if we have a pimo thing relating to a file<br>
&gt;          if ( nieUrl.isEmpty() )<br>
&gt; -            nieUrl = Nepomuk::nepomukToFileUrl( uri );<br>
&gt; +            nieUrl = Nepomuk2::nepomukToFileUrl( uri );<br>
&gt;<br>
&gt;          // try to stat the file<br>
&gt;          if ( statFile( uri, nieUrl, uds ) ) {<br>
&gt; @@ -280,10 +280,10 @@ KIO::UDSEntry Nepomuk::SearchFolder::statResult( const \
Query::Result&amp; result )<br> &gt;              // make sure we do not use these \
ugly names for display<br> &gt;              if ( !uds.contains( \
KIO::UDSEntry::UDS_DISPLAY_NAME ) ) {<br> &gt;                  if ( nieUrl.isEmpty() \
&amp;&amp;<br> &gt; -                        res.hasType( \
Nepomuk::Vocabulary::PIMO::Thing() ) ) {<br> &gt; +                        \
res.hasType( Nepomuk2::Vocabulary::PIMO::Thing() ) ) {<br> &gt;                      \
if ( !res.pimoThing().groundingOccurrences().isEmpty() ) {<br> &gt;                   \
res = res.pimoThing().groundingOccurrences().first();<br> &gt; -                      \
nieUrl = res.property(Nepomuk::Vocabulary::NIE::url()).toUrl();<br> &gt; +            \
nieUrl = res.property(Nepomuk2::Vocabulary::NIE::url()).toUrl();<br> &gt;             \
}<br> &gt;                  }<br>
&gt;<br>
&gt; diff --git a/nepomuk/kioslaves/search/searchfolder.h \
b/nepomuk/kioslaves/search/searchfolder.h<br> &gt; index 83dfe6b..c0839b5 100644<br>
&gt; --- a/nepomuk/kioslaves/search/searchfolder.h<br>
&gt; +++ b/nepomuk/kioslaves/search/searchfolder.h<br>
&gt; @@ -27,17 +27,17 @@<br>
&gt;  #include &lt;QtCore/QMutex&gt;<br>
&gt;  #include &lt;QtCore/QWaitCondition&gt;<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/Query/Term&gt;<br>
&gt; -#include &lt;Nepomuk/Query/Result&gt;<br>
&gt; -#include &lt;Nepomuk/Query/Query&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/Term&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/Result&gt;<br>
&gt; +#include &lt;Nepomuk2/Query/Query&gt;<br>
&gt;<br>
&gt;  #include &lt;kio/udsentry.h&gt;<br>
&gt;  #include &lt;kio/slavebase.h&gt;<br>
&gt; -#include &lt;Nepomuk/Resource&gt;<br>
&gt; +#include &lt;Nepomuk2/Resource&gt;<br>
&gt;  #include &lt;KUrl&gt;<br>
&gt;<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;      namespace Query {<br>
&gt;          class QueryServiceClient;<br>
&gt;      }<br>
&gt; @@ -80,7 +80,7 @@ namespace Nepomuk {<br>
&gt;<br>
&gt;      private Q_SLOTS:<br>
&gt;          /// connected to the QueryServiceClient in the search thread<br>
&gt; -        void slotNewEntries( const QList&lt;Nepomuk::Query::Result&gt;&amp; \
);<br> &gt; +        void slotNewEntries( const \
QList&lt;Nepomuk2::Query::Result&gt;&amp; );<br> &gt;<br>
&gt;          /// connected to the QueryServiceClient in the search thread<br>
&gt;          void slotResultCount( int );<br>
&gt; diff --git a/nepomuk/kioslaves/search/userqueries.h \
b/nepomuk/kioslaves/search/userqueries.h<br> &gt; index f1d48fb..5430f22 100644<br>
&gt; --- a/nepomuk/kioslaves/search/userqueries.h<br>
&gt; +++ b/nepomuk/kioslaves/search/userqueries.h<br>
&gt; @@ -30,20 +30,20 @@<br>
&gt;  #include &lt;QtCore/QStringList&gt;<br>
&gt;<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;      /// convert a normal query URL which can be listed to a URL which is used \
as location for user queries<br> &gt;      inline KUrl queryUrlToUserQueryUrl( const \
KUrl&amp; url )<br> &gt;      {<br>
&gt;          // the query URL is NOT the URL under which the query is listed!<br>
&gt;          KUrl queryListUrl;<br>
&gt;          queryListUrl.setProtocol( QLatin1String( &quot;nepomuksearch&quot; ) \
);<br> &gt; -        queryListUrl.setFileName( Nepomuk::resourceUriToUdsName( url ) \
);<br> &gt; +        queryListUrl.setFileName( Nepomuk2::resourceUriToUdsName( url ) \
);<br> &gt;          return queryListUrl;<br>
&gt;      }<br>
&gt;<br>
&gt;      inline KUrl queryUrlFromUserQueryUrl( const KUrl&amp; url )<br>
&gt;      {<br>
&gt; -        return Nepomuk::udsNameToResourceUri( url.fileName() );<br>
&gt; +        return Nepomuk2::udsNameToResourceUri( url.fileName() );<br>
&gt;      }<br>
&gt;<br>
&gt;      class UserQueryUrlList : public KUrl::List<br>
&gt; @@ -114,7 +114,7 @@ namespace Nepomuk {<br>
&gt;              QStringList oldUserQueryUrls;<br>
&gt;              QList&lt;KUrl&gt;::iterator it = findQueryUrl( url );<br>
&gt;              while ( it != end() ) {<br>
&gt; -                oldUserQueryUrls &lt;&lt; Nepomuk::queryUrlToUserQueryUrl( *it \
).url();<br> &gt; +                oldUserQueryUrls &lt;&lt; \
Nepomuk2::queryUrlToUserQueryUrl( *it ).url();<br> &gt;                  erase( it \
);<br> &gt;                  it = findQueryUrl( url );<br>
&gt;              }<br>
&gt; diff --git a/nepomuk/kioslaves/timeline/CMakeLists.txt \
b/nepomuk/kioslaves/timeline/CMakeLists.txt<br> &gt; index 6ba43d1..903f13f \
100644<br> &gt; --- a/nepomuk/kioslaves/timeline/CMakeLists.txt<br>
&gt; +++ b/nepomuk/kioslaves/timeline/CMakeLists.txt<br>
&gt; @@ -4,7 +4,7 @@ include_directories(<br>
&gt;    ${QT_INCLUDES}<br>
&gt;    ${KDE4_INCLUDES}<br>
&gt;    ${KDE4_KIO_INCLUDES}<br>
&gt; -  ${NEPOMUK_INCLUDE_DIR}<br>
&gt; +  ${NEPOMUK_CORE_INCLUDE_DIR}<br>
&gt;    ${CMAKE_CURRENT_BINARY_DIR}<br>
&gt;    ${nepomuk_kio_slaves_SOURCE_DIR}/common<br>
&gt;  )<br>
&gt; @@ -15,15 +15,14 @@ set(kio_timeline_PART_SRCS<br>
&gt;    kio_timeline.cpp<br>
&gt;    ../common/timelinetools.cpp)<br>
&gt;<br>
&gt; -qt4_add_dbus_interface(kio_timeline_PART_SRCS \
../../interfaces/org.kde.nepomuk.ServiceControl.xml \
nepomukservicecontrolinterface)<br> &gt; \
+qt4_add_dbus_interface(kio_timeline_PART_SRCS \
${NEPOMUK_CORE_DBUS_INTERFACES_DIR}/org.kde.nepomuk.ServiceControl.xml \
nepomukservicecontrolinterface)<br> &gt;<br>
&gt;  kde4_add_plugin(kio_timeline ${kio_timeline_PART_SRCS})<br>
&gt;<br>
&gt;  target_link_libraries(kio_timeline<br>
&gt;    nepomukcommon<br>
&gt;    ${KDE4_KIO_LIBS}<br>
&gt; -  ${NEPOMUK_LIBRARIES}<br>
&gt; -  ${NEPOMUK_QUERY_LIBRARIES}<br>
&gt; +  ${NEPOMUK_CORE_LIBRARIES}<br>
&gt;    ${SOPRANO_LIBRARIES}<br>
&gt;  )<br>
&gt;<br>
&gt; diff --git a/nepomuk/kioslaves/timeline/kio_timeline.cpp \
b/nepomuk/kioslaves/timeline/kio_timeline.cpp<br> &gt; index 24eb424..7ddca1f \
100644<br> &gt; --- a/nepomuk/kioslaves/timeline/kio_timeline.cpp<br>
&gt; +++ b/nepomuk/kioslaves/timeline/kio_timeline.cpp<br>
&gt; @@ -22,10 +22,10 @@<br>
&gt;  #include &quot;nepomukservicecontrolinterface.h&quot;<br>
&gt;  #include &quot;timelinetools.h&quot;<br>
&gt;<br>
&gt; -#include &lt;Nepomuk/ResourceManager&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NFO&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NIE&gt;<br>
&gt; -#include &lt;Nepomuk/Vocabulary/NUAO&gt;<br>
&gt; +#include &lt;Nepomuk2/ResourceManager&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NFO&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NIE&gt;<br>
&gt; +#include &lt;Nepomuk2/Vocabulary/NUAO&gt;<br>
&gt;<br>
&gt;  #include &lt;KUrl&gt;<br>
&gt;  #include &lt;kio/global.h&gt;<br>
&gt; @@ -92,33 +92,33 @@ namespace {<br>
&gt;          KIO::UDSEntry uds = createFolderUDSEntry( \
date.toString(&quot;yyyy-MM-dd&quot;),<br> &gt;                                       \
KGlobal::locale()-&gt;formatDate( date, KLocale::FancyLongDate ),<br> &gt;            \
date );<br> &gt; -        uds.insert( KIO::UDSEntry::UDS_NEPOMUK_QUERY, \
Nepomuk::buildTimelineQuery( date ).toString() );<br> &gt; +        uds.insert( \
KIO::UDSEntry::UDS_NEPOMUK_QUERY, Nepomuk2::buildTimelineQuery( date ).toString() \
);<br> &gt;          return uds;<br>
&gt;      }<br>
&gt;<br>
&gt;      bool filesInDateRange( const QDate&amp; from, const QDate&amp; to = QDate() \
)<br> &gt;      {<br>
&gt; -        return \
Nepomuk::ResourceManager::instance()-&gt;mainModel()-&gt;executeQuery(<br> &gt; -     \
Nepomuk::buildTimelineQuery( from, to \
).toSparqlQuery(Nepomuk::Query::Query::CreateAskQuery),<br> &gt; +        return \
Nepomuk2::ResourceManager::instance()-&gt;mainModel()-&gt;executeQuery(<br> &gt; +    \
Nepomuk2::buildTimelineQuery( from, to \
).toSparqlQuery(Nepomuk2::Query::Query::CreateAskQuery),<br> &gt;                     \
Soprano::Query::QueryLanguageSparql ).boolValue();<br> &gt;      }<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::TimelineProtocol::TimelineProtocol( const QByteArray&amp; poolSocket, \
const QByteArray&amp; appSocket )<br> &gt; \
+Nepomuk2::TimelineProtocol::TimelineProtocol( const QByteArray&amp; poolSocket, \
const QByteArray&amp; appSocket )<br> &gt;      : KIO::ForwardingSlaveBase( \
&quot;timeline&quot;, poolSocket, appSocket )<br> &gt;  {<br>
&gt;      kDebug();<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -Nepomuk::TimelineProtocol::~TimelineProtocol()<br>
&gt; +Nepomuk2::TimelineProtocol::~TimelineProtocol()<br>
&gt;  {<br>
&gt;      kDebug();<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::TimelineProtocol::listDir( const KUrl&amp; url )<br>
&gt; +void Nepomuk2::TimelineProtocol::listDir( const KUrl&amp; url )<br>
&gt;  {<br>
&gt;      // without a running file indexer timeline is not at all reliable<br>
&gt;      if ( !QDBusConnection::sessionBus().interface()-&gt;isServiceRegistered( \
&quot;org.kde.nepomuk.services.nepomukfileindexer&quot; ) ||<br> &gt; @@ -162,14 \
+162,14 @@ void Nepomuk::TimelineProtocol::listDir( const KUrl&amp; url )<br> &gt;  \
}<br> &gt;<br>
&gt;<br>
&gt; -void Nepomuk::TimelineProtocol::mkdir( const KUrl &amp;url, int permissions \
)<br> &gt; +void Nepomuk2::TimelineProtocol::mkdir( const KUrl &amp;url, int \
permissions )<br> &gt;  {<br>
&gt;      Q_UNUSED(permissions);<br>
&gt;      error( ERR_UNSUPPORTED_ACTION, url.prettyUrl() );<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::TimelineProtocol::get( const KUrl&amp; url )<br>
&gt; +void Nepomuk2::TimelineProtocol::get( const KUrl&amp; url )<br>
&gt;  {<br>
&gt;      kDebug() &lt;&lt; url;<br>
&gt;<br>
&gt; @@ -182,7 +182,7 @@ void Nepomuk::TimelineProtocol::get( const KUrl&amp; url \
)<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::TimelineProtocol::put( const KUrl&amp; url, int permissions, \
KIO::JobFlags flags )<br> &gt; +void Nepomuk2::TimelineProtocol::put( const KUrl&amp; \
url, int permissions, KIO::JobFlags flags )<br> &gt;  {<br>
&gt;      kDebug() &lt;&lt; url;<br>
&gt;<br>
&gt; @@ -195,7 +195,7 @@ void Nepomuk::TimelineProtocol::put( const KUrl&amp; url, \
int permissions, KIO::JobF<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::TimelineProtocol::copy( const KUrl&amp; src, const KUrl&amp; \
dest, int permissions, KIO::JobFlags flags )<br> &gt; +void \
Nepomuk2::TimelineProtocol::copy( const KUrl&amp; src, const KUrl&amp; dest, int \
permissions, KIO::JobFlags flags )<br> &gt;  {<br>
&gt;      Q_UNUSED(src);<br>
&gt;      Q_UNUSED(dest);<br>
&gt; @@ -206,7 +206,7 @@ void Nepomuk::TimelineProtocol::copy( const KUrl&amp; src, \
const KUrl&amp; dest, int per<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::TimelineProtocol::rename( const KUrl&amp; src, const KUrl&amp; \
dest, KIO::JobFlags flags )<br> &gt; +void Nepomuk2::TimelineProtocol::rename( const \
KUrl&amp; src, const KUrl&amp; dest, KIO::JobFlags flags )<br> &gt;  {<br>
&gt;      Q_UNUSED(src);<br>
&gt;      Q_UNUSED(dest);<br>
&gt; @@ -216,21 +216,21 @@ void Nepomuk::TimelineProtocol::rename( const KUrl&amp; \
src, const KUrl&amp; dest, KIO::<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::TimelineProtocol::del( const KUrl&amp; url, bool isfile )<br>
&gt; +void Nepomuk2::TimelineProtocol::del( const KUrl&amp; url, bool isfile )<br>
&gt;  {<br>
&gt;      kDebug() &lt;&lt; url;<br>
&gt;      ForwardingSlaveBase::del( url, isfile );<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::TimelineProtocol::mimetype( const KUrl&amp; url )<br>
&gt; +void Nepomuk2::TimelineProtocol::mimetype( const KUrl&amp; url )<br>
&gt;  {<br>
&gt;      kDebug() &lt;&lt; url;<br>
&gt;      ForwardingSlaveBase::mimetype( url );<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::TimelineProtocol::stat( const KUrl&amp; url )<br>
&gt; +void Nepomuk2::TimelineProtocol::stat( const KUrl&amp; url )<br>
&gt;  {<br>
&gt;      switch( parseTimelineUrl( url, &amp;m_date, &amp;m_filename ) ) {<br>
&gt;      case RootFolder: {<br>
&gt; @@ -272,7 +272,7 @@ void Nepomuk::TimelineProtocol::stat( const KUrl&amp; url \
)<br> &gt;<br>
&gt;<br>
&gt;  // only used for the queries<br>
&gt; -bool Nepomuk::TimelineProtocol::rewriteUrl( const KUrl&amp; url, KUrl&amp; \
newURL )<br> &gt; +bool Nepomuk2::TimelineProtocol::rewriteUrl( const KUrl&amp; url, \
KUrl&amp; newURL )<br> &gt;  {<br>
&gt;      if ( parseTimelineUrl( url, &amp;m_date, &amp;m_filename ) == DayFolder ) \
{<br> &gt;          newURL = buildTimelineQuery( m_date ).toSearchUrl();<br>
&gt; @@ -286,7 +286,7 @@ bool Nepomuk::TimelineProtocol::rewriteUrl( const KUrl&amp; \
url, KUrl&amp; newURL )<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::TimelineProtocol::prepareUDSEntry( KIO::UDSEntry&amp; entry,<br>
&gt; +void Nepomuk2::TimelineProtocol::prepareUDSEntry( KIO::UDSEntry&amp; entry,<br>
&gt;                                                   bool listing ) const<br>
&gt;  {<br>
&gt;      kDebug() &lt;&lt; entry.stringValue( KIO::UDSEntry::UDS_NEPOMUK_URI) \
&lt;&lt; entry.stringValue( KIO::UDSEntry::UDS_MIME_TYPE) &lt;&lt; listing;<br> &gt; \
@@ -294,7 +294,7 @@ void Nepomuk::TimelineProtocol::prepareUDSEntry( \
KIO::UDSEntry&amp; entry,<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::TimelineProtocol::listDays( int month, int year )<br>
&gt; +void Nepomuk2::TimelineProtocol::listDays( int month, int year )<br>
&gt;  {<br>
&gt;      kDebug() &lt;&lt; month &lt;&lt; year;<br>
&gt;      const int days = KGlobal::locale()-&gt;calendar()-&gt;daysInMonth( QDate( \
year, month, 1 ) );<br> &gt; @@ -308,7 +308,7 @@ void \
Nepomuk::TimelineProtocol::listDays( int month, int year )<br> &gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::TimelineProtocol::listThisYearsMonths()<br>
&gt; +void Nepomuk2::TimelineProtocol::listThisYearsMonths()<br>
&gt;  {<br>
&gt;      kDebug();<br>
&gt;      int currentMonth = QDate::currentDate().month();<br>
&gt; @@ -322,7 +322,7 @@ void Nepomuk::TimelineProtocol::listThisYearsMonths()<br>
&gt;  }<br>
&gt;<br>
&gt;<br>
&gt; -void Nepomuk::TimelineProtocol::listPreviousYears()<br>
&gt; +void Nepomuk2::TimelineProtocol::listPreviousYears()<br>
&gt;  {<br>
&gt;      kDebug();<br>
&gt;      // TODO: list years before this year that have files, but first get the \
smallest date<br> &gt; @@ -345,7 +345,7 @@ extern &quot;C&quot;<br>
&gt;              exit(-1);<br>
&gt;          }<br>
&gt;<br>
&gt; -        Nepomuk::TimelineProtocol slave(argv[2], argv[3]);<br>
&gt; +        Nepomuk2::TimelineProtocol slave(argv[2], argv[3]);<br>
&gt;          slave.dispatchLoop();<br>
&gt;<br>
&gt;          kDebug(7102) &lt;&lt; &quot;Timeline slave Done&quot;;<br>
&gt; diff --git a/nepomuk/kioslaves/timeline/kio_timeline.h \
b/nepomuk/kioslaves/timeline/kio_timeline.h<br> &gt; index c31d6ee..d20005c \
100644<br> &gt; --- a/nepomuk/kioslaves/timeline/kio_timeline.h<br>
&gt; +++ b/nepomuk/kioslaves/timeline/kio_timeline.h<br>
&gt; @@ -25,7 +25,7 @@<br>
&gt;<br>
&gt;  #include &lt;QtCore/QDate&gt;<br>
&gt;<br>
&gt; -namespace Nepomuk {<br>
&gt; +namespace Nepomuk2 {<br>
&gt;      class TimelineProtocol : public KIO::ForwardingSlaveBase<br>
&gt;      {<br>
&gt;          Q_OBJECT<br>
&gt; diff --git a/nepomuk/ontologies/CMakeLists.txt \
b/nepomuk/ontologies/CMakeLists.txt<br> &gt; deleted file mode 100644<br>
&gt; index 7a7a590..0000000<br>
&gt; --- a/nepomuk/ontologies/CMakeLists.txt<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,14 +0,0 @@<br>
&gt; -project(nepomuk_ontologies)<br>
&gt; -<br>
&gt; -configure_file(<a href="http://kuvo.ontology.in" \
target="_blank">kuvo.ontology.in</a> ${CMAKE_CURRENT_BINARY_DIR}/kuvo.ontology)<br> \
&gt; -configure_file(<a href="http://nrio.ontology.in" \
target="_blank">nrio.ontology.in</a> ${CMAKE_CURRENT_BINARY_DIR}/nrio.ontology)<br> \
&gt; -configure_file(<a href="http://kext.ontology.in" \
target="_blank">kext.ontology.in</a> ${CMAKE_CURRENT_BINARY_DIR}/kext.ontology)<br> \
&gt; -<br> &gt; -install(FILES<br>
&gt; -  kuvo.trig<br>
&gt; -  ${CMAKE_CURRENT_BINARY_DIR}/kuvo.ontology<br>
&gt; -  nrio.trig<br>
&gt; -  ${CMAKE_CURRENT_BINARY_DIR}/nrio.ontology<br>
&gt; -  kext.trig<br>
&gt; -  ${CMAKE_CURRENT_BINARY_DIR}/kext.ontology<br>
&gt; -DESTINATION ${CMAKE_INSTALL_PREFIX}/share/ontology/kde)<br>
&gt; diff --git a/nepomuk/ontologies/README b/nepomuk/ontologies/README<br>
&gt; deleted file mode 100644<br>
&gt; index 567dae8..0000000<br>
&gt; --- a/nepomuk/ontologies/README<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,5 +0,0 @@<br>
&gt; -This folder contains ontologies that build upon the ones<br>
&gt; -from shared-desktop-ontologies and contain KDE-specific<br>
&gt; -extensions that can not be or are hard to generalize.<br>
&gt; -<br>
&gt; -Sebastian Trueg &lt;<a href="mailto:trueg@kde.org">trueg@kde.org</a>&gt; \
2010-08-18<br> &gt; diff --git a/nepomuk/ontologies/<a href="http://kext.ontology.in" \
target="_blank">kext.ontology.in</a> b/nepomuk/ontologies/<a \
href="http://kext.ontology.in" target="_blank">kext.ontology.in</a><br> &gt; deleted \
file mode 100644<br> &gt; index a9ada44..0000000<br>
&gt; --- a/nepomuk/ontologies/<a href="http://kext.ontology.in" \
target="_blank">kext.ontology.in</a><br> &gt; +++ /dev/null<br>
&gt; @@ -1,8 +0,0 @@<br>
&gt; -[Ontology]<br>
&gt; -Version=1.0<br>
&gt; -Name=KDE Extensions Ontology<br>
&gt; -Comment=The KDE Extensions Ontology contains extensions to the \
shared-desktop-ontologies that are not generic enough.<br> &gt; -Namespace=<a \
href="http://nepomuk.kde.org/ontologies/2010/11/29/kext#" \
target="_blank">http://nepomuk.kde.org/ontologies/2010/11/29/kext#</a><br> &gt; \
-Path=${CMAKE_INSTALL_PREFIX}/share/ontology/kde/kext.trig<br> &gt; \
-MimeType=application/x-trig<br> &gt; -Type=Data<br>
&gt; diff --git a/nepomuk/ontologies/kext.trig b/nepomuk/ontologies/kext.trig<br>
&gt; deleted file mode 100644<br>
&gt; index b7c1773..0000000<br>
&gt; --- a/nepomuk/ontologies/kext.trig<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,91 +0,0 @@<br>
&gt; -#<br>
&gt; -# Copyright (c) 2010-2011 Sebastian Trueg &lt;<a \
href="mailto:trueg@kde.org">trueg@kde.org</a>&gt;<br> &gt; -# All rights reserved, \
licensed under either CC-BY or BSD.<br> &gt; -#<br>
&gt; -# You are free:<br>
&gt; -#  * to Share - to copy, distribute and transmit the work<br>
&gt; -#  * to Remix - to adapt the work<br>
&gt; -# Under the following conditions:<br>
&gt; -#  * Attribution - You must attribute the work in the manner specified by the \
author<br> &gt; -#    or licensor (but not in any way that suggests that they endorse \
you or your use<br> &gt; -#    of the work).<br>
&gt; -#<br>
&gt; -# Redistribution and use in source and binary forms, with or without \
modification,<br> &gt; -# are permitted provided that the following conditions are \
met:<br> &gt; -#  * Redistributions of source code must retain the above copyright \
notice, this<br> &gt; -#    list of conditions and the following disclaimer.<br>
&gt; -#  * Redistributions in binary form must reproduce the above copyright notice, \
this<br> &gt; -#    list of conditions and the following disclaimer in the \
documentation and/or<br> &gt; -#    other materials provided with the \
distribution.<br> &gt; -#  * Neither the names of the authors nor the names of \
contributors may<br> &gt; -#    be used to endorse or promote products derived from \
this ontology without<br> &gt; -#    specific prior written permission.<br>
&gt; -#<br>
&gt; -# THIS ONTOLOGY IS PROVIDED BY THE AUTHOR ``AS IS&#39;&#39; AND ANY EXPRESS \
OR<br> &gt; -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED \
WARRANTIES<br> &gt; -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE \
DISCLAIMED.<br> &gt; -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, \
INDIRECT,<br> &gt; -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES \
(INCLUDING, BUT<br> &gt; -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR \
SERVICES; LOSS OF USE,<br> &gt; -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) \
HOWEVER CAUSED AND ON ANY<br> &gt; -# THEORY OF LIABILITY, WHETHER IN CONTRACT, \
STRICT LIABILITY, OR TORT<br> &gt; -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN \
ANY WAY OUT OF THE USE OF<br> &gt; -# THIS ONTOLOGY, EVEN IF ADVISED OF THE \
POSSIBILITY OF SUCH DAMAGE.<br> &gt; -#<br>
&gt; -<br>
&gt; -@prefix rdfs:    &lt;<a href="http://www.w3.org/2000/01/rdf-schema#" \
target="_blank">http://www.w3.org/2000/01/rdf-schema#</a>&gt; .<br> &gt; -@prefix \
nao:     &lt;<a href="http://www.semanticdesktop.org/ontologies/2007/08/15/nao#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2007/08/15/nao#</a>&gt; \
.<br> &gt; -@prefix nrl:     &lt;<a \
href="http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#</a>&gt; \
.<br> &gt; -@prefix nie:     &lt;<a \
href="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2007/01/19/nie#</a>&gt; \
.<br> &gt; -@prefix xsd:     &lt;<a href="http://www.w3.org/2001/XMLSchema#" \
target="_blank">http://www.w3.org/2001/XMLSchema#</a>&gt; .<br> &gt; -@prefix rdf:    \
&lt;<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#" \
target="_blank">http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>&gt; .<br> &gt; \
-@prefix kext:    &lt;<a href="http://nepomuk.kde.org/ontologies/2010/11/29/kext#" \
target="_blank">http://nepomuk.kde.org/ontologies/2010/11/29/kext#</a>&gt; .<br> &gt; \
-@prefix nfo:     &lt;<a \
href="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#</a>&gt; \
.<br> &gt; -<br>
&gt; -kext: {<br>
&gt; -    kext:unixFileMode<br>
&gt; -          a      rdf:Property ;<br>
&gt; -          rdfs:label &quot;Unix file mode&quot; ;<br>
&gt; -          rdfs:comment &quot;The file mode value as seen on unix file \
systems.&quot; ;<br> &gt; -          rdfs:domain nfo:FileDataObject ;<br>
&gt; -          rdfs:range xsd:integer ;<br>
&gt; -          nrl:maxCardinality 1 ;<br>
&gt; -          nao:userVisible false .<br>
&gt; -<br>
&gt; -    kext:unixFileOwner<br>
&gt; -          a      rdf:Property ;<br>
&gt; -          rdfs:label &quot;Unix file owner&quot; ;<br>
&gt; -          rdfs:comment &quot;The owner of the file as seen on unix file \
systems. This is intended as the low-level counterpart to nfo:owner.&quot; ;<br> &gt; \
-          rdfs:domain nfo:FileDataObject ;<br> &gt; -          rdfs:range xsd:string \
;<br> &gt; -          nrl:maxCardinality 1 ;<br>
&gt; -          nao:userVisible false .<br>
&gt; -<br>
&gt; -    kext:unixFileGroup<br>
&gt; -          a      rdf:Property ;<br>
&gt; -          rdfs:label &quot;Unix file group&quot; ;<br>
&gt; -          rdfs:comment &quot;The group of the file as seen on unix file \
systems.&quot; ;<br> &gt; -          rdfs:domain nfo:FileDataObject ;<br>
&gt; -          rdfs:range xsd:string ;<br>
&gt; -          nrl:maxCardinality 1 ;<br>
&gt; -          nao:userVisible false .<br>
&gt; -}<br>
&gt; -<br>
&gt; -&lt;<a href="http://nepomuk.kde.org/ontologies/2010/11/29/kext/metadata" \
target="_blank">http://nepomuk.kde.org/ontologies/2010/11/29/kext/metadata</a>&gt; \
{<br> &gt; -    &lt;<a \
href="http://nepomuk.kde.org/ontologies/2010/11/29/kext/metadata" \
target="_blank">http://nepomuk.kde.org/ontologies/2010/11/29/kext/metadata</a>&gt;<br>
 &gt; -          a       nrl:GraphMetadata ;<br>
&gt; -          nrl:coreGraphMetadataFor kext: .<br>
&gt; -<br>
&gt; -<br>
&gt; -    kext:<br>
&gt; -          a       nrl:Ontology , nrl:DocumentGraph ;<br>
&gt; -          nao:prefLabel &quot;KDE Extensions Ontology&quot; ;<br>
&gt; -          nao:hasDefaultNamespace &quot;<a \
href="http://nepomuk.kde.org/ontologies/2010/11/29/kext#" \
target="_blank">http://nepomuk.kde.org/ontologies/2010/11/29/kext#</a>&quot; ;<br> \
&gt; -          nao:hasDefaultNamespaceAbbreviation &quot;kext&quot; ;<br> &gt; -     \
nao:lastModified &quot;2012-03-09T13:04:43Z&quot; ;<br> &gt; -          \
nao:serializationLanguage &quot;TriG&quot; ;<br> &gt; -          nao:status \
&quot;Unstable&quot; ;<br> &gt; -          nrl:updatable &quot;0&quot; ;<br>
&gt; -          nao:version &quot;2&quot; .<br>
&gt; -}<br>
&gt; -<br>
&gt; diff --git a/nepomuk/ontologies/<a href="http://kuvo.ontology.in" \
target="_blank">kuvo.ontology.in</a> b/nepomuk/ontologies/<a \
href="http://kuvo.ontology.in" target="_blank">kuvo.ontology.in</a><br> &gt; deleted \
file mode 100644<br> &gt; index f50d5e8..0000000<br>
&gt; --- a/nepomuk/ontologies/<a href="http://kuvo.ontology.in" \
target="_blank">kuvo.ontology.in</a><br> &gt; +++ /dev/null<br>
&gt; @@ -1,8 +0,0 @@<br>
&gt; -[Ontology]<br>
&gt; -Version=1.0<br>
&gt; -Name=KDE User Visibility Ontology<br>
&gt; -Comment=The KDE User Visibility Ontology does not define any new classes or \
properties. It simply defines nao:userVisible on existing classes and properties.<br> \
&gt; -Namespace=<a href="http://nepomuk.kde.org/ontologies/2010/08/18/kuvo#" \
target="_blank">http://nepomuk.kde.org/ontologies/2010/08/18/kuvo#</a><br> &gt; \
-Path=${CMAKE_INSTALL_PREFIX}/share/ontology/kde/kuvo.trig<br> &gt; \
-MimeType=application/x-trig<br> &gt; -Type=Data<br>
&gt; diff --git a/nepomuk/ontologies/kuvo.trig b/nepomuk/ontologies/kuvo.trig<br>
&gt; deleted file mode 100644<br>
&gt; index 11ac9f4..0000000<br>
&gt; --- a/nepomuk/ontologies/kuvo.trig<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,93 +0,0 @@<br>
&gt; -#<br>
&gt; -# Copyright (c) 2010 Sebastian Trueg &lt;<a \
href="mailto:trueg@kde.org">trueg@kde.org</a>&gt;<br> &gt; -# All rights reserved, \
licensed under either CC-BY or BSD.<br> &gt; -#<br>
&gt; -# You are free:<br>
&gt; -#  * to Share - to copy, distribute and transmit the work<br>
&gt; -#  * to Remix - to adapt the work<br>
&gt; -# Under the following conditions:<br>
&gt; -#  * Attribution - You must attribute the work in the manner specified by the \
author<br> &gt; -#    or licensor (but not in any way that suggests that they endorse \
you or your use<br> &gt; -#    of the work).<br>
&gt; -#<br>
&gt; -# Redistribution and use in source and binary forms, with or without \
modification,<br> &gt; -# are permitted provided that the following conditions are \
met:<br> &gt; -#  * Redistributions of source code must retain the above copyright \
notice, this<br> &gt; -#    list of conditions and the following disclaimer.<br>
&gt; -#  * Redistributions in binary form must reproduce the above copyright notice, \
this<br> &gt; -#    list of conditions and the following disclaimer in the \
documentation and/or<br> &gt; -#    other materials provided with the \
distribution.<br> &gt; -#  * Neither the names of the authors nor the names of \
contributors may<br> &gt; -#    be used to endorse or promote products derived from \
this ontology without<br> &gt; -#    specific prior written permission.<br>
&gt; -#<br>
&gt; -# THIS ONTOLOGY IS PROVIDED BY THE AUTHOR ``AS IS&#39;&#39; AND ANY EXPRESS \
OR<br> &gt; -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED \
WARRANTIES<br> &gt; -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE \
DISCLAIMED.<br> &gt; -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, \
INDIRECT,<br> &gt; -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES \
(INCLUDING, BUT<br> &gt; -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR \
SERVICES; LOSS OF USE,<br> &gt; -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) \
HOWEVER CAUSED AND ON ANY<br> &gt; -# THEORY OF LIABILITY, WHETHER IN CONTRACT, \
STRICT LIABILITY, OR TORT<br> &gt; -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN \
ANY WAY OUT OF THE USE OF<br> &gt; -# THIS ONTOLOGY, EVEN IF ADVISED OF THE \
POSSIBILITY OF SUCH DAMAGE.<br> &gt; -#<br>
&gt; -<br>
&gt; -@prefix rdfs:    &lt;<a href="http://www.w3.org/2000/01/rdf-schema#" \
target="_blank">http://www.w3.org/2000/01/rdf-schema#</a>&gt; .<br> &gt; -@prefix \
nao:     &lt;<a href="http://www.semanticdesktop.org/ontologies/2007/08/15/nao#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2007/08/15/nao#</a>&gt; \
.<br> &gt; -@prefix nrl:     &lt;<a \
href="http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#</a>&gt; \
.<br> &gt; -@prefix nie:     &lt;<a \
href="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2007/01/19/nie#</a>&gt; \
.<br> &gt; -@prefix xsd:     &lt;<a href="http://www.w3.org/2001/XMLSchema#" \
target="_blank">http://www.w3.org/2001/XMLSchema#</a>&gt; .<br> &gt; -@prefix rdf:    \
&lt;<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#" \
target="_blank">http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>&gt; .<br> &gt; \
-@prefix kuvo:    &lt;<a href="http://nepomuk.kde.org/ontologies/2010/08/18/kuvo#" \
target="_blank">http://nepomuk.kde.org/ontologies/2010/08/18/kuvo#</a>&gt; .<br> &gt; \
-@prefix nuao:    &lt;<a \
href="http://www.semanticdesktop.org/ontologies/2010/01/25/nuao#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2010/01/25/nuao#</a>&gt; \
.<br> &gt; -@prefix nfo:     &lt;<a \
href="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#</a>&gt; \
.<br> &gt; -<br>
&gt; -kuvo: {<br>
&gt; -    # Setting a baseline calms down the algorithm that creates all the \
entries.<br> &gt; -    rdfs:Resource<br>
&gt; -        nao:userVisible true .<br>
&gt; -<br>
&gt; -    nao:userVisible<br>
&gt; -        nao:userVisible false .<br>
&gt; -<br>
&gt; -    nao:hasSubResource<br>
&gt; -        nao:userVisible false .<br>
&gt; -<br>
&gt; -    nuao:Event<br>
&gt; -        nao:userVisible false .<br>
&gt; -<br>
&gt; -    nao:score<br>
&gt; -        nao:userVisible false .<br>
&gt; -<br>
&gt; -    nie:hasPart<br>
&gt; -        nao:userVisible false .<br>
&gt; -<br>
&gt; -    nrl:Graph<br>
&gt; -        nao:userVisible false .<br>
&gt; -<br>
&gt; -    rdf:Property<br>
&gt; -        nao:userVisible false .<br>
&gt; -<br>
&gt; -    rdfs:Class<br>
&gt; -        nao:userVisible false .<br>
&gt; -}<br>
&gt; -<br>
&gt; -&lt;<a href="http://nepomuk.kde.org/ontologies/2010/08/18/kuvo/metadata" \
target="_blank">http://nepomuk.kde.org/ontologies/2010/08/18/kuvo/metadata</a>&gt; \
{<br> &gt; -    &lt;<a \
href="http://nepomuk.kde.org/ontologies/2010/08/18/kuvo/metadata" \
target="_blank">http://nepomuk.kde.org/ontologies/2010/08/18/kuvo/metadata</a>&gt;<br>
 &gt; -          a       nrl:GraphMetadata ;<br>
&gt; -          nrl:coreGraphMetadataFor kuvo: .<br>
&gt; -<br>
&gt; -<br>
&gt; -    kuvo:<br>
&gt; -          a       nrl:Ontology , nrl:DocumentGraph ;<br>
&gt; -          nao:prefLabel &quot;KDE User Visibility Ontology&quot; ;<br>
&gt; -          nao:hasDefaultNamespace &quot;<a \
href="http://nepomuk.kde.org/ontologies/2010/08/18/kuvo#" \
target="_blank">http://nepomuk.kde.org/ontologies/2010/08/18/kuvo#</a>&quot; ;<br> \
&gt; -          nao:hasDefaultNamespaceAbbreviation &quot;kuvo&quot; ;<br> &gt; -     \
nao:lastModified &quot;2010-11-29T12:31:43Z&quot; ;<br> &gt; -          \
nao:serializationLanguage &quot;TriG&quot; ;<br> &gt; -          nao:status \
&quot;Unstable&quot; ;<br> &gt; -          nrl:updatable &quot;0&quot; ;<br>
&gt; -          nao:version &quot;2&quot; .<br>
&gt; -}<br>
&gt; -<br>
&gt; diff --git a/nepomuk/ontologies/<a href="http://nrio.ontology.in" \
target="_blank">nrio.ontology.in</a> b/nepomuk/ontologies/<a \
href="http://nrio.ontology.in" target="_blank">nrio.ontology.in</a><br> &gt; deleted \
file mode 100644<br> &gt; index 814383f..0000000<br>
&gt; --- a/nepomuk/ontologies/<a href="http://nrio.ontology.in" \
target="_blank">nrio.ontology.in</a><br> &gt; +++ /dev/null<br>
&gt; @@ -1,8 +0,0 @@<br>
&gt; -[Ontology]<br>
&gt; -Version=1.0<br>
&gt; -Name=Nepomuk Resource Identification Ontology<br>
&gt; -Comment=Required for backup and sync.<br>
&gt; -Namespace=<a href="http://nepomuk.kde.org/ontologies/2010/11/11/nrio#" \
target="_blank">http://nepomuk.kde.org/ontologies/2010/11/11/nrio#</a><br> &gt; \
-Path=${CMAKE_INSTALL_PREFIX}/share/ontology/kde/nrio.trig<br> &gt; \
-MimeType=application/x-trig<br> &gt; -Type=Data<br>
&gt; diff --git a/nepomuk/ontologies/nrio.trig b/nepomuk/ontologies/nrio.trig<br>
&gt; deleted file mode 100644<br>
&gt; index 15ad04f..0000000<br>
&gt; --- a/nepomuk/ontologies/nrio.trig<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,327 +0,0 @@<br>
&gt; -#<br>
&gt; -# Copyright (c) 2010 Vishesh Handa &lt;<a \
href="mailto:handa.vish@gmail.com">handa.vish@gmail.com</a>&gt;<br> &gt; -# All \
rights reserved, licensed under either CC-BY or BSD.<br> &gt; -#<br>
&gt; -# You are free:<br>
&gt; -#  * to Share - to copy, distribute and transmit the work<br>
&gt; -#  * to Remix - to adapt the work<br>
&gt; -# Under the following conditions:<br>
&gt; -#  * Attribution - You must attribute the work in the manner specified by the \
author<br> &gt; -#    or licensor (but not in any way that suggests that they endorse \
you or your use<br> &gt; -#    of the work).<br>
&gt; -#<br>
&gt; -# Redistribution and use in source and binary forms, with or without \
modification,<br> &gt; -# are permitted provided that the following conditions are \
met:<br> &gt; -#  * Redistributions of source code must retain the above copyright \
notice, this<br> &gt; -#    list of conditions and the following disclaimer.<br>
&gt; -#  * Redistributions in binary form must reproduce the above copyright notice, \
this<br> &gt; -#    list of conditions and the following disclaimer in the \
documentation and/or<br> &gt; -#    other materials provided with the \
distribution.<br> &gt; -#  * Neither the names of the authors nor the names of \
contributors may<br> &gt; -#    be used to endorse or promote products derived from \
this ontology without<br> &gt; -#    specific prior written permission.<br>
&gt; -#<br>
&gt; -# THIS ONTOLOGY IS PROVIDED BY THE AUTHOR ``AS IS&#39;&#39; AND ANY EXPRESS \
OR<br> &gt; -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED \
WARRANTIES<br> &gt; -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE \
DISCLAIMED.<br> &gt; -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, \
INDIRECT,<br> &gt; -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES \
(INCLUDING, BUT<br> &gt; -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR \
SERVICES; LOSS OF USE,<br> &gt; -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) \
HOWEVER CAUSED AND ON ANY<br> &gt; -# THEORY OF LIABILITY, WHETHER IN CONTRACT, \
STRICT LIABILITY, OR TORT<br> &gt; -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN \
ANY WAY OUT OF THE USE OF<br> &gt; -# THIS ONTOLOGY, EVEN IF ADVISED OF THE \
POSSIBILITY OF SUCH DAMAGE.<br> &gt; -#<br>
&gt; -<br>
&gt; -@prefix nao:     &lt;<a \
href="http://www.semanticdesktop.org/ontologies/2007/08/15/nao#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2007/08/15/nao#</a>&gt; \
.<br> &gt; -@prefix nfo:     &lt;<a \
href="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#</a>&gt; \
.<br> &gt; -@prefix nie:     &lt;<a \
href="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2007/01/19/nie#</a>&gt; \
.<br> &gt; -@prefix ncal:    &lt;<a \
href="http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#</a>&gt; \
.<br> &gt; -@prefix nco:     &lt;<a \
href="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2007/03/22/nco#</a>&gt; \
.<br> &gt; -@prefix rdfs:    &lt;<a href="http://www.w3.org/2000/01/rdf-schema#" \
target="_blank">http://www.w3.org/2000/01/rdf-schema#</a>&gt; .<br> &gt; -@prefix \
pimo:    &lt;<a href="http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#</a>&gt; \
.<br> &gt; -@prefix nmo:     &lt;<a \
href="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#</a>&gt; \
.<br> &gt; -@prefix nmm:     &lt;<a \
href="http://www.semanticdesktop.org/ontologies/2009/02/19/nmm#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2009/02/19/nmm#</a>&gt; \
.<br> &gt; -@prefix nrl:     &lt;<a \
href="http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#" \
target="_blank">http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#</a>&gt; \
.<br> &gt; -@prefix rdf:     &lt;<a \
href="http://www.w3.org/1999/02/22-rdf-syntax-ns#" \
target="_blank">http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>&gt; .<br> &gt; \
-@prefix xsd:     &lt;<a href="http://www.w3.org/2001/XMLSchema#" \
target="_blank">http://www.w3.org/2001/XMLSchema#</a>&gt; .<br> &gt; -<br>
&gt; -@prefix nrio:    &lt;<a \
href="http://nepomuk.kde.org/ontologies/2010/11/11/nrio#" \
target="_blank">http://nepomuk.kde.org/ontologies/2010/11/11/nrio#</a>&gt; .<br> &gt; \
-<br> &gt; -nrio: {<br>
&gt; -    nao:created<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nao:creator<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nao:description<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nao:identifier<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nao:iconName<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nao:lastModified<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nao:personalIdentifier<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nao:pluralPrefLabel<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nao:prefLabel<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nao:prefSymbol<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nao:rating<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nao:score<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -<br>
&gt; -    nco:birthdate<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nco:contactUID<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nco:fullname<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nco:gender<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -<br>
&gt; -    nie:byteSize<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nie:comment<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nie:contentCreated<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nie:contentLastModified<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nie:contentSize<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nie:created<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nie:description<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nie:identifier<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nie:informationElementDate<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nie:lastModified<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nie:lastRefreshed<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nie:mimeType<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nie:subject<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nie:title<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nie:url<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -<br>
&gt; -    nfo:aspectRatio<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:averageBitrate<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:bitDepth<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:bitsPerSample<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:channels<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:characterCount<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:colorDepth<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:commentCharacterCount<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:compressionType<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:count<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:deletionDate<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:duration<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:encoding<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:encryptionStatus<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:fileCreated<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:fileLastAccessed<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:fileLastModified<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:fileName<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -<br>
&gt; -    nfo:fileSize<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:fileUrl<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -<br>
&gt; -    nfo:filesystemType<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -<br>
&gt; -    nfo:frameCount<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:frameRate<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:freeSpace<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -<br>
&gt; -    nfo:frontChannels<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -<br>
&gt; -    nfo:hashAlgorithm<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:hashValue<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:height<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:horizontalResolution<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:interlaceMode<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:isPasswordProtected<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:lfeChannels<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:lineCount<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:occupiedSpace<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -<br>
&gt; -    nfo:pageCount<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -<br>
&gt; -    nfo:permissions<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:programmingLanguage<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:rate<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:rearChannels<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:sampleCount<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:sampleRate<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:sideChannels<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:streamPosition<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -<br>
&gt; -    nfo:totalSpace<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:uncompressedSize<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:uuid<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:verticalResolution<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:width<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    nfo:wordCount<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -<br>
&gt; -    rdfs:comment<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -    rdfs:label<br>
&gt; -        nrl:maxCardinality &quot;1&quot;^^xsd:integer .<br>
&gt; -<br>
&gt; -}<br>
&gt; -<br>
&gt; -&lt;<a href="http://nepomuk.kde.org/ontologies/2010/11/11/nrio/metadata" \
target="_blank">http://nepomuk.kde.org/ontologies/2010/11/11/nrio/metadata</a>&gt; \
{<br> &gt; -<br>
&gt; -    nrio:  a       nrl:Ontology ;<br>
&gt; -    nao:hasDefaultNamespace &quot;<a \
href="http://nepomuk.kde.org/ontologies/2010/11/11/nrio#" \
target="_blank">http://nepomuk.kde.org/ontologies/2010/11/11/nrio#</a>&quot; ;<br> \
&gt; -    nao:hasDefaultNamespaceAbbreviation &quot;nrio&quot; ;<br> &gt; -<br>
&gt; -    nao:serializationLanguage &quot;TriG&quot; ;<br>
&gt; -    nao:lastModified &quot;2012-01-06T16:08:58Z&quot; ;<br>
&gt; -    nao:status &quot;Unstable&quot; ;<br>
&gt; -    nao:updatable &quot;0 &quot; ;<br>
&gt; -    nao:version &quot;Revision-1&quot; .<br>
&gt; -<br>
&gt; -    &lt;<a href="http://nepomuk.kde.org/ontologies/2010/11/11/nrio/metadata" \
target="_blank">http://nepomuk.kde.org/ontologies/2010/11/11/nrio/metadata</a>&gt;<br>
 &gt; -          a nrl:GraphMetadata ;<br>
&gt; -          nrl:coreGraphMetadataFor nrio: .<br>
&gt; -}<br>
&gt;<br>
</blockquote></div><br>



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

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