diff options
Diffstat (limited to 'src/serialisation')
-rw-r--r-- | src/serialisation/Parser.cpp | 6 | ||||
-rw-r--r-- | src/serialisation/Serialiser.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp index 838a0200..24b96b8d 100644 --- a/src/serialisation/Parser.cpp +++ b/src/serialisation/Parser.cpp @@ -224,11 +224,11 @@ parse_node(Ingen::Shared::World* world, { const URIs& uris = *world->uris().get(); - Sord::URI rdf_instanceOf(*world->rdf_world(), NS_RDF "instanceOf"); + Sord::URI ingen_prototype(*world->rdf_world(), NS_INGEN "prototype"); - Sord::Iter i = model.find(subject, rdf_instanceOf, nil); + Sord::Iter i = model.find(subject, ingen_prototype, nil); if (i.end() || i.get_object().type() != Sord::Node::URI) { - LOG(error) << "Node missing mandatory rdf:instanceOf" << endl; + LOG(error) << "Node missing mandatory ingen:prototype" << endl; return boost::optional<Path>(); } diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp index e6379e22..f16ed1d7 100644 --- a/src/serialisation/Serialiser.cpp +++ b/src/serialisation/Serialiser.cpp @@ -455,7 +455,7 @@ Serialiser::Impl::serialise_node(SharedPtr<const Node> node, Sord::Curie(_model->world(), "rdf:type"), Sord::Curie(_model->world(), "ingen:Node")); _model->add_statement(node_id, - Sord::Curie(_model->world(), "rdf:instanceOf"), + Sord::Curie(_model->world(), "ingen:prototype"), class_id); _model->add_statement(node_id, Sord::Curie(_model->world(), "lv2:symbol"), |