Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 20 lines (13 sloc) 469 Bytes
# this is intended to be run on the command-line, but you could run it
# via the web if you wanted.
# you'll need to change all the paths.
$graph = new Graphite();
$graph->ns( "foo", "" );
$graph->load( "mydata.rdf" );
$graph->freeze( "mydata.rdf.graphite" );
# to use this graph from a script, use
# $graph = Graphite::thaw( "mydata.rdf.graphite" );