Package rdflib :: Module InformationStore :: Class InformationStore
[show private | hide private]
[frames | no frames]

Type InformationStore

object --+    
         |    
     Graph --+
             |
            InformationStore


Depcrecated. Use Graph instead.
Method Summary
  __init__(self, path, backend)
  load(self, location, format, publicID)
    Inherited from Graph
  __contains__(self, triple)
Support for 'triple in graph' syntax.
  __eq__(self, other)
Test if Graph is exactly equal to Graph other.
  __iadd__(self, other)
Add all triples in Graph other to Graph.
  __isub__(self, other)
Subtract all triples in Graph other from Graph.
  __iter__(self)
Iterates over all triples in the store.
  __len__(self, context)
Returns the number of triples in the graph.
  absolutize(self, uri, defrag)
Will turn uri into an absolute URI if it's not one already.
  add(self, (s, p, o), context)
Add a triple, optionally provide a context.
  bind(self, prefix, namespace, override)
Bind prefix to namespace.
  close(self)
Close the graph backend.
  comment(self, subject, default)
Queries for the RDFS.comment of the subject, returns default if no comment exists.
  contexts(self, triple)
Generator over all contexts in the graph.
  get_context(self, identifier)
Returns a Context graph for the given identifier, which must be a URIRef or BNode.
  items(self, list)
Generator over all items in the resource specified by list (an RDF collection)
  label(self, subject, default)
Queries for the RDFS.label of the subject, returns default if no label exists.
  namespaces(self)
Generator over all the prefix, namespace tuples.
  objects(self, subject, predicate)
A generator of objects with the given subject and predicate.
  open(self, path)
Open the graph backend.
  parse(self, source, publicID, format)
Parse source into Graph.
  predicate_objects(self, subject)
A generator of (predicate, object) tuples for the given subject
  predicates(self, subject, object)
A generator of predicates with the given subject and object.
  remove(self, (s, p, o), context)
Remove a triple from the graph.
  remove_context(self, identifier)
Removes the given context from the graph.
  save(self, location, format, base)
Save Graph to location using format.
  seq(self, subject)
Check if subject is an rdf:Seq.
  serialize(self, destination, format, base)
Serialize the Graph to destination.
  subject_objects(self, predicate)
A generator of (subject, object) tuples for the given predicate
  subject_predicates(self, object)
A generator of (subject, predicate) tuples for the given object
  subjects(self, predicate, object)
A generator of subjects with the given predicate and object.
  transitive_objects(self, subject, property, remember)
  transitive_subjects(self, predicate, object, remember)
  triples(self, (s, p, o), context)
Generator over the triple store.
  value(self, subject, predicate, object, default, any)
Get a value for a subject/predicate, predicate/object, or subject/object pair -- exactly one of subject, predicate, object must be None.
  _get_context_aware(self)
  _get_namespace_manager(self)
  _set_namespace_manager(self, nm)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Property Summary
    Inherited from Graph
  backend
  context_aware
  namespace_manager

Generated by Epydoc 2.1 on Wed Jun 29 09:50:17 2005 http://epydoc.sf.net