0

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 ?

user1632812
  • 431
  • 3
  • 16

1 Answers1

2

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:

Stanislav Kralin
  • 11,070
  • 4
  • 35
  • 58
CaptSolo
  • 1,771
  • 1
  • 16
  • 17