Skip to content

Commit

Permalink
Chore/upgrade rdflib (#11)
Browse files Browse the repository at this point in the history
* chore: upgrade rdflib to 6.0.0
  • Loading branch information
stigbd authored Aug 10, 2021
1 parent 6d06119 commit f6c0e68
Show file tree
Hide file tree
Showing 10 changed files with 1,550 additions and 731 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ collection.members.append(c)
# get rdf representation in turtle (default)
rdf = collection.to_rdf()
print(rdf.decode())
print(rdf)
```
Will print the concept according to the specification:
```
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ This package can be used like this:
# get rdf representation in turtle (default)
rdf = catalog.to_rdf()
print(rdf.decode())
print(rdf)
2 changes: 1 addition & 1 deletion examples/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@

# get rdf representation in turtle (default)
rdf = collection.to_rdf()
print(rdf.decode())
print()
4 changes: 2 additions & 2 deletions examples/concept.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

# get rdf representation in turtle (default)
rdf = concept.to_rdf()
print(rdf.decode())
print(rdf)

# get rdf representation in xml
rdf = concept.to_rdf(format="xml")
print(rdf.decode())
print(rdf)
Loading

0 comments on commit f6c0e68

Please sign in to comment.