2005-04-06 22:00:57

A persistent RDF model driver using Berkeley (BSD) database files

This driver implements 4RDF in the same structural format as SQL.py, but applies this interface on top of the embedded Berkeley DB.

Requires pybsddb (http://pybsddb.sourceforge.net/bsddb3.html), which is the standard bsddb module in Python 2.3 and up. However, even if you are using Python 2.3 up, it is possible that you won't have a functioning bsddb at all, or it may be wrapping the db185 Berkeley DB C libraries.

If necessary, update your C libs (db4+ preferred for compatibility with Berkeley DB XML). And if possible, upgrade or install pybsddb (this is mandatory on Python 2.2, if you want this driver to work).

Copyright 2005 Fourthought, Inc. (USA). Detailed license and copyright information: http://4suite.org/COPYRIGHT Project home, documentation, distributions: http://4suite.org/

Get a list of obejcts with the given predicates and subject

Get a list of obejcts with the given predicate and subjects

Get a list of *non-distinct* objects with the given predicate and subjects

Get a list of resources with the given predicate and object

Post-import hook to initialize module's runtime variables that are not required at import time, but will be needed before the module-level functions are called.

'?'
'ftrdf_statements'
['subject', 'predicate', 'object', 'statementUri', 'scope', 'otype']
'0.1'