NAME

skos2jskos - convert SKOS/RDF to JSKOS

SYNOPSIS

skos2jskos OPTIONS [ FILES | URL ]

USAGE

This script can be used to convert SKOS data from a local RDF file, URL, or SPARQL-endpoint (option --sparql) to JSKOS format (SKOS in JSON-LD). On success the following files are created in normalized JSON:

scheme.json

JSKOS description of the concept scheme

concepts.json

JKSOS description of all concepts

Location and name of the files can be controlled with options --directory and --name.

All concepts MUST be linked from the concept scheme via skos:inScheme.

Conversion is not optimized for speed so be patient!

OPTIONS

--directory | -d

Output directory to write JSKOS files to. Current directory by default.

--name | -n

Filename prefix to append to exported files. E.g. --name foo will create foo-scheme.json and foo-concepts.json.

--language | -l

Default language to use for literal values without language (en by default).

--quiet | -q

Don't show status messages

--verbose | -v

Show detailed processing messages

--scheme

Concept scheme URI

--sparql

SPARQL endpoint

--help | -h | -?

Show usage description

--version

Show version of this script