22#ifndef _SOPRANO_INFERENCE_MODEL_H_
23#define _SOPRANO_INFERENCE_MODEL_H_
109 using FilterModel::addStatement;
110 using FilterModel::removeStatement;
111 using FilterModel::removeAllStatements;
171 int inferStatement(
const Statement& statement,
bool recurse =
false );
181 int inferRule(
const Rule& rule,
bool recurse );
193 QUrl storeUncompressedSourceStatement(
const Statement& sourceStatement );
A FilterModel is a virtual model that wraps another Model.
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 Statement()