oriak /

Filename Size Date modified Message
ordf
1.0 KB
1.4 KB
835 B
oriak is a minor PITA to install... but very minor...

It gives a riak storage back-end for ORDF. To install it you
must first install the Google protobuf python bindings. On
your system it may come packaged. On mine it didn't.
Because of the way it builts you cannot use pip or easy_install
to install it. Installing protobuf is easy but beyond the scope
of this document.

Once you have installed protobuf it should be fairly smooth
sailing. Just install oriak in the normal way, with pip or 
easy_install and it should install the riak python bindings
and register a handler plugin for ORDF.

How is this used then? Graphs saved will be saved in a
structure that looks like this:

	  {
		"name": "http://uri_of_graph",
		"content": "... RDF/XML serialised graph"
	  }

When reading or saving a graph it will do so non-destructively
so that any additional fields in the document that are used
in other ways by other applications (e.g. map/reducs) will be
preserved.

The name of the document is the SHA256 hash of the graph
URI.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.