| Home | Trees | Index | Help |
|---|
| Package rdflib :: Package sparql :: Module sparqlGraph :: Class SPARQLGraph |
|
object--+ |Node--+ |Graph--+ | SPARQLGraph
| Method Summary | |
|---|---|
__init__(self,
graph,
graphVariable)
| |
sparqlGraph
|
Cluster up and down, by summing up the forward and backward clustering |
sparqlGraph
|
Cluster the triple store: from a seed, transitively get all properties and objects 'backward', ie, following the link back in the graph. |
sparqlGraph
|
Cluster the triple store: from a seed, transitively get all properties and objects in direction of the arcs. |
| Inherited from Graph | |
Set theoretical union | |
| |
Support for 'triple in graph' syntax | |
| |
Add all triples in Graph other to Graph | |
Subtract all triples in Graph other from Graph | |
Iterates over all triples in the store | |
Returns the number of triples in the graph | |
Set theoretical intersection | |
| |
| |
| |
Set theoretical difference | |
Turn uri into an absolute URI if it's not one already | |
Add a triple with self as context | |
Add a sequence of triple with context | |
| |
Bind prefix to namespace | |
Close the graph store | |
Query for the RDFS.comment of the subject | |
Commits active transactions | |
| |
Check if the Graph is connected | |
Destroy the store identified by `configuration` if supported | |
| |
Generator over all items in the resource specified by list | |
Query for the RDFS.label of the subject | |
| |
| |
return an n3 identifier for the Graph | |
Generator over all the prefix, namespace tuples | |
A generator of objects with the given subject and predicate | |
Open the graph store | |
Parse source into Graph | |
A generator of (predicate, object) tuples for the given subject | |
A generator of predicates with the given subject and object | |
| |
| |
Executes a SPARQL query (eventually will support Versa queries with same method) against this Graph strOrQuery - Is either a string consisting of the SPARQL query or an instance of rdflib.sparql.bison.Query.Query initBindings - A mapping from a Variable to an RDFLib term (used as initial bindings for SPARQL query) initNS - A mapping from a namespace prefix to an instance of rdflib.Namespace (used for SPARQL query) DEBUG - A boolean flag passed on to the SPARQL parser and evaluation engine processor - The kind of RDF query (must be 'sparql' until Versa is ported) | |
Remove a triple from the graph | |
Rollback active transactions | |
Check if subject is an rdf:Seq | |
Serialize the Graph to destination | |
Convenience method to update the value of object | |
A generator of (subject, object) tuples for the given predicate | |
A generator of (subject, predicate) tuples for the given object | |
A generator of subjects with the given predicate and object | |
Transitively generate objects for the `property` relationship | |
Transitively generate objects for the `property` relationship | |
Generator over the triple store | |
| |
Get a value for a pair of two criteria Exactly one of subject, predicate, object must be None. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
| Property Summary | |
|---|---|
| Inherited from Graph | |
identifier | |
namespace_manager | |
store | |
| Class Variable Summary | |
|---|---|
| Inherited from Node | |
Implements |
__implemented__ = <implementedBy rdflib.Node.Node>
|
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
tuple |
__slots__ = ()
|
| Method Details |
|---|
cluster(self, seed)Cluster up and down, by summing up the forward and backward clustering
|
clusterBackward(self, seed, Cluster=None)Cluster the triple store: from a seed, transitively get all properties and objects 'backward', ie, following the link back in the graph.
|
clusterForward(self, seed, Cluster=None)Cluster the triple store: from a seed, transitively get all properties and objects in direction of the arcs.
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Wed Apr 4 16:05:48 2007 | http://epydoc.sf.net |