Command Line Tool

Tool for curation of CKAN datasets. It reads RDF descriptions of the dataset and applies the specified rules. Inferred statements are written to the standard output in Notation 3 and built-in predicates may be used to check specific conditions or perform certain actions.

Usage: curate [options] [dataset [dataset [...]]]

-b base_uri

Base URI to read dataset descriptions from. The RDF graph at ${base_uri}/${dataset} is read for each dataset and passed as input to the inference rules.

-a api_base

Base URI for calls to the CKAN API. This is useful for running the tool against different CKAN instances.

-r rules

Inference rules in Notation 3 to read. May be specified multiple times

-k api_key

CKAN API Key to use where authentication is required

-s

Save any inferred dataset metadata to the CKAN instance. If this is not specified the program will run and perform all checks but will not actually perform any operations via the CKAN api.

-l

Log information to file

-v

Verbose output

-h, --help

output a help message

Previous topic

Installation

Next topic

Actions

This Page