stardog file obfuscate Manual Page

NAME


stardog file obfuscate —Obfuscates the contents of the given RDF file

SYNOPSIS


stardog file obfuscate [ {-c | --config} <obfuscation configuration> ] [ {-f | --format} <rdf format> ] [--] <inputFile>

OPTIONS


-c <obfuscation configuration>, --config <obfuscation configuration>
Configuration file for obfuscation
-f <rdf format>, --format <rdf format>
RDF Format for the output. The supported formats are NTRIPLES, RDF/XML, TURTLE, PRETTY_TURTLE, TRIG, TRIX, N3, NQUADS. By default output files will have the same format as the first input file.
--
This option can be used to separate command-line options from the list of argument, (useful when arguments might be mistaken for command-line options
<inputFile>
Input file to obfuscate.

DISCUSSION


Obfuscates the contents of the file by replacing all URIs, bnodes, and string literals using a message digest algorithm. Non-string typed literals (integers, floats, dates, etc.) are left unchanged. The obfuscation is guided by a configuration file. Configurations can specify which URIs and strings will be obfuscated by defining inclusion and exclusion filters.

EXAMPLES


Obfuscate input file.

    $ stardog file obfuscate input.rdf

Obfuscate input file using a custom configuration and output in TURTLE format:

    $ stardog file obfuscate --config my_config.ttl --format turtle input.rdf