rdf-fcrepo4
Contains vocabularies to be used by RDF ruby gem https://github.com/ruby-rdf/rdf/ to simplify coding when using Fedora RDF objects.
Also contains helper method to strip Fedora triples from an RDF::Graph object.
Installation
Add this line to your application's Gemfile:
gem 'rdf-fcrepo4'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rdf-fcrepo4
Usage
include rdf
include rdf/fcrepo4
RDF::FCRepo4.Object #=> RDF::URI("http://fedora.info/definitions/v4/rest-api#object")
Contributing
- Fork it ( https://github.com/[my-github-username]/rdf-fcrepo4/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request