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
You can specify most well-known formats supported by Apache Jena, but also a custom Jelly-Text format.
@@ -57,21 +57,21 @@ Jelly-Text is a human-readable translation of Jelly binary. It's not meant for m
57
57
The `rdf transcode` command turns one or more input Jelly streams into a single output stream. It's extremely fast, using a dedicated transcoding algorithm. However, the numerical values for each of the options in the output stream must be greater than or equal to those in the input stream(s).
To inspect a Jelly file and get basic information describing its contents, such as stream options or number of triples in the file, run
66
66
67
67
```shell
68
-
$ jelly-cli rdf inspect input.jelly
68
+
jelly-cli rdf inspect input.jelly
69
69
```
70
70
71
71
You can also compute the statistics separately for each stream frame with the `--per-frame` option:
72
72
73
73
```shell
74
-
$ jelly-cli rdf inspect input.jelly --per-frame
74
+
jelly-cli rdf inspect input.jelly --per-frame
75
75
```
76
76
77
77
In both cases, you will get the output as a valid YAML.
@@ -81,7 +81,7 @@ In both cases, you will get the output as a valid YAML.
81
81
To validate a Jelly file, run
82
82
83
83
```shell
84
-
$ jelly-cli rdf validate input.jelly
84
+
jelly-cli rdf validate input.jelly
85
85
```
86
86
87
87
You can also check whether the Jelly file has been encoded using specific stream options or is equivalent to another RDF file, with the use of additional options to this command.
@@ -91,11 +91,11 @@ You can also check whether the Jelly file has been encoded using specific stream
91
91
Use the `--help` option to learn more about all the available settings:
92
92
93
93
```shell
94
-
$ jelly-cli rdf to-jelly --help
95
-
$ jelly-cli rdf from-jelly --help
96
-
$ jelly-cli rdf transcode --help
97
-
$ jelly-cli rdf inspect --help
98
-
$ jelly-cli rdf validate --help
94
+
jelly-cli rdf to-jelly --help
95
+
jelly-cli rdf from-jelly --help
96
+
jelly-cli rdf transcode --help
97
+
jelly-cli rdf inspect --help
98
+
jelly-cli rdf validate --help
99
99
```
100
100
101
101
And use the `--debug` option to get more information about any exceptions you encounter.
@@ -120,7 +120,7 @@ For maximum performance, we recommend using a recent JVM (e.g., GraalVM or OpenJ
120
120
121
121
If you're using `jelly-cli` in your GitHub Action CI/CD workflows, consider using the `jelly-rdf/setup-cli` action ([Marketplace link](https://github.com/marketplace/actions/setup-jelly-cli)). The action will automatically download and install the appropriate binary. Simply run the action before `jelly-cli` usage:
0 commit comments