RDFStore
Date: Thu, 02 Nov 2000 05:19:23 +0100 From: "Alberto Reggiori (vaio)" <alberto.reggiori@jrc.it> To: RDF Interest Group <www-rdf-interest@w3.org> Subject: ANNOUNCEMENT: RDFStore
RDFStore is a set of Perl modules to manage Resource Description Framework (RDF) model databases in a easy and straightforward way. It is a pure Perl implementation of the Draft Java API from the Stanford University DataBase Group by Sergey Melnik [1] with some additional cool modules to read/write RDF triples directly from the Perl langauge environment.
By using the Perl TIE interface, a generic application script can access RDF triplets using normal key/value hashes; the storage can happen either in-memory data structures or on the local filesystem by using the DB_File.pm or BerkeleyDB.pm modules.
An experimental remote storage service is also provided using a custom DBMS.pm module coupled with a fast and performant TCP/IP deamon. The deamon has been written entirely in the C language and is actually storing the data in Berkeley DB v1.x files; such a software is similar to the rdfbd approach from Guha [2].
The input RDF files are being parsed and processed by using a streaming SiRPAC like parser completely written in Perl. Such an implementation includes most of the proposed bug fixes and updates as suggested on the W3C RDF-interest-Group mailing list and http://www.w3.org/RDF/Implementations/SiRPAC/SiRPAC-defects.html and http://www.w3.org/2000/03/rdf-tracking/ (but yes most of them are still there :-) A strawman parser for a simplified syntax proposed by Jonathan Borden, Jason Diamond's and Dan Connolly [3][4][5] is also included. By using the Sablotron XSLT engine is then possible to easily tranform XML documents to RDF and query them from the Perl language.
Features
- Modular interface using packages
- Perl-way API to fetch, parse, process, store and query RDF models
- W3C RDF and strawman syntax parsing
- Perl TIE seamless access to RDF triplet databases
- Either DB_File and BerkeleyDB support
- Automatic Vocabulary generation
- Basic RDF Schema support
- Initial TCP/IP remote storage service support
Download
http://xml.jrc.it/RDFStore/RDFStore-0.1.tar.gz
ftp://mda02.jrc.it/incoming/RDFStore/RDFStore-0.1.tar.gz.
In the next few days I will try to upload it to CPAN.
...and do not blame me too much, this is only version 0.1 ;-)
have fun!
Alberto
[0] http://www.mailbase.ac.uk/lists/rdf-dev/1999-06/0002.html The RADIX proposal by Ron Daniel
[1] http://www-db.stanford.edu/~melnik/rdf/api.html
[2] http://web1.guha.com/rdfdb/
[3] http://www.openhealth.org/RDF/rdf_Syntax_and_Names.htm
[4] http://www.injektilo.org/rdf/rdf.xsl
[5] http://www.w3.org/XML/2000/04rdf-parse/rdfp.xsl
Prepared by Robin Cover for The XML Cover Pages archive. See "Resource Description Framework (RDF)."