diff options
Diffstat (limited to 'src/client/HTTPEngineSender.cpp')
-rw-r--r-- | src/client/HTTPEngineSender.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/HTTPEngineSender.cpp b/src/client/HTTPEngineSender.cpp index cc0d31a0..ed69d7e0 100644 --- a/src/client/HTTPEngineSender.cpp +++ b/src/client/HTTPEngineSender.cpp @@ -19,7 +19,7 @@ #include "raul/AtomRDF.hpp" #include "raul/log.hpp" -#include "redlandmm/Model.hpp" +#include "sord/sordmm.hpp" #include "module/World.hpp" #include "HTTPEngineSender.hpp" @@ -121,14 +121,14 @@ HTTPEngineSender::put(const URI& uri, const string path = (uri.substr(0, 6) == "path:/") ? uri.substr(6) : uri.str(); const string full_uri = _engine_url.str() + "/" + path; - Redland::Model model(_world); + Sord::Model model(_world); for (Resource::Properties::const_iterator i = properties.begin(); i != properties.end(); ++i) model.add_statement( - Redland::Resource(_world, path), + Sord::Resource(_world, path), AtomRDF::atom_to_node(model, i->first), AtomRDF::atom_to_node(model, i->second)); - const string str = model.serialise_to_string("turtle"); + const string str = model.write_to_string("turtle"); SoupMessage* msg = soup_message_new(SOUP_METHOD_PUT, full_uri.c_str()); assert(msg); soup_message_set_request(msg, "application/x-turtle", SOUP_MEMORY_COPY, str.c_str(), str.length()); |