Go to the documentation of this file.
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 );
SOPRANO_EXPORT QUrl sourceStatement()
SOPRANO_EXPORT QUrl Statement()
virtual Error::ErrorCode addStatement(const Statement &statement)=0
The Soprano Inference Model provides a simple forward chaining inference engine which uses the underl...
A FilterModel is a virtual model that wraps another Model.
A rule used by the InferenceModel to generate inferenced statements.
A Statement instance represents one RDF quadruple.
void addRule(const Rule &)
void setOptimizedQueriesEnabled(bool b)
virtual Error::ErrorCode removeStatement(const Statement &statement)=0
A Model is the central class in Soprano. It is a queryable collection of RDF quadruples,...
void setCompressedSourceStatements(bool b)
Error::ErrorCode addStatement(const Statement &)
InferenceModel(Model *parent)
Error::ErrorCode removeAllStatements(const Statement &)
Error::ErrorCode removeStatement(const Statement &)
SOPRANO_EXPORT QUrl rule()
virtual Error::ErrorCode removeAllStatements(const Statement &statement)=0
void setRules(const QList< Rule > &rules)