Creating new Repository programmatically with RDF4J-Server/Workbench #3130
-
Hi, I'm looking for an example on how to create a repository programmatically (native or memory/persistent) when using the RDF4J-Server and Workbench running in Tomcat. I know how to create one using the Workbench, but it would be nice to also have an API that I can just provide with a JSON or something, that would create the repository. Use-case: I want to be able to spin-up a local configuration based on Docker for testing purposes. I don't need the repository to be available after the tests have run, I just want the repository to be available when my Docker with Tomcat spins up. I do have the RDF4J-Server and Workbench as webapp in the container. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, the documentation has an example on how to create a repository via the REST API using an RDF file, does that help ? Best regards Bart |
Beta Was this translation helpful? Give feedback.
Hi,
the documentation has an example on how to create a repository via the REST API using an RDF file, does that help ?
Best regards
Bart