1.1.0 • Published 5 years ago

n3-transform v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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.

1.1.0

5 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago