diff options
Diffstat (limited to 'src/serialisation/Parser.cpp')
-rw-r--r-- | src/serialisation/Parser.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp index d67f94f7..df97fb78 100644 --- a/src/serialisation/Parser.cpp +++ b/src/serialisation/Parser.cpp @@ -581,10 +581,11 @@ Parser::parse_node( return boost::optional<Path>(); } - const string plugin_uri = world->rdf_world()->expand_uri(plugin_node.to_c_string()); Resource::Properties props; - props.insert(make_pair(uris.rdf_type, Raul::URI(uris.ingen_Node))); - props.insert(make_pair(uris.rdf_instanceOf, Raul::Atom(Raul::Atom::URI, plugin_uri))); + props.insert(make_pair(uris.rdf_type, + Raul::URI(uris.ingen_Node))); + props.insert(make_pair(uris.rdf_instanceOf, + AtomRDF::node_to_atom(model, plugin_node))); target->put(path, props); parse_properties(world, target, model, subject, path, data); |