Sha256: ff6ec76289d7a9a16fc6472e6e10fcb367fce307448c6559c03d156b873bbc41

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

# 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

    include RDF
    include 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")

## Contributing

1. Fork it ( https://github.com/[my-github-username]/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.3 README.md