Skip to content

Commit 528465c

Browse files
authored
Update docs/upgrade6to7.rst
Fix a typo
1 parent db7313a commit 528465c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/upgrade6to7.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ into a named graph, use the following code:
2828
from rdflib import ConjunctiveGraph
2929
3030
cg = ConjunctiveGraph()
31-
cg.get_context("example:graph_name").parse("http://example.com/source.trig", format="trig")
31+
cg.get_context("example:graph_name").parse("http://example.com/source.ttl", format="turtle")
3232
3333
If you want to move triples from the default graph into a named graph, use the
3434
following code:

0 commit comments

Comments
 (0)