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