Nepomuk
result.h
Variant additionalBinding(const QString &name) const
Retrieve an additional binding as returned by the query.
void addRequestProperty(const Types::Property &property, const Soprano::Node &value)
Add the value of a request property.
QHash< Types::Property, Soprano::Node > requestProperties() const
Retrieve the values of the request properties.
Soprano::BindingSet additionalBindings() const
Retrieve the set of additional bindings as set via setAdditionalBindings().
QString excerpt() const
An excerpt of the matched text with highlighted search words in case the query contained a full text ...
void setExcerpt(const QString &text)
Set the excerpt from the query.
void setAdditionalBindings(const Soprano::BindingSet &bindings)
Set the additional bindings a query returned besides the result itself and the request properties.
Soprano::Node operator[](const Types::Property &property) const
Retrieve value of request property property.
A property is a resource of type rdf:Property which relates a domain with a range.
Definition: property.h:53
The Nepomuk Variant extends over QVariant by introducing direct support for Resource embedding,...
Definition: variant.h:66
Result(const Nepomuk::Resource &resource, double score=0.0)
Create a new result.
Soprano::Node requestProperty(const Types::Property &property) const
Retrieve value of request property property.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.