-
Notifications
You must be signed in to change notification settings - Fork 2
Command Line Arguments
The dwerft tools follow the git style within cli parsing. Thus, you get help by either use help
as program argument or by using help <command> on a specific sub commando.
The usable sub commandos are convert, version, help.
Convert structured input into linked data.
Usage: convert <input> <output> <mapping>
+ -p, --print: Prints the RDF output to console. If used the output file has to be omitted.
+ -f, --format: Specify an RDF output format. Available options are Turtle ('ttl'), N-Triples ('nt'), and TriG ('trig'). Default is Turtle.
- valid input files are
-
*.dqfor dramaqueen (needs a rdf output file); -
*.(xml|json|csv|ale)for generic conversion - no input file for preproducer
+ valid output files are
*.(rdf|ttl|nt)+ valid mappings are*.rml.ttland has to be omitted for dramaqueen und preproducer conversion.
-
Print information from the tailr versioning system.
Usage : version -(l|s|d) <key>
-
-l, --list: List revisions in tailr -
-s, --show: Show a specific revision or the latest when the latest keyqord is used -
-d, --delta: Shows the diff between the current and a previous revision or the latest delta if the latest keyword is used
Upload a file to the dwerft web service, see [Webservice(https://github.com/yovisto/dwerft/tree/master/service)
Usage: upload -k <tailr-key> -g <granularity> -n <graphname> <file>
-
-g, --granularity: Provide a granularity. Possible options are 0, 1, 2, where 0 deletes from remote graph; 1 inserts into remote graph and 2 inserts a diff. Default is 1. -
-n, --name: Provide a graph name (uri) where the data is stored. -
-k, --key: Provide a key for tailr. In most cases this might be the project base URI in conjunction with the tool which has generated the data.