aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/Node.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-15 23:30:14 +0000
committerDavid Robillard <d@drobilla.net>2011-02-15 23:30:14 +0000
commitd1fc79afd2c670d95527145b59fb1be10070e02c (patch)
tree7a95b61346a4e4bbc253a127fe64616870a64bdc /src/engine/Node.cpp
parentf4c1022dd9738b28fdef77eda131f73618bb3bc1 (diff)
downloadmachina-d1fc79afd2c670d95527145b59fb1be10070e02c.tar.gz
machina-d1fc79afd2c670d95527145b59fb1be10070e02c.tar.bz2
machina-d1fc79afd2c670d95527145b59fb1be10070e02c.zip
Remove fuzzy lack of distinction between URIs and CURIEs.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2954 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/Node.cpp')
-rw-r--r--src/engine/Node.cpp10
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()));
}
}