Repository is archived
No commit activity in last 3 years
No release in over 3 years
This gem deprecated in favor of rdf-vocab
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
~> 10.0

Runtime

>= 0
 Project Readme

DEPRECATED

This gem is deprecated; rdf-vocab gem (https://github.com/ruby-rdf/rdf-vocab, included in the linkeddata gem) now contains RDF::Vocab::OA, RDF::Vocab::DCMIType and RDF::Vocab::CNT.

rdf-open_annotation

Dependency Status Gem Version

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:

gem 'rdf-vocab'  # (was rdf-open_annotation)

And then execute:

$ bundle

Or install it yourself as:

$ gem install rdf-vocab  # (was rdf-open_annotation)

Usage

require 'rdf/vocab'

RDF::Vocab::OA.Annotation #=> RDF::URI("http://www.w3.org/ns/oa#Annotation")
RDF::Vocab::OA.hasBody #=> RDF::URI("http://www.w3.org/ns/oa#hasBody")
RDF::Vocab::CNT.chars #=> RDF::URI("http://www.w3.org/2011/content#chars")
RDF::Vocab::DCMIType.Text #=> RDF::URI("http://purl.org/dc/dcmitype/Text")

DEPRECATED

This gem is deprecated; rdf-vocab gem (https://github.com/ruby-rdf/rdf-vocab, included in the linkeddata gem) now contains RDF::Vocab::OA, RDF::Vocab::DCMIType and RDF::Vocab::CNT.