RDF::Core::Storage::Postgres - PostgreSQL implementation of RDF::Core::Storage
use RDF::Core::Storage::Postgres; my $storage = new RDF::Core::Storage::Postgres(( ConnectStr=>'dbi:Pg:dbname=rdf', DBUser=>'username', Model=>'1', )); my $model = new RDF::Core::Model (Storage => $storage);
The storage is based on PostgreSQL database.
new(%options)
The rest of the interface is described in RDF::Core::Storage.
You need to have PostgreSQL database installed. Then run scripts in dbmodel/pgsql/rdf-pgsql.sql and database will be created and ready for use.
This package is subject to the MPL (or the GPL alternatively).
Ginger Alliance, rdf@gingerall.cz
RDF::Core::Storage, RDF::Core::Model