diff options
Diffstat (limited to 'src/engine/Node.cpp')
-rw-r--r-- | src/engine/Node.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/Node.cpp b/src/engine/Node.cpp index b7eaf66..52b3604 100644 --- a/src/engine/Node.cpp +++ b/src/engine/Node.cpp @@ -227,24 +227,24 @@ Node::write_state(Redland::Model& model) if (_is_selector) model.add_statement( rdf_id, - "rdf:type", + Redland::Curie(model.world(), "rdf:type"), Redland::Node(model.world(), Redland::Node::RESOURCE, "machina:SelectorNode")); else model.add_statement( rdf_id, - "rdf:type", + Redland::Curie(model.world(), "rdf:type"), Redland::Node(model.world(), Redland::Node::RESOURCE, "machina:Node")); model.add_statement( rdf_id, - "machina:duration", + Redland::Curie(model.world(), "machina:duration"), AtomRDF::atom_to_node(model, Atom((float)_duration.to_double()))); if (_enter_action) { _enter_action->write_state(model); model.add_statement(rdf_id, - "machina:enterAction", + Redland::Curie(model.world(), "machina:enterAction"), _enter_action->rdf_id(model.world())); } @@ -252,7 +252,7 @@ Node::write_state(Redland::Model& model) _exit_action->write_state(model); model.add_statement(rdf_id, - "machina:exitAction", + Redland::Curie(model.world(), "machina:exitAction"), _exit_action->rdf_id(model.world())); } } |