RDF Graph Terms

The RDFLib classes listed below model RDF terms in a graph and inherit from a common Identifier class, which extends Python unicode. Instances of these are nodes in an RDF graph.

class rdflib.graph.Seq(graph, subject)

Wrapper around an RDF Seq resource

It implements a container type in Python with the order of the items returned corresponding to the Seq content. It is based on the natural ordering of the predicate names _1, _2, _3, etc, which is the ‘implementation’ of a sequence in RDF terms.

class rdflib.graph.QuotedGraph(store, identifier)
class rdflib.graph.ReadOnlyGraphAggregate(graphs, store='default')

Utility class for treating a set of graphs as a single graph

Only read operations are supported (hence the name). Essentially a ConjunctiveGraph over an explicit subset of the entire store.

This module defines the different types of terms...

class rdflib.term.Variable

Previous topic

A Universal RDF Store Interface

Next topic

Namespace Utilities

This Page