skos2jskos - convert SKOS/RDF to JSKOS
skos2jskos OPTIONS [ FILES | URL ]
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:
JSKOS description of the concept scheme
JKSOS description of all concepts
Location and name of the files can be controlled with options --directory and --name.
--directory
--name
Conversion is not optimized for speed so be patient!
The concept scheme MUST have a title (dct:title).
dct:title
All concepts MUST be linked from the concept scheme via skos:inScheme.
skos:inScheme
Output directory to write JSKOS files to. Current directory by default.
Filename prefix to append to exported files. E.g. --name foo will create foo-scheme.json and foo-concepts.json.
--name foo
foo-scheme.json
foo-concepts.json
Default language to use for literal values without language (en by default).
en
Don't show status messages
Show detailed processing messages
Concept scheme URI
SPARQL endpoint
Show usage description
Show version of this script
App::skos2jskos
To install App::skos2jskos, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::skos2jskos
CPAN shell
perl -MCPAN -e shell install App::skos2jskos
For more information on module installation, please visit the detailed CPAN module installation guide.