6 #include "knowrob/semweb/SPARQLService.h"
7 #include "knowrob/storage/StorageError.h"
23 throw StorageError(
"Failed to initialize Redland backend for SPARQL endpoint at \"{}\".",
uri());
27 throw StorageError(
"Failed to load URI of SPARQL endpoint at \"{}\".",
uri());
const auto & format() const
void setOrigin(std::string_view origin)
void batch(const TripleHandler &callback) const override
bool load(const URI &uri, semweb::TripleFormat tripleFormat)
void setStorageType(RedlandStorageType storageType)
bool load(const TripleHandler &callback) override
SPARQLService(const URI &uri, semweb::TripleFormat format)
std::string_view tripleFormatToString(TripleFormat format)
TripleFormat tripleFormatFromString(std::string_view format)
std::function< void(const TripleContainerPtr &)> TripleHandler