You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is convenient to be able to iterate over all triples in a Graph instance without invoking graph.triples((None, None, None)). When working with a small instance of Dataset, there are occasions where one will want to observe all of the quads in a similar manner.
Notes
This is trivial to implement by simply having an introduced __iter__ method invoke self.quads((None, None, None, None)) in exactly the same way that it is done in Graph.
The text was updated successfully, but these errors were encountered:
Motivation
It is convenient to be able to iterate over all triples in a
Graph
instance without invokinggraph.triples((None, None, None))
. When working with a small instance ofDataset
, there are occasions where one will want to observe all of the quads in a similar manner.Notes
This is trivial to implement by simply having an introduced
__iter__
method invokeself.quads((None, None, None, None))
in exactly the same way that it is done inGraph
.The text was updated successfully, but these errors were encountered: