Package de.fuberlin.wiwiss.ng4j.db

NamedGraphSet implementation backed by a relational database.

See:
          Description

Class Summary
NamedGraphDB A database-backed Named Graph implementation which is handed out by NamedGraphSetDB.getGraph(Node).
NamedGraphSetDB A NamedGraphSet implementation backed by a relational database.
QuadDB Database persistence for a set of Quads and a set of graph names, with a Node based interface.
 

Package de.fuberlin.wiwiss.ng4j.db Description

NamedGraphSet implementation backed by a relational database.

A NamedGraphSet is stored in a single Quad table. A secondary table contains the names (URIs) of all graphs in the set. This is necessary because we want to be able to store empty graphs. Multiple NamedGraphSets can be stored in the same DB by using table name prefixes.

NamedGraphSetDB implements the public NamedGraphSet interface. NamedGraphDB instances are handed out by NamedGraphSetDB methods like getGraph. They remain backed by the database; changes to them will be reflected in the DB. QuadDB is the backend doing the actual SQL work.