Skip to content

Commit 9990bcf

Browse files
author
F. Conrads
authored
Update README.md
1 parent 7659354 commit 9990bcf

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

README.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Further on provides an even smaller compression using KD2 Trees.
1313

1414
Download standalone.zip from the latest release.
1515
```bash
16-
wget https://.../standalone.zip
16+
wget https://github.com/dice-group/GraphCompression/releases/download/v1.0.1/standalone.zip
1717
unzip standalone.zip
1818
cd rdfrepair
1919
```
@@ -39,7 +39,7 @@ Add the following to your pom
3939
<dependency>
4040
<groupId>org.dice-group</groupId>
4141
<artifactId>RDFRePair</artifactId>
42-
<version>1.0</version>
42+
<version>1.0.1</version>
4343
</dependency>
4444
```
4545

@@ -82,7 +82,7 @@ export RDF_RE_PAIR_XMX=4g
8282
Download fuseki-kd2.tar.gz from the latest release
8383

8484
```bash
85-
wget http://.../fuseki-kd2.tar.gz
85+
wget https://github.com/dice-group/GraphCompression/releases/download/v1.0.1/fuseki-kd2.tar.gz
8686
tar -xzvf fuseki-kd2.tar.gz
8787
cd apache-jena-fuseki-3.13.1/
8888
cp YOUR_KD2_COMPRESSED_FILE file.grp
@@ -93,7 +93,7 @@ cp YOUR_KD2_COMPRESSED_FILE file.grp
9393
### From scratch
9494

9595
1. Download the latest [apache jena fuseki](https://jena.apache.org/download/#jena-fuseki)
96-
2. Copy the rdfrepair-1.0.jar from the latest release to `run/extra/` in the fuseki folder.
96+
2. Copy the [rdfrepair-1.0.jar](https://github.com/dice-group/GraphCompression/releases/download/v1.0.1/rdfrepair-1.0.jar) from the latest release to `run/extra/` in the fuseki folder.
9797
3. Download the [fuseki_example.ttl](https://github.com/dice-group/GraphCompression/blob/develop/fuseki_example.ttl)
9898
4. change the last line fileName to the actual fileName of your KD2 compressed file.
9999
5. Start fuseki using `fuseki-server --config=fuseki_example.ttl`
@@ -103,6 +103,27 @@ You can reach the read-only service at [http://localhost:3030/kd2/sparql](http:/
103103
Depending on the size it may take a bit to load.
104104

105105

106+
### Using mutliple compressed files in one graph
107+
108+
If you want to use multiple kd2 compressed files in one graph download fuseki-kd2.tar.gz from the latest release and
109+
instead of copying one file to file.grp copy all your kd2 compressed files to `apache-jena-fuseki-3.13.1/kd2_files/`
110+
111+
```
112+
wget https://github.com/dice-group/GraphCompression/releases/download/v1.0.1/fuseki-kd2.tar.gz
113+
tar -xzvf fuseki-kd2.tar.gz
114+
cd apache-jena-fuseki-3.13.1/
115+
cp YOUR_KD2_COMPRESSED_FILES kd2_files/
116+
./fuseki-server --config=kd2_multi_file.ttl
117+
```
118+
119+
Alternatevly (un)comment the following in your config file:
120+
```
121+
#rdf:type dice:KD2Graph ;
122+
#dice:fileName "file.grp" .
123+
rdf:type dice:KD2Graph ; #If you want several compressed files to be loaded in one graph
124+
dice:folder "./kd2_files/" . #If you want several compressed files to be loaded in one graph
125+
```
126+
106127
# Download precompressed files
107128
Name | Size | Triples | Link
108129
------------ | ------------- | ------------- | -------------

0 commit comments

Comments
 (0)