InformationStore

RDFLib's InformationStore is a relational data store, or in other words, an RDF database. In particular, an InformationStore is a TripleStore with support for contexts.

InformationStore Interface

The InformationStore Interface extends the TripleStore interface. See the TripleStore documentation for a description of the TripleStore interface.

InformationStore overrides the following three methods from TripleStore to allow an optional context argument:

add(triple, context)
Adds triple, a tuple of the form (subject, predicate, object), to the InformationStore.
remove(triple, context)
Removes triple, a tuple of the form (subject, predicate, object), to the InformationStore.
triples(pattern, context)
A generator over all the triples in the InformationStore matching pattern. Pattern is a tuple of the form (subject, predicate, object) where each of subject, predicate and object are either specified or None to indicate any value will match.
contexts(triple=None)
__init__(dir)
open(file)
close()
load(source)
async_load
import_context(source)
reload_context(identifier)
remove_context(identifier)
get_context(identifier)
schedule_context(identifier)
schedule_seeAlso
run

$Id: InformationStore.html,v 1.3 2003/01/02 20:18:57 eikeon Exp $