@oslo-flanders/rdf-vocabulary-generator
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

OSLO RDF Vocabulary Generator

Given an OSLO-compliant RDF file, this tool generates an RDF vocabulary

Install

npm install @oslo-flanders/rdf-vocabulary-generator

Global install

To use the service from the command line anywhere, you can install it globally.

npm install -g @oslo-flanders/rdf-vocabulary-generator

API

The service is executed from the CLI and expects the following parameters:

Parameter Description Required Possible values
--input The URL or local file path of an OSLO-compliant RDF file ✔️
--output The name of the output file ✔️
--language The language in which the rdf vocabulary must be generated (labels) ✔️
--contentType Prefix every attribute with its domain No text/turtle, application/n-quads, application/n-triples, application/ld+json
--silent Suppress log messages No true or false (default)

Usage

oslo-generator-rdf --input report.jsonld --output report.ttl --language nl --contentType text/turtle
oslo-generator-rdf --input report.jsonld --output report.ttl --language nl --contentType application/n-quads

Readme

Keywords

none

Package Sidebar

Install

npm i @oslo-flanders/rdf-vocabulary-generator

Weekly Downloads

49

Version

1.0.0

License

MIT

Unpacked Size

22.4 kB

Total Files

15

Last publish

Collaborators

  • ddvlanck
  • kristofvandenbroucke
  • bertvn