Skip to content

Created graph export utility 'exportgraphs.py'#1140

Merged
danbri merged 2 commits intosdo-deimosfrom
exportgraphs
May 4, 2016
Merged

Created graph export utility 'exportgraphs.py'#1140
danbri merged 2 commits intosdo-deimosfrom
exportgraphs

Conversation

@RichardWallis
Copy link
Copy Markdown
Contributor

Script utility to export rdf as xml, nt, nquads, json-ld, or turtle. Uses main code to load graphs so will be in sync with current release on system where script is run.

  • Defaults to core plus all extensions in 'nt' format.
  • Core and or extension(s) to be output are selectable.
  • Preprocess of Markdown comments into html.
  • Auto file extension naming based on selected output format.
  • scripts/exportgraphs.py -h to list parameters

Examples:

  • Core & extensions in 'nt' format to file out.nt: scripts/exportgraphs.py -o out
  • Auto extension as 'turtle' to file out.ttl: scripts/exportgraphs.py -e core extensions -i auto -f turtle -o out

RichardWallis added 2 commits May 1, 2016 01:43
Added utility function in api to return rdflib master graph
@danbri danbri merged commit d26b88e into sdo-deimos May 4, 2016
@RichardWallis RichardWallis deleted the exportgraphs branch February 15, 2019 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants