Nepomuk-Core
resourceidentifier.cpp
Go to the documentation of this file.
73 QString query = QString::fromLatin1("ask { %1 ?p ?o . } ").arg( Soprano::Node::resourceToN3(uri) );
83 // For backwards compatibility we keep in mind that three are resources which do not have nao:created defined.
86 = m_model->executeQuery(QString::fromLatin1("select ?r where { ?r %1 ?date . FILTER(?r in (%2)) . } ORDER BY ASC(?date) LIMIT 1")
113 Soprano::QueryResultIterator it = model->executeQuery( query, Soprano::Query::QueryLanguageSparqlNoInference );
141 QUrl newUri = fetchResource(m_model, QLatin1String("nie:url"), Soprano::Node::resourceToN3(nieUrl));
StoreIdentificationMode
The identification mode used by storeResources().
Definition: datamanagement.h:349
virtual bool runIdentification(const KUrl &uri)
This function returns true if identification was successful, and false if it was not.
Definition: resourceidentifier.cpp:122
ResourceIdentifier(Nepomuk2::StoreIdentificationMode mode, Soprano::Model *model)
Definition: resourceidentifier.cpp:55
static ClassAndPropertyTree * self()
Definition: classandpropertytree.cpp:591
QList< Soprano::Node > property(const KUrl &url) const
Definition: syncresource.cpp:138
virtual bool runIdentification(const KUrl &uri)
This function returns true if identification was successful, and false if it was not.
Definition: syncresourceidentifier.cpp:113
virtual KUrl duplicateMatch(const KUrl &uri, const QSet< KUrl > &matchedUris)
Called during identification if there is more than one match for one resource.
Definition: resourceidentifier.cpp:77
QSet< QUrl > allParents(const QUrl &uri) const
Definition: classandpropertytree.cpp:109
bool isDefiningProperty(const QUrl &uri) const
Definition: classandpropertytree.cpp:193
QStringList resourcesToN3(const T &urls)
Convert a list or set or QUrls into a list of N3 formatted strings.
Definition: nepomuktools.h:35
A SyncResource is a convenient way of storing a set of properties and objects for a common subject...
Definition: syncresource.h:53
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.