summaryrefslogtreecommitdiff
path: root/examples/conjunctive_graphs.py
diff options
context:
space:
mode:
authorAshley Sommer <ashleysommer@gmail.com>2020-08-19 13:30:44 +1000
committerAshley Sommer <ashleysommer@gmail.com>2020-08-19 13:30:44 +1000
commit860628cd156fb88cb8c810e914a883539af6aaa8 (patch)
tree644077f5f7761cbab21d65c00060199fc842c070 /examples/conjunctive_graphs.py
parentc0c6630c37fc20350f69452cf77fd5642a02e2da (diff)
downloadrdflib-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.py4
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)