Sha256: 9d8336ada0395a9aa7b9a157946ec25413435203ecceea6649391a7def57855d
Contents?: true
Size: 1.25 KB
Versions: 1
Compression:
Stored size: 1.25 KB
Contents
# rdf-open_annotation [![Dependency Status](https://gemnasium.com/sul-dlss/rdf-open_annotation.svg)](https://gemnasium.com/sul-dlss/rdf-open_annotation) [![Gem Version](https://badge.fury.io/rb/rdf-open_annotation.svg)](http://badge.fury.io/rb/rdf-open_annotation) Contains vocabularies to be used by RDF ruby gem https://github.com/ruby-rdf/rdf/ to simplify coding when using OpenAnnotation data. ## Installation Add this line to your application's Gemfile: ```ruby gem 'rdf-open_annotation' ``` And then execute: $ bundle Or install it yourself as: $ gem install rdf-open_annotation ## Usage require 'rdf/open_annotation' RDF::OpenAnnotation.Annotation #=> RDF::URI("http://www.w3.org/ns/oa#Annotation") RDF::OpenAnnotation.hasBody #=> RDF::URI("http://www.w3.org/ns/oa#hasBody") RDF::Content.chars #=> RDF::URI("http://www.w3.org/2011/content#chars") RDF::DCMIType.Text #=> RDF::URI("http://purl.org/dc/dcmitype/Text") ## Contributing 1. Fork it ( https://github.com/[my-github-username]/rdf-open_annotation/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rdf-open_annotation-0.0.4 | README.md |