n3-transform

1.1.0 • Public • Published

N3-Transform

npm version

This module does one thing only: transforming an RDF stream in one format to another format using UNIX streams.

Install

npm install -g n3-transform

Usage

cat some-file.ttl | n3-transform -i turtle -o nquads
cat some-file.ttl | n3-transform -i turtle -o trig -p prefixes_example.json

All parameters are optional. The input (-i) and output (-o) format parameters will default to turtle. The other allowed format values are: turtle, trig, ntriples or nquads. The prefixes (-p) parameter takes the path of a JSON file with prefixes that are used for the formats turtle and trig. An example of such a file can be found in prefixes_example.json.

License

N3-Transform is written by Ruben Taelman.

This code is copyrighted by Ghent University – imec and released under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i n3-transform

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

4.73 kB

Total Files

6

Last publish

Collaborators

  • rubensworks