Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/albertmeronyo/simplerdfconverter
A simple, command-line, RDFLib based RDF serialization format converter
https://github.com/albertmeronyo/simplerdfconverter
Last synced: 28 days ago
JSON representation
A simple, command-line, RDFLib based RDF serialization format converter
- Host: GitHub
- URL: https://github.com/albertmeronyo/simplerdfconverter
- Owner: albertmeronyo
- Created: 2014-03-21T09:55:36.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-19T18:58:43.000Z (over 10 years ago)
- Last Synced: 2024-10-11T23:45:09.334Z (3 months ago)
- Language: Python
- Size: 156 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
SimpleRDFConverter
==================A simple, command-line, RDFLib based RDF serialization format converter
**Author**: [Albert Meroño-Peñuela](https://github.com/albertmeronyo)
## Usage
`./simpleRDFConverter.py -i inputfile -if inputfileformat -o outputfile -of outputfileformat`
e.g. to convert an OWL/XML file to an N-Triples file
`./simpleRDFConverter.py -i myontology.owl -if xml -o myontology.nt -of nt`
Parameters:
- `--input / -i` to specify the input RDF file
- `--input-format / -if` to specify the serialization format of the input file
- `--output / -o` to specify the output RDF file
- `--output-format / -of` to specify the serialization format of the output file
- `--help / -h` to display usage info## Dependencies
Python 2.7.5, RDFLib 4.1.0