Skip to content

Commit a29a421

Browse files
committed
fix api uage
1 parent 74b6d4d commit a29a421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@
4040

4141
# get an rdflib.Dataset (https://rdflib.readthedocs.io/en/stable/apidocs/rdflib.html#rdflib.Dataset)
4242
ds = env2.to_rdflib_dataset()
43-
for graph in list(ds.contexts()):
43+
for graph in list(ds.graphs()):
4444
print(f"Graph {graph.identifier} has {len(graph)} triples")

0 commit comments

Comments
 (0)