Package RDFClosure :: Module Literals :: Class LiteralProxies
[hide private]
[frames] | no frames]

Class LiteralProxies

source code

Instance Methods [hide private]
 
__init__(self, graph, closure) source code
 
restore(self)
This method is to be invoked at the end of the forward chain processing.
source code
 
_massageGraph(self, to_be_removed, to_be_added)
Perform the removal and addition actions on the graph
source code
Method Details [hide private]

__init__(self, graph, closure)
(Constructor)

source code 
Parameters:
  • graph - the graph to be modified

restore(self)

source code 

This method is to be invoked at the end of the forward chain processing. It restores literals (whenever possible) to their original self...

_massageGraph(self, to_be_removed, to_be_added)

source code 

Perform the removal and addition actions on the graph

Parameters:
  • to_be_removed - list of tuples to be removed
  • to_be_added - list of tuples to be added