Graphs

RDFLib defines the following kinds of Graphs:

  • ‘Graph’(_’‘store’‘_,_’‘identifier’‘_)
  • ‘QuotedGraph’(_’‘store’‘_,_’‘identifier’‘_)
  • ‘ConjunctiveGraph’(_’‘store’‘_,_’‘default’‘_’‘identifier’‘_= ‘’None’‘)

A Conjunctive Graph is the most relevant collection of graphs that are considered to be the boundary for closed world assumptions. This boundary is equivalent to that of the store instance (which is itself uniquely identified and distinct from other instances of Store that signify other Conjunctive Graphs). It is equivalent to all the named graphs within it and associated with a _default_ graph which is automatically assigned a BNode for an identifier - if one isn’t given.

Previous topic

rdflib.graph.QuotedGraph – Quoted graphs

Next topic

rdflib.graph.Graph – Graph class definition

This Page