22 #ifndef _SOPRANO_INFERENCE_MODEL_H_
23 #define _SOPRANO_INFERENCE_MODEL_H_
171 int inferStatement(
const Statement& statement,
bool recurse =
false );
181 int inferRule(
const Rule&
rule,
bool recurse );
A FilterModel is a virtual model that wraps another Model.
virtual Error::ErrorCode removeStatement(const Statement &statement)=0
virtual Error::ErrorCode addStatement(const Statement &statement)=0
virtual Error::ErrorCode removeAllStatements(const Statement &statement)=0
The Soprano Inference Model provides a simple forward chaining inference engine which uses the underl...
void setOptimizedQueriesEnabled(bool b)
void addRule(const Rule &)
Error::ErrorCode removeStatement(const Statement &)
Error::ErrorCode removeAllStatements(const Statement &)
Error::ErrorCode addStatement(const Statement &)
InferenceModel(Model *parent)
void setCompressedSourceStatements(bool b)
void setRules(const QList< Rule > &rules)
A rule used by the InferenceModel to generate inferenced statements.
A Model is the central class in Soprano. It is a queryable collection of RDF quadruples,...
A Statement instance represents one RDF quadruple.
SOPRANO_EXPORT QUrl rule()
SOPRANO_EXPORT QUrl Statement()
SOPRANO_EXPORT QUrl sourceStatement()