23 #ifndef _SOPRANO_SPARQL_MODEL_H_ 24 #define _SOPRANO_SPARQL_MODEL_H_ 84 void setHost(
const QString& host, quint16 port = 80 );
102 void setPath(
const QString& path );
220 bool containsStatement(
const Statement& statement )
const;
225 bool containsAnyStatement(
const Statement& statement )
const;
234 int statementCount()
const;
241 bool isEmpty()
const;
249 Node createBlankNode();
259 void slotRequestFinished(
int id,
bool error,
const QByteArray& data );
virtual Error::ErrorCode addStatement(const Statement &statement)=0
A Node represents one RDF resource.
virtual Error::ErrorCode removeStatement(const Statement &statement)=0
A Statement instance represents one RDF quadruple.
SOPRANO_EXPORT QUrl language()
Error::ErrorCode removeAllStatements()
An iterator for query results.
#define SOPRANO_CLIENT_EXPORT
An iterator that provides a stream of Statements.
virtual bool containsStatement(const Statement &statement) const =0
virtual bool containsAnyStatement(const Statement &statement) const =0
A Model is the central class in Soprano. It is a queryable collection of RDF quadruples,...
Remote client Model for Http SPARQL end points.
StatementIterator listStatements() const
A delayed result as returned by AsyncModel.
An iterator that provides a stream of Nodes.