The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

skos2jskos - convert SKOS/RDF to JSKOS

SYNOPSIS

  skos2jskos OPTIONS [ FILES | URL ]

USAGE

This script can be used to convert SKOS data from local RDF files, URL, or SPARQL-endpoint 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.

Conversion is not optimized for speed so be patient!

SKOS requirements

The concept scheme MUST have a title (dct:title).

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

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 | -s

Concept scheme URI

--sparql | -q

SPARQL endpoint

--help | -h | -?

Show usage description

--version

Show version of this script

SEE ALSO

App::skos2jskos