You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the shaclinfer tool, you can use the `-maxiterations` argument to apply SHACL rule inferencing multiple times; this will add inferred results back to the data graph to see if further triples can be inferred.
83
-
The tool will iterate until either (a) the maximum number of iterations is reached, or (b) no new triples are inferred. The flag is optional and defaults to `1` (single iteration).
84
-
85
-
Currently only Turtle (.ttl) files are supported.
81
+
Both tools (Windows, Linux) take the parameters described in the [Dockerfile Usage](#dockerfile-usage) section. **Currently, only Turtle (.ttl) files are supported.**
86
82
87
83
The tools print the validation report or the inferences graph to the output screen.
88
84
@@ -113,15 +109,23 @@ Any other command after `ghcr.io/topquadrant/shacl:1.4.3` will print the followi
113
109
Please use this docker image as follows:
114
110
docker run -v /path/to/data:/data ghcr.io/topquadrant/shacl:1.4.3 [COMMAND] [PARAMETERS]
115
111
COMMAND:
116
-
validate
117
-
to run validation
118
-
infer
119
-
to run rule inferencing
112
+
validate
113
+
to run validation
114
+
infer
115
+
to run rule inferencing
120
116
PARAMETERS:
121
-
-datafile /data/myfile.ttl [MANDATORY]
122
-
input to be validated (only .ttl format supported)
123
-
-shapesfile /data/myshapes.ttl [OPTIONAL]
124
-
shapes for validation (only .ttl format supported)
117
+
-datafile /data/myfile.ttl [MANDATORY]
118
+
input to be validated (only .ttl format supported)
119
+
-shapesfile /data/myshapes.ttl [OPTIONAL]
120
+
shapes for validation (only .ttl format supported)
121
+
-maxiterations 1 [OPTIONAL] - default is 1
122
+
iteratively applies the inference rules until the maximum number of iterations is reached (or no new triples are inferred)
123
+
-validateShapes [OPTIONAL]
124
+
in case you want to include the metashapes (from the tosh namespace in particular)
125
+
-addBlankNodes [OPTIONAL]
126
+
adds the blank nodes to the validation report
127
+
-noImports [OPTIONAL]
128
+
disables the import of external ontologies
125
129
```
126
130
127
131
If you'd like to build the image locally in an `x86` architecture, use:
@@ -134,4 +138,4 @@ If your architecture is `arm`, use:
0 commit comments