Skip to content

Instantly share code, notes, and snippets.

@shellac
Created December 21, 2010 21:51
Show Gist options
  • Save shellac/750677 to your computer and use it in GitHub Desktop.
Save shellac/750677 to your computer and use it in GitHub Desktop.
$ export TDBROOT=/path/to/tdb/dir
$ $TDBROOT/bin/tdbloader --loc=db file1.nt file2.nt
...loads data into db/...
$ $TDBROOT/bin/tdbquery --results=RDF/XML --loc=db "construct { ?s ?p ?o } { ?s ?p ?o }" > out.rdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment