Nepomuk-Core
resultiterator.cpp
Go to the documentation of this file.
50 Nepomuk2::Query::ResultIterator::ResultIterator(const QString& sparql, const Nepomuk2::Query::RequestPropertyMap& map)
QString toSparqlQuery(SparqlFlags flags=NoFlags) const
Convert the query into a SPARQL query which can be used with the Nepomuk query service or directly in...
Definition: query.cpp:409
RequestPropertyMap requestPropertyMap() const
Build a request property map as used in QueryServiceClient::sparqlQuery() from the request properties...
Definition: query.cpp:585
ResultIterator(const QString &sparql, const RequestPropertyMap &map=RequestPropertyMap())
Constructor used to run sparql queries.
Definition: resultiterator.cpp:50
A class to iterate over Nepomuk query results.
Definition: resultiterator.h:45
QHash< QString, Nepomuk2::Types::Property > RequestPropertyMap
Convinience definition for request property mappings as used in QueryServiceClient::sparqlQuery() and...
Definition: query.h:41
static ResourceManager * instance()
Definition: resourcemanager.cpp:270
void addRequestProperty(const Types::Property &property, const Soprano::Node &value)
Add the value of a request property.
Definition: result.cpp:93
static Resource fromResourceUri(const KUrl &uri, const Nepomuk2::Types::Class &type=Nepomuk2::Types::Class())
Allows to quickly load a resource from its resource URI without any additional checks.
Definition: resource.cpp:743
Result operator*() const
Definition: resultiterator.cpp:110
void setAdditionalBindings(const Soprano::BindingSet &bindings)
Set the additional bindings a query returned besides the result itself and the request properties...
Definition: result.cpp:123
Soprano::Model * mainModel()
Retrieve the main data storage model.
Definition: resourcemanager.cpp:363
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:09 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:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.