RDFStore

Perl/C RDF storage and API




New Version 0.51 has been released 2006-06-19


Changes

Download RDFStore

The latest version is 0.51 and the software is available for download or from SourceForge RDFStore project download area. RDFStore is now also available at the Perl CPAN archives here.

All the major changes since the previous version are listed here

....and if you want to play with the latest snapshot try this.

CVS repository

To check out the CVS repository:

   cvs -d:pserver:anonymous@rdfstore.cvs.sourceforge.net:/cvsroot/rdfstore login 
 
   cvs -z3 -d:pserver:anonymous@rdfstore.cvs.sourceforge.net:/cvsroot/rdfstore co -P rdfstore
You can browse through the CVS repository here.

Demonstration 

An on-line demostration of the capabilities of RDFStore is available here (see also the RDQL/Squish and Shrech demos). It does allow to parse either canonical RDF, strawman xml syntax and query the resulting model. Each model generated while parsing can be dumped back to strawman xml or visualised as GIF picture.

Description

(to be provided/updated...)

Mailing list

There is a discussion forum open on eGroups.com for RDFStore. You can browse the archives here or subscribe to it.

RDFStore model

RDFStore uses a model/statement centric approach to create, manage and query RDF models (see pic). It is under development an extension of th API to make the software resource centric as well; it will allow to access resources, properties, values and statements in much more logical way. A full perltie interface will be implemented over the basic data types to let the user read/write RDFStore nodes directly from Perl variables in principle.

Prerequisites

To run RDFStore you need Perl and the following modules properly installed:

XML::Parser (which requires expat)
URI
DBI
To use BerkeleyDB support you need Berkeley DB Version 2.6.4 or greater installed together with the Perl BerkeleyDB extension. The official web site for Berkeley DB is http://www.sleepycat.com.

Building and installation

Try first the following steps:

perl Makefile.PL
make
make test
make install

If it does not work, do not disperate and try the following two alternatives - generally 
compilation errors are due to mis-configuartion of the BerkleyDB parameters (include files, libraries
and library name).

a) Manual configuration
-----------------------

1) Edit the configuration file in this directory named 'arch_conf.in' and change the settings to point to your
   local BDB installation (or the one you want to compile in)
2) Run the 'perl Makefile.PL -v' command
3) Check that the compile paramters you inserted are actually seen by the system
4) Run the usal make sequence of commands as above

b) Interactive configuration
----------------------------

1) Run the 'perl Makefile.PL -i -v' command

   Then you will get prompted to interactively insert the BDB parameters yourself, without requiring to edit the 
   above file by hand. Some basic checking is done on the values you insert.
2) Check that the compile paramters you inserted are actually seen by the system
3) Run the usal make sequence of commands as above

Build the DBMS TCP/IP deamon
----------------------------

To build and install (optional) DBMS support:
 
cd dbms
make
make test
make install
 
(by default the dbmsd get installed under the /RDFStore branch)

Note that the DBMS configuration file dbms/arch.conf is autogenerated by the standard installation procedure above.
If you decide to skip that and change directory directly to the dbms/ directory you might want to edit by hand the
file dbms/arch.conf with your editor and changes the settings (read the comments in the makefile itself for help).

Documentation

(obsolete need updates...) The RDFStore Perl API documentation is now available. You might want to refer to the Perl pod documentation coming with the RDFStore distribution using hte perldoc command or by browsing through it here.
Additionally you can refer to the good Javadoc stuff of Sergey at http://www-db.stanford.edu/~melnik/rdf/api-doc/ (or to this local mirror). If you want to read more about the TCP/IP based storage go here.


Related stuff

rdfapi_perl references
Storing RDF in relational databases
The RADIX proposal by Ron Daniel
Redland RDF Application Framework - Perl Interface
Web Resource Application Framework (WRAF)
GNUpdate RDF library



SourceForge Logo Last modified - $Date: 2006/06/19 10:22:33 $ - Alberto Reggiori