Convert Linked Data files
Linked Data has multiple representations. The Cayley CLI includes a utility to convert Linked Data files from one format to another.
$ cayley convert -i data.jsonld -o data.nquads
-o
is the file to be created in the desired format. In this example it is a N-Quads file named data.nquads
.The formats of the input and output files are detected automatically by the file extension. In case a specific format should be used for input or output use
--load_format
and --dump_format
respectively.$ cayley convet -i data.jsonld -o data --dump_format pquads
--dump_format
is set to the P-Quads format, a binary format used internally in Cayley.Last modified 3yr ago