rdf-open_annotation 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -8
- data/lib/rdf/open_annotation/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0313c1e7c80494b67f380fe499424935cf6f4c09
|
4
|
+
data.tar.gz: b99140b52ee80afbea43c592100a766d01754608
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1f2647314342fc8373f9e3e55a1fad670d3ec29651529dc9703dd15161ba3eed111545be44461b489509190886eaf7559e0b4a2301b6fff7b92c7a873cd2795
|
7
|
+
data.tar.gz: 0444d33d5ce2ccb642bb9f17df6f8341e6f96b92039cdbd58c92da7d7f8e88cf5b033187208dcdee1c829be78d013b475cc29bc3fe5de6c0697c34225202e08d
|
data/README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# rdf-open_annotation
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/rdf-open_annotation.svg)](http://badge.fury.io/rb/rdf-open_annotation)
|
2
4
|
|
3
5
|
Contains vocabularies to be used by RDF ruby gem https://github.com/ruby-rdf/rdf/ to simplify coding when using OpenAnnotation data.
|
4
6
|
|
@@ -20,13 +22,12 @@ Or install it yourself as:
|
|
20
22
|
|
21
23
|
## Usage
|
22
24
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
#
|
27
|
-
|
28
|
-
|
29
|
-
# RDF::Content.chars #=> RDF::URI("http://www.w3.org/2011/content#chars")
|
25
|
+
include RDF
|
26
|
+
include rdf-open_annotation
|
27
|
+
|
28
|
+
RDF::OpenAnnotation.Annotation #=> RDF::URI("http://www.w3.org/ns/oa#Annotation")
|
29
|
+
RDF::OpenAnnotation.hasBody #=> RDF::URI("http://www.w3.org/ns/oa#hasBody")
|
30
|
+
RDF::Content.chars #=> RDF::URI("http://www.w3.org/2011/content#chars")
|
30
31
|
|
31
32
|
## Contributing
|
32
33
|
|