Tabular Data RDF Reader and JSON serializer

[RDF-CSV][] reader for RDF.rb and fully JSON serializer.

Gem Version Build Status

Features

RDF::CSV parses and serializes CSV or other Tabular Data into RDF and JSON.

Install with gem install rdf-csv

Examples

require 'rubygems'
require 'rdf/csv

RDF Reader

RDF::CSV also acts as a normal RDF reader, using the standard RDF.rb Reader interface:

graph = RDF::Graph.load("etc/doap.csv")

Documentation

Full documentation available on RubyDoc

Principal Classes

Dependencies

Installation

The recommended installation method is via RubyGems. To install the latest official release of the RDF::CSV gem, do:

% [sudo] gem install rdf-csv

Mailing List

Author

Contributing

  • Do your best to adhere to the existing coding conventions and idioms.
  • Don't use hard tabs, and don't leave trailing whitespace on any line.
  • Do document every method you add using YARD annotations. Read the tutorial or just look at the existing code for examples.
  • Don't touch the json-ld.gemspec, VERSION or AUTHORS files. If you need to change them, do so on your private branch only.
  • Do feel free to add yourself to the CREDITS file and the corresponding list in the the README. Alphabetical order applies.
  • Do note that in order for us to merge any non-trivial changes (as a rule of thumb, additions larger than about 15 lines of code), we need an explicit public domain dedication on record from you.

License

This is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.