Skip to content
This repository was archived by the owner on Oct 8, 2020. It is now read-only.

Commit 92a69b7

Browse files
Update README.md
1 parent da5d2d8 commit 92a69b7

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,25 +143,29 @@ Usage: RDFGraphMaterializer [options]
143143
```
144144
This can easily be used when submitting the Job to Spark (resp. Flink), e.g. for Spark
145145

146-
```
147-
/PATH/TO/SPARK/spark-submit [spark-options] /PATH/TO/INFERENCE-SPARK-DISTRIBUTION/FILE.jar [inference-api-arguments]
146+
```bash
147+
/PATH/TO/SPARK/sbin/spark-submit [spark-options] /PATH/TO/INFERENCE-SPARK-DISTRIBUTION/FILE.jar [inference-api-arguments]
148148
```
149149

150150
and for Flink
151151

152-
```
152+
```bash
153153
/PATH/TO/FLINK/bin/flink run [flink-options] /PATH/TO/INFERENCE-FLINK-DISTRIBUTION/FILE.jar [inference-api-arguments]
154154
```
155155

156-
In addition, we also provide Shell scripts that wrap the Spark (resp. Flink) deployment and can be used with
157-
```
156+
In addition, we also provide Shell scripts that wrap the Spark (resp. Flink) deployment and can be used by first
157+
setting the environment variable `SPARK_HOME` (resp. `FLINK_HOME`) and then calling
158+
```bash
158159
/PATH/TO/INFERENCE-DISTRIBUTION/bin/cli [inference-api-arguments]
159160
```
160-
(Note that setting Spark (resp. Flink) options isn't supported here and has to be done via the corresponding config files)
161+
(Note, that setting Spark (resp. Flink) options isn't supported here and has to be done via the corresponding config files)
161162

162163
### Example
163164

164-
`RDFGraphMaterializer -i /PATH/TO/FILE/test.nt -o /PATH/TO/TEST_OUTPUT_DIRECTORY/ -p rdfs` will compute the RDFS materialization on the data contained in `test.nt` and write the inferred RDF graph to the given directory `TEST_OUTPUT_DIRECTORY`.
165+
```bash
166+
RDFGraphMaterializer -i /PATH/TO/FILE/test.nt -o /PATH/TO/TEST_OUTPUT_DIRECTORY/ -p rdfs
167+
```
168+
will compute the RDFS materialization on the data contained in `test.nt` and write the inferred RDF graph to the given directory `TEST_OUTPUT_DIRECTORY`.
165169

166170
## Supported Reasoning Profiles
167171

0 commit comments

Comments
 (0)