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

Module rdflib.term_utils

Function Summary
  constructGraph(term)
  normalizeGraph(graph)
  statement2TermCombination(subject, predicate, obj, context)
  term2Letter(term)
  triplePattern2termCombinations((s, p, o))
  type2TermCombination(member, klass, context)

Variable Summary
int CONTEXT = 3                                                                     
dict GRAPH_TERM_DICT = {'B': (<class 'rdflib.Graph.Graph'>, <...
int OBJECT = 2                                                                     
int PREDICATE = 1                                                                     
dict REVERSE_TERM_COMBINATIONS = {0: 'UUUU', 1: 'UUUB', 2: 'U...
int SUBJECT = 0                                                                     
dict TERM_COMBINATIONS = {'FUVF': 96, 'FUVB': 95, 'FUVU': 94,...
dict TERM_INSTANCIATION_DICT = {'B': <class 'rdflib.BNode.BNo...

Variable Details

CONTEXT

Type:
int
Value:
3                                                                     

GRAPH_TERM_DICT

Type:
dict
Value:
{'B': (<class 'rdflib.Graph.Graph'>, <class 'rdflib.BNode.BNode'>),
 'F': (<class 'rdflib.Graph.QuotedGraph'>, <class 'rdflib.URIRef.URIRe\
f'>),
 'U': (<class 'rdflib.Graph.Graph'>, <class 'rdflib.URIRef.URIRef'>)}  

OBJECT

Type:
int
Value:
2                                                                     

PREDICATE

Type:
int
Value:
1                                                                     

REVERSE_TERM_COMBINATIONS

Type:
dict
Value:
{0: 'UUUU',
 1: 'UUUB',
 2: 'UUUF',
 3: 'UUVU',
 4: 'UUVB',
 5: 'UUVF',
 6: 'UUBU',
 7: 'UUBB',
...                                                                    

SUBJECT

Type:
int
Value:
0                                                                     

TERM_COMBINATIONS

Type:
dict
Value:
{'BVLU': 85,
 'FUFU': 103,
 'FUVB': 95,
 'FUVF': 96,
 'FUVU': 94,
 'FVBB': 113,
 'UUFF': 14,
 'UVBB': 22,
...                                                                    

TERM_INSTANCIATION_DICT

Type:
dict
Value:
{'B': <class 'rdflib.BNode.BNode'>,
 'L': <class 'rdflib.Literal.Literal'>,
 'U': <class 'rdflib.URIRef.URIRef'>,
 'V': <class 'rdflib.Variable.Variable'>}                              

Generated by Epydoc 2.1 on Mon Oct 23 14:11:22 2006 http://epydoc.sf.net