aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/engine/Loader.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/engine/Loader.cpp b/src/engine/Loader.cpp
index 2fe161c..5902b58 100644
--- a/src/engine/Loader.cpp
+++ b/src/engine/Loader.cpp
@@ -79,17 +79,17 @@ Loader::load(const Glib::ustring& uri)
Sord::Node nil;
- Sord::Resource rdf_type(_rdf_world, NS_RDF "type");
- Sord::Resource machina_SelectorNode(_rdf_world, NS_MACHINA "initialNode");
- Sord::Resource machina_node(_rdf_world, NS_MACHINA "node");
- Sord::Resource machina_initialNode(_rdf_world, NS_MACHINA "initialNode");
- Sord::Resource machina_duration(_rdf_world, NS_MACHINA "duration");
- Sord::Resource machina_edge(_rdf_world, NS_MACHINA "edge");
- Sord::Resource machina_tail(_rdf_world, NS_MACHINA "tail");
- Sord::Resource machina_head(_rdf_world, NS_MACHINA "head");
- Sord::Resource machina_probability(_rdf_world, NS_MACHINA "probability");
-
- Sord::Node machine_node = Sord::Resource(_rdf_world, ".");
+ Sord::URI rdf_type(_rdf_world, NS_RDF "type");
+ Sord::URI machina_SelectorNode(_rdf_world, NS_MACHINA "initialNode");
+ Sord::URI machina_node(_rdf_world, NS_MACHINA "node");
+ Sord::URI machina_initialNode(_rdf_world, NS_MACHINA "initialNode");
+ Sord::URI machina_duration(_rdf_world, NS_MACHINA "duration");
+ Sord::URI machina_edge(_rdf_world, NS_MACHINA "edge");
+ Sord::URI machina_tail(_rdf_world, NS_MACHINA "tail");
+ Sord::URI machina_head(_rdf_world, NS_MACHINA "head");
+ Sord::URI machina_probability(_rdf_world, NS_MACHINA "probability");
+
+ Sord::Node machine_node = Sord::URI(_rdf_world, ".");
/* Get initial nodes */
for (Sord::Iter i = model.find(machine_node, machina_initialNode, nil);