__init__(self,
triplets,
resource)
(Constructor)
The triplets is of type myTripleStore, the resource is simply the
resource which is supposed to be a Seq.
The 'target' resources are initially collected in a dictionary,
keyed with the predicate names. The sorted list of keys is stored
apart, and the iteration/getitem goes through the sorted key set to
retrieve the dictionary content.
-
- Parameters:
triplets -
the triplets for the triple store
(type=myTripleStore)
resource -
an (RDFLib) resource, ie, the Seq. Note that the init does not
check whether this is a Seq, this is done by whoever creates this
instance!
- Overrides:
rdflib.sparql.sparqlGraph.Container.__init__
|