Reputation: 553
I'd like to replicate the contents of a SPARQL endpoint locally and then query those data locally
Because it's somewhat large dataset I don't think a memory based model would fit
But I can't find any example of a model with some initial content AND a storage setting different from a in memory storage.
Is this possible ? How do I do this ?
Upvotes: 0
Views: 157
Reputation: 1801
If you just want to have a local SPARQL endpoint and load a dataset into it you can install a Fuseki SPARQL server (which can create a persistent TDB RDF store for you):
If you want to create a persistent RDF store using Java, use the TDBFactory.createDataset(path) method. The dataset can be batch-loaded into the store using the tdbloader tool.
P.S. there's also a Semantic Web QA site - here's an answer to a question similar to yours:
Upvotes: 2