diff options
Diffstat (limited to 'examples/simple_example.py')
| -rw-r--r-- | examples/simple_example.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/simple_example.py b/examples/simple_example.py index 077382a3..49f08408 100644 --- a/examples/simple_example.py +++ b/examples/simple_example.py @@ -37,16 +37,16 @@ if __name__ == "__main__": print() print("RDF Serializations:") + # Serialize as Turtle (default) + print("--- start: turtle ---") + print(store.serialize()) + print("--- end: turtle ---\n") + # Serialize as XML print("--- start: rdf-xml ---") print(store.serialize(format="pretty-xml")) print("--- end: rdf-xml ---\n") - # Serialize as Turtle - print("--- start: turtle ---") - print(store.serialize(format="turtle")) - print("--- end: turtle ---\n") - # Serialize as NTriples print("--- start: ntriples ---") print(store.serialize(format="nt")) |
