diff options
Diffstat (limited to 'src/engine/Edge.cpp')
-rw-r--r-- | src/engine/Edge.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/Edge.cpp b/src/engine/Edge.cpp index 5389e69..6af315c 100644 --- a/src/engine/Edge.cpp +++ b/src/engine/Edge.cpp @@ -41,7 +41,7 @@ Edge::write_state(Redland::Model& model) model.add_statement( rdf_id, - "rdf:type", + Redland::Curie(model.world(), "rdf:type"), Redland::Node(model.world(), Redland::Node::RESOURCE, "machina:Edge")); SharedPtr<Node> tail = _tail.lock(); @@ -54,16 +54,16 @@ Edge::write_state(Redland::Model& model) && head->rdf_id(model.world()).is_valid()); model.add_statement(rdf_id, - "machina:tail", + Redland::Curie(model.world(), "machina:tail"), tail->rdf_id(model.world())); model.add_statement(rdf_id, - "machina:head", + Redland::Curie(model.world(), "machina:head"), head->rdf_id(model.world())); model.add_statement( rdf_id, - "machina:probability", + Redland::Curie(model.world(), "machina:probability"), AtomRDF::atom_to_node(model, Atom(_probability.get()))); } |