Nepomuk
result.h
Go to the documentation of this file.
QHash< Types::Property, Soprano::Node > requestProperties() const
Retrieve the values of the request properties.
void setAdditionalBindings(const Soprano::BindingSet &bindings)
Set the additional bindings a query returned besides the result itself and the request properties.
void addRequestProperty(const Types::Property &property, const Soprano::Node &value)
Add the value of a request property.
void setExcerpt(const QString &text)
Set the excerpt from the query.
Result(const Nepomuk::Resource &resource, double score=0.0)
Create a new result.
Variant additionalBinding(const QString &name) const
Retrieve an additional binding as returned by the query.
QString excerpt() const
An excerpt of the matched text with highlighted search words in case the query contained a full text ...
Soprano::Node requestProperty(const Types::Property &property) const
Retrieve value of request property property.
Soprano::BindingSet additionalBindings() const
Retrieve the set of additional bindings as set via setAdditionalBindings().
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
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.