Skip to content

Commit

Permalink
added printing of turtle files
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd-mueller committed Nov 25, 2024
1 parent 397a36a commit 18f724e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/process_profile_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ def generate_rdf_for_profile(self, profile_name, label, comment, publisher, is_p
print("Writing intermediate results to", outfile)
g.serialize(destination=outfile, format="json-ld", auto_compact=True)
print("Writing result to", outfile)
turtlefile = outfile[-5:] + ".ttl"
print("Writing turtle file to", turtlefile)
g.serialize(destination=outfile, format="turtle")
g.close()


Expand Down

0 comments on commit 18f724e

Please sign in to comment.