22 #ifndef SOPRANO_DUMMY_MODEL_H
23 #define SOPRANO_DUMMY_MODEL_H
A Model is the central class in Soprano. It is a queryable collection of RDF quadruples,...
An iterator that provides a stream of Nodes.
A Node represents one RDF resource.
An iterator for query results.
An iterator that provides a stream of Statements.
A Statement instance represents one RDF quadruple.
A dummy model. All its methods do nothing and always fail with a default error.
Error::ErrorCode removeStatements(const QList< Statement > &statements)
QueryResultIterator executeQuery(const QString &query, Query::QueryLanguage language, const QString &userQueryLanguage=QString()) const
Error::ErrorCode addStatement(const Statement &statement)
bool containsAnyStatement(const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) const
bool containsStatement(const Statement &statement) const
Error::ErrorCode removeAllStatements(const Statement &statement)
Error::ErrorCode removeAllStatements()
Error::ErrorCode removeContext(const Node &)
Error::ErrorCode removeStatement(const Node &subject, const Node &predicate, const Node &object, const Node &context=Node())
Error::ErrorCode addStatement(const Node &subject, const Node &predicate, const Node &object, const Node &context=Node())
int statementCount() const
StatementIterator listStatements(const Statement &partial) const
StatementIterator listStatements() const
Error::ErrorCode removeStatement(const Statement &statement)
bool containsContext(const Node &context) const
StatementIterator listStatements(const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) const
bool containsStatement(const Node &subject, const Node &predicate, const Node &object, const Node &context=Node()) const
Error::ErrorCode write(QTextStream &os) const
StatementIterator listStatementsInContext(const Node &context) const
bool containsAnyStatement(const Statement &statement) const
NodeIterator listContexts() const
Error::ErrorCode addStatements(const QList< Statement > &statements)
SOPRANO_EXPORT QUrl predicate()
SOPRANO_EXPORT QUrl subject()
SOPRANO_EXPORT QUrl context()
SOPRANO_EXPORT QUrl language()