RDF Model Storage

This module provides storage for RDF models either in memory or persistant storage.

RDF Model Storage Class

Table of Contents
librdf_init_storage --  Initialise the librdf_storage module
librdf_finish_storage --  Terminate the librdf_storage module
librdf_storage_register_factory --  Register a storage factory
librdf_get_storage_factory --  Get a storage factory by name
librdf_new_storage --  Constructor - create a new librdf_storage object
librdf_new_storage_with_options --  Constructor - create a new librdf_storage object
librdf_new_storage_from_storage --  Copy constructor - create a new librdf_storage object from an existing one
librdf_new_storage_from_factory --  Constructor - create a new librdf_storage object
librdf_free_storage --  Destructor - destroy a librdf_storage object
librdf_storage_open --  Start a model / storage association
librdf_storage_close --  End a model / storage association
librdf_storage_size --  Get the number of statements stored
librdf_storage_add_statement --  Add a statement to a storage
librdf_storage_add_statements --  Add a stream of statements to the storage
librdf_storage_remove_statement --  Remove a statement from the storage
librdf_storage_contains_statement --  Test if a given statement is present in the storage
librdf_storage_serialise --  Serialise the storage as a librdf_stream of statemetns
librdf_storage_find_statements --  search the storage for matching statements
librdf_storage_get_sources --  return the sources (subjects) of arc in an RDF graph given arc (predicate) and target (object)
librdf_storage_get_arcs --  return the arcs (predicates) of an arc in an RDF graph given source (subject) and target (object)
librdf_storage_get_targets --  return the targets (objects) of an arc in an RDF graph given source (subject) and arc (predicate)
librdf_storage_get_arcs_in --  return the properties pointing to the given resource
librdf_storage_get_arcs_out --  return the properties pointing from the given resource
librdf_storage_has_arc_in --  check if a node has a given property pointing to it
librdf_storage_has_arc_out --  check if a node has a given property pointing from it
librdf_storage_context_add_statement --  Add a statement to a storage in a context
librdf_storage_context_add_statements --  Add statements to a storage with a context
librdf_storage_context_remove_statement --  Remove a statement from a storage in a context
librdf_storage_context_remove_statements --  Remove statements from a storage with the given context
librdf_storage_context_as_stream --  List all statements in a storage context
librdf_storage_context_serialise --  List all statements in a storage context (DEPRECATED)