Skip to content

Instantly share code, notes, and snippets.

@ricroberts
Created October 15, 2010 12:58
Show Gist options
  • Save ricroberts/628136 to your computer and use it in GitHub Desktop.
Save ricroberts/628136 to your computer and use it in GitHub Desktop.
# init tdb
[] ja:loadClass "com.hp.hpl.jena.tdb.TDB" .
tdb:DatasetTDB rdfs:subClassOf ja:RDFDataset .
tdb:GraphTDB rdfs:subClassOf ja:Model .
<#mydatasetname > rdf:type tdb:DatasetTDB ;
rdfs:label "My Data Set" ;
tdb:location "/mydatasetdata" ; # or wherever you want the data to be stored
.
<#graph> rdf:type tdb:GraphTDB ;
tdb:location "/tdbgraphdata" ;
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment