Skip to content

Commit 3f681fe

Browse files
Add readme example
1 parent 56706cc commit 3f681fe

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ To use other folders, pass them as build contexts:
1919
docker build --file Containerfile --build-context config=path/to/config --build-context data=path/to/data --tag triplestore .
2020
```
2121

22+
For example, to load the [volunteering data ontology](https://github.com/volunteeringdata/ontology) (add `--branch <tag or branch>` to the clone to load another version than the default branch):
23+
24+
```sh
25+
git clone --depth 1 https://github.com/volunteeringdata/ontology.git data/volunteeringdata/ontology
26+
docker build --file Containerfile --tag triplestore .
27+
```
28+
2229
The reasoner holds its inferences in memory and gets 75% of the build container's memory by default. To set its heap explicitly, pass JVM options as a build argument:
2330

2431
```sh
@@ -36,14 +43,14 @@ docker build --file Containerfile --platform linux/amd64,linux/arm64 --tag tripl
3643
Podman builds them into a manifest list:
3744

3845
```sh
39-
podman build --platform linux/amd64,linux/arm64 --manifest triple-store-container .
46+
podman build --platform linux/amd64,linux/arm64 --manifest triplestore .
4047
```
4148

4249

4350
## Run container
4451

4552
```sh
46-
docker run --rm -p 3030:3030 triple-store-container
53+
docker run --rm -p 3030:3030 triplestore
4754
```
4855

4956
SPARQL endpoint accessible at [http://localhost:3030/sparql](http://localhost:3030/sparql).

0 commit comments

Comments
 (0)