Go to the documentation of this file.
23 #ifndef _SOPRANO_SPARQL_MODEL_H_
24 #define _SOPRANO_SPARQL_MODEL_H_
259 void slotRequestFinished(
int id,
bool error,
const QByteArray& data );
Error::ErrorCode removeAllStatements(const Statement &statement)
void setHost(const QString &host, quint16 port=80)
StatementIterator listStatements() const
A delayed result as returned by AsyncModel.
Error::ErrorCode addStatement(const Statement &statement)
Soprano::QueryResultIterator executeQuery(const QString &query, Query::QueryLanguage language=Query::QueryLanguageSparql, const QString &userQueryLanguage=QString()) const
virtual Error::ErrorCode addStatement(const Statement &statement)=0
Soprano::Util::AsyncResult * listContextsAsync() const
A Statement instance represents one RDF quadruple.
SparqlModel(const QString &host=QString(), quint16 port=80, const QString &user=QString(), const QString &password=QString())
Soprano::Util::AsyncResult * executeQueryAsync(const QString &query, Query::QueryLanguage language=Query::QueryLanguageSparql, const QString &userQueryLanguage=QString()) const
#define SOPRANO_CLIENT_EXPORT
virtual Error::ErrorCode removeStatement(const Statement &statement)=0
An iterator for query results.
void setUser(const QString &user, const QString &password=QString())
void setPath(const QString &path)
int statementCount() const
Error::ErrorCode removeStatement(const Statement &statement)
Error::ErrorCode removeAllStatements()
bool containsStatement(const Statement &statement) const
A Model is the central class in Soprano. It is a queryable collection of RDF quadruples,...
NodeIterator listContexts() const
An iterator that provides a stream of Statements.
virtual bool containsStatement(const Statement &statement) const =0
Remote client Model for Http SPARQL end points.
virtual bool containsAnyStatement(const Statement &statement) const =0
An iterator that provides a stream of Nodes.
A Node represents one RDF resource.
SOPRANO_EXPORT QUrl language()
bool containsAnyStatement(const Statement &statement) const
Soprano::StatementIterator listStatements(const Statement &partial) const
Soprano::Util::AsyncResult * listStatementsAsync(const Statement &statement) const