diff options
author | Ashley Sommer <ashleysommer@gmail.com> | 2020-08-19 13:30:44 +1000 |
---|---|---|
committer | Ashley Sommer <ashleysommer@gmail.com> | 2020-08-19 13:30:44 +1000 |
commit | 860628cd156fb88cb8c810e914a883539af6aaa8 (patch) | |
tree | 644077f5f7761cbab21d65c00060199fc842c070 /examples/conjunctive_graphs.py | |
parent | c0c6630c37fc20350f69452cf77fd5642a02e2da (diff) | |
download | rdflib-860628cd156fb88cb8c810e914a883539af6aaa8.tar.gz |
Removed IOMemory store
Renamed Memory2 to Memory
Renamed Memory1 to SimpleMemory
Set default store to new Memory
Fixed tests
Fixed docs
Diffstat (limited to 'examples/conjunctive_graphs.py')
-rw-r--r-- | examples/conjunctive_graphs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/conjunctive_graphs.py b/examples/conjunctive_graphs.py index a66a3aa8..289046ec 100644 --- a/examples/conjunctive_graphs.py +++ b/examples/conjunctive_graphs.py @@ -10,7 +10,7 @@ conjunction (union) of all the graphs. from rdflib import Namespace, Literal, URIRef from rdflib.graph import Graph, ConjunctiveGraph -from rdflib.plugins.memory import IOMemory +from rdflib.plugins.stores.memory import Memory if __name__ == "__main__": @@ -22,7 +22,7 @@ if __name__ == "__main__": cmary = URIRef("http://love.com/lovers/mary") cjohn = URIRef("http://love.com/lovers/john") - store = IOMemory() + store = Memory() g = ConjunctiveGraph(store=store) g.bind("love", ns) |