rdf 0.3.11.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/AUTHORS CHANGED
@@ -1,3 +1,3 @@
1
- * Arto Bendiken <arto.bendiken@gmail.com>
1
+ * Arto Bendiken <arto@bendiken.net>
2
2
  * Ben Lavender <blavender@gmail.com>
3
3
  * Gregg Kellogg <gregg@kellogg-assoc.com>
data/README CHANGED
@@ -24,7 +24,7 @@ This is a pure-Ruby library for working with [Resource Description Framework
24
24
  not modify any of Ruby's core classes or standard library.
25
25
  * Based entirely on Ruby's autoloading, meaning that you can generally make
26
26
  use of any one part of the library without needing to load up the rest.
27
- * Compatible with Ruby 1.8.7+, Ruby 1.9.x, and JRuby 1.4/1.5.
27
+ * Compatible with Ruby 1.8.7+, Ruby 1.9.x, and JRuby 1.7+.
28
28
  * Compatible with older Ruby versions with the help of the [Backports][] gem.
29
29
  * Performs auto-detection of input to select appropriate Reader class if one
30
30
  cannot be determined from file characteristics.
@@ -346,7 +346,7 @@ see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
346
346
  [Turtle doc]: http://rubydoc.info/github/ruby-rdf/rdf-turtle/master/frames
347
347
  [SPARQL doc]: http://rubydoc.info/github/ruby-rdf/sparql/frames
348
348
  [SPARQL 1.0]: http://www.w3.org/TR/rdf-sparql-query/
349
- [RDF.rb]: http://ruby-rdf.github.com/rdf
349
+ [RDF.rb]: http://ruby-rdf.github.com/
350
350
  [RDF::DO]: http://ruby-rdf.github.com/rdf-do
351
351
  [RDF::Mongo]: http://ruby-rdf.github.com/rdf-mongo
352
352
  [RDF::Sesame]: http://ruby-rdf.github.com/rdf-sesame
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.11.1
1
+ 1.0.0
data/bin/rdf CHANGED
@@ -13,6 +13,6 @@ options = RDF::CLI.options do
13
13
  end
14
14
  end
15
15
 
16
- abort options.banner if ARGV.empty? && !options.has_key?(:evaluate)
16
+ abort options.banner if ARGV.empty? && !options.options[:evaluate]
17
17
 
18
18
  RDF::CLI.exec_command(command = ARGV.shift, ARGV, options.options)
data/etc/doap.nt CHANGED
@@ -1,85 +1,85 @@
1
- <http://rubygems.org/gems/rdf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://usefulinc.com/ns/doap#Project> .
2
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#name> "RDF.rb" .
3
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#homepage> <http://rubygems.org/gems/rdf> .
4
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#license> <http://creativecommons.org/licenses/publicdomain/> .
5
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#shortdesc> "A Ruby library for working with Resource Description Framework (RDF) data."@en .
6
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#description> "RDF.rb is a pure-Ruby library for working with Resource Description Framework (RDF) data."@en .
7
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#created> "2007-10-23" .
8
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#platform> "Ruby" .
9
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#category> <http://dbpedia.org/resource/Resource_Description_Framework> .
10
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#category> <http://dbpedia.org/resource/Ruby_(programming_language)> .
11
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#implements> <http://www.w3.org/TR/rdf-concepts/> .
12
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#implements> <http://sw.deri.org/2008/07/n-quads/> .
13
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#implements> <http://www.w3.org/2001/sw/RDFCore/ntriples/> .
14
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#download-page> <http://rubyforge.org/projects/rdf/> .
15
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#bug-database> <http://github.com/ruby-rdf/rdf/issues> .
1
+ <http://ar.to/#self> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
2
+ <http://ar.to/#self> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://datagraph.org/bendiken/foaf> .
3
+ <http://ar.to/#self> <http://xmlns.com/foaf/0.1/homepage> <http://ar.to/> .
4
+ <http://ar.to/#self> <http://xmlns.com/foaf/0.1/made> <http://rubygems.org/gems/rdf> .
5
+ <http://ar.to/#self> <http://xmlns.com/foaf/0.1/mbox> <mailto:arto@bendiken.net> .
6
+ <http://ar.to/#self> <http://xmlns.com/foaf/0.1/mbox_sha1sum> "a033f652c84a4d73b8c26d318c2395699dd2bdfb" .
7
+ <http://ar.to/#self> <http://xmlns.com/foaf/0.1/mbox_sha1sum> "d0737cceb55eb7d740578d2db1bc0727e3ed49ce" .
8
+ <http://ar.to/#self> <http://xmlns.com/foaf/0.1/name> "Arto Bendiken" .
9
+ <http://bhuga.net/#ben> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
10
+ <http://bhuga.net/#ben> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://datagraph.org/bhuga/foaf> .
11
+ <http://bhuga.net/#ben> <http://xmlns.com/foaf/0.1/homepage> <http://bhuga.net/> .
12
+ <http://bhuga.net/#ben> <http://xmlns.com/foaf/0.1/mbox> <mailto:blavender@gmail.com> .
13
+ <http://bhuga.net/#ben> <http://xmlns.com/foaf/0.1/mbox_sha1sum> "dbf45f4ffbd27b67aa84f02a6a31c144727d10af" .
14
+ <http://bhuga.net/#ben> <http://xmlns.com/foaf/0.1/name> "Ben Lavender" .
15
+ <http://greggkellogg.net/foaf#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
16
+ <http://greggkellogg.net/foaf#me> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://greggkellogg.net/foaf> .
17
+ <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/homepage> <http://greggkellogg.net/> .
18
+ <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/mbox> <mailto:gregg@greggkellogg.net> .
19
+ <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/mbox_sha1sum> "35bc44e6d0070e5ad50ccbe0d24403c96af2b9bd" .
20
+ <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
21
+ <http://rubygems.org/gems/rdf> <http://purl.org/dc/terms/creator> <http://ar.to/#self> .
16
22
  <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#blog> <http://ar.to/> .
17
23
  <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#blog> <http://blog.datagraph.org/> .
18
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#vendor> <http://datagraph.org/> .
24
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#bug-database> <http://github.com/ruby-rdf/rdf/issues> .
25
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#category> <http://dbpedia.org/resource/Resource_Description_Framework> .
26
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#category> <http://dbpedia.org/resource/Ruby_(programming_language)> .
27
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#created> "2007-10-23" .
28
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#description> "RDF.rb is a pure-Ruby library for working with Resource Description Framework (RDF) data."@en .
19
29
  <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#developer> <http://ar.to/#self> .
20
30
  <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#developer> <http://bhuga.net/#ben> .
21
31
  <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#developer> <http://greggkellogg.net/foaf#me> .
22
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#maintainer> <http://ar.to/#self> .
23
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#maintainer> <http://bhuga.net/#ben> .
24
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#maintainer> <http://greggkellogg.net/foaf#me> .
25
32
  <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <http://ar.to/#self> .
26
33
  <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <http://bhuga.net/#ben> .
27
34
  <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <http://greggkellogg.net/foaf#me> .
28
- _:g2171308140 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
29
- _:g2171308140 <http://xmlns.com/foaf/0.1/name> "CD\u0003lin Ardelean" .
30
- _:g2171308140 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "274bd18402fc773ffc0606996aa1fb90b603aa29" .
31
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2171308140 .
32
- _:g2171257040 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
33
- _:g2171257040 <http://xmlns.com/foaf/0.1/name> "Danny Gagne" .
34
- _:g2171257040 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "6de43e9cf7de53427fea9765706703e4d957c17b" .
35
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2171257040 .
36
- _:g2171208180 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
37
- _:g2171208180 <http://xmlns.com/foaf/0.1/name> "Joey Geiger" .
38
- _:g2171208180 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "f412d743150d7b27b8468d56e69ca147917ea6fc" .
39
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2171208180 .
40
- _:g2171159320 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
41
- _:g2171159320 <http://xmlns.com/foaf/0.1/name> "Fumihiro Kato" .
42
- _:g2171159320 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "d31fdd6af7a279a89bf09fdc9f7c44d9d08bb930" .
43
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2171159320 .
44
- _:g2171110460 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
45
- _:g2171110460 <http://xmlns.com/foaf/0.1/name> "Naoki Kawamukai" .
46
- _:g2171110460 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "5bdcd8e2af4f5952aaeeffbdd371c41525ec761d" .
47
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2171110460 .
48
- _:g2171061600 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
49
- _:g2171061600 <http://xmlns.com/foaf/0.1/name> "Hellekin O. Wolf" .
50
- _:g2171061600 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "c69f3255ff0639543cc5edfd8116eac8df16fab8" .
51
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2171061600 .
52
- _:g2171012740 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
53
- _:g2171012740 <http://xmlns.com/foaf/0.1/name> "John Fieber" .
54
- _:g2171012740 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "f7653fc1ac0e82ebb32f092389bd5fc728eaae12" .
55
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2171012740 .
56
- _:g2170963880 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
57
- _:g2170963880 <http://xmlns.com/foaf/0.1/name> "Keita Urashima" .
58
- _:g2170963880 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "2b4247b6fd5bb4a1383378f325784318680d5ff9" .
59
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2170963880 .
60
- _:g2173836940 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
61
- _:g2173836940 <http://xmlns.com/foaf/0.1/name> "Pius Uzamere" .
62
- _:g2173836940 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "bedbbf2451e5beb38d59687c0460032aff92cd3c" .
63
- <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g2173836940 .
35
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#download-page> <http://rubyforge.org/projects/rdf/> .
36
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid1 .
37
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid2 .
38
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid3 .
39
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid4 .
40
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid5 .
41
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid6 .
42
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid7 .
43
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid8 .
44
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:genid9 .
45
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#homepage> <http://rubygems.org/gems/rdf> .
46
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#implements> <http://sw.deri.org/2008/07/n-quads/> .
47
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#implements> <http://www.w3.org/2001/sw/RDFCore/ntriples/> .
48
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#implements> <http://www.w3.org/TR/rdf-concepts/> .
49
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#license> <http://creativecommons.org/licenses/publicdomain/> .
50
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#maintainer> <http://ar.to/#self> .
51
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#maintainer> <http://bhuga.net/#ben> .
52
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#maintainer> <http://greggkellogg.net/foaf#me> .
53
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#name> "RDF.rb" .
54
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#platform> "Ruby" .
55
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#shortdesc> "A Ruby library for working with Resource Description Framework (RDF) data."@en .
56
+ <http://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#vendor> <http://datagraph.org/> .
57
+ <http://rubygems.org/gems/rdf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://usefulinc.com/ns/doap#Project> .
64
58
  <http://rubygems.org/gems/rdf> <http://xmlns.com/foaf/0.1/maker> <http://ar.to/#self> .
65
- <http://rubygems.org/gems/rdf> <http://purl.org/dc/terms/creator> <http://ar.to/#self> .
66
- <http://ar.to/#self> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
67
- <http://ar.to/#self> <http://xmlns.com/foaf/0.1/name> "Arto Bendiken" .
68
- <http://ar.to/#self> <http://xmlns.com/foaf/0.1/mbox> <mailto:arto.bendiken@gmail.com> .
69
- <http://ar.to/#self> <http://xmlns.com/foaf/0.1/mbox_sha1sum> "d0737cceb55eb7d740578d2db1bc0727e3ed49ce" .
70
- <http://ar.to/#self> <http://xmlns.com/foaf/0.1/mbox_sha1sum> "a033f652c84a4d73b8c26d318c2395699dd2bdfb" .
71
- <http://ar.to/#self> <http://xmlns.com/foaf/0.1/homepage> <http://ar.to/> .
72
- <http://ar.to/#self> <http://xmlns.com/foaf/0.1/made> <http://rubygems.org/gems/rdf> .
73
- <http://ar.to/#self> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://datagraph.org/bendiken/foaf> .
74
- <http://bhuga.net/#ben> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
75
- <http://bhuga.net/#ben> <http://xmlns.com/foaf/0.1/name> "Ben Lavender" .
76
- <http://bhuga.net/#ben> <http://xmlns.com/foaf/0.1/mbox> <mailto:blavender@gmail.com> .
77
- <http://bhuga.net/#ben> <http://xmlns.com/foaf/0.1/mbox_sha1sum> "dbf45f4ffbd27b67aa84f02a6a31c144727d10af" .
78
- <http://bhuga.net/#ben> <http://xmlns.com/foaf/0.1/homepage> <http://bhuga.net/> .
79
- <http://bhuga.net/#ben> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://datagraph.org/bhuga/foaf> .
80
- <http://greggkellogg.net/foaf#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
81
- <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
82
- <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/mbox> <mailto:gregg@kellogg-assoc.com> .
83
- <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/mbox_sha1sum> "35bc44e6d0070e5ad50ccbe0d24403c96af2b9bd" .
84
- <http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/homepage> <http://greggkellogg.net/> .
85
- <http://greggkellogg.net/foaf#me> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://greggkellogg.net/foaf> .
59
+ _:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
60
+ _:genid1 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "274bd18402fc773ffc0606996aa1fb90b603aa29" .
61
+ _:genid1 <http://xmlns.com/foaf/0.1/name> "C\u0103lin Ardelean" .
62
+ _:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
63
+ _:genid2 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "6de43e9cf7de53427fea9765706703e4d957c17b" .
64
+ _:genid2 <http://xmlns.com/foaf/0.1/name> "Danny Gagne" .
65
+ _:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
66
+ _:genid3 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "f412d743150d7b27b8468d56e69ca147917ea6fc" .
67
+ _:genid3 <http://xmlns.com/foaf/0.1/name> "Joey Geiger" .
68
+ _:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
69
+ _:genid4 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "d31fdd6af7a279a89bf09fdc9f7c44d9d08bb930" .
70
+ _:genid4 <http://xmlns.com/foaf/0.1/name> "Fumihiro Kato" .
71
+ _:genid5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
72
+ _:genid5 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "5bdcd8e2af4f5952aaeeffbdd371c41525ec761d" .
73
+ _:genid5 <http://xmlns.com/foaf/0.1/name> "Naoki Kawamukai" .
74
+ _:genid6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
75
+ _:genid6 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "c69f3255ff0639543cc5edfd8116eac8df16fab8" .
76
+ _:genid6 <http://xmlns.com/foaf/0.1/name> "Hellekin O. Wolf" .
77
+ _:genid7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
78
+ _:genid7 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "f7653fc1ac0e82ebb32f092389bd5fc728eaae12" .
79
+ _:genid7 <http://xmlns.com/foaf/0.1/name> "John Fieber" .
80
+ _:genid8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
81
+ _:genid8 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "2b4247b6fd5bb4a1383378f325784318680d5ff9" .
82
+ _:genid8 <http://xmlns.com/foaf/0.1/name> "Keita Urashima" .
83
+ _:genid9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
84
+ _:genid9 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "bedbbf2451e5beb38d59687c0460032aff92cd3c" .
85
+ _:genid9 <http://xmlns.com/foaf/0.1/name> "Pius Uzamere" .
data/lib/rdf/cli.rb CHANGED
@@ -16,7 +16,7 @@ end
16
16
 
17
17
  module RDF
18
18
  class CLI
19
-
19
+
20
20
  COMMANDS = {
21
21
  "count" => lambda do |argv, opts|
22
22
  start = Time.new
@@ -69,7 +69,7 @@ module RDF
69
69
  end
70
70
  end
71
71
  }
72
-
72
+
73
73
  ##
74
74
  # @return [String]
75
75
  def self.basename() File.basename($0) end
@@ -137,13 +137,13 @@ module RDF
137
137
  $stdout.puts "Available commands:\n\t#{self.commands.join("\n\t")}"
138
138
  exit
139
139
  end
140
-
140
+
141
141
  begin
142
142
  options.parse!
143
143
  rescue OptionParser::InvalidOption => e
144
144
  abort e
145
145
  end
146
-
146
+
147
147
  options
148
148
  end
149
149
 
@@ -155,10 +155,10 @@ module RDF
155
155
  unless COMMANDS.has_key?(command)
156
156
  abort "#{File.basename($0)}: unknown command `#{command}'"
157
157
  end
158
-
158
+
159
159
  COMMANDS[command].call(args, options)
160
160
  end
161
-
161
+
162
162
  ##
163
163
  # @return [Array<String>] list of executable commands
164
164
  def self.commands
@@ -173,7 +173,7 @@ module RDF
173
173
  # @yield [reader]
174
174
  # @yieldparam [RDF::Reader]
175
175
  # @return [nil]
176
- def self.parse(files, options = {}, &block)
176
+ def self.parse(files, options = {}, &block)
177
177
  if files.empty?
178
178
  # If files are empty, either use options[:execute]
179
179
  input = options[:evaluate] ? StringIO.new(options[:evaluate]) : STDIN
@@ -189,7 +189,7 @@ module RDF
189
189
  end
190
190
  end
191
191
  end
192
-
192
+
193
193
  ##
194
194
  # @param [String] msg
195
195
  # @return [void]
data/lib/rdf/version.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  module RDF
2
2
  module VERSION
3
- VERSION_FILE = File.expand_path("../../../VERSION", __FILE__)
4
- MAJOR, MINOR, TINY, EXTRA = File.read(VERSION_FILE).chop.split(".")
5
- STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.')
3
+ FILE = File.expand_path('../../../VERSION', __FILE__)
4
+ MAJOR, MINOR, TINY, EXTRA = File.read(FILE).chomp.split('.')
5
+ STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.').freeze
6
6
 
7
7
  ##
8
8
  # @return [String]
@@ -0,0 +1,78 @@
1
+ module RDF
2
+ ##
3
+ # W3C Media Annotation vocabulary.
4
+ # @see www.w3.org/ns/ma-ont.rdf
5
+ class MA < Vocabulary("http://www.w3.org/ns/ma-ont#")
6
+ property :IsRatingOf
7
+ property :alternativeTitle
8
+ property :averageBitRate
9
+ property :collectionName
10
+ property :copyright
11
+ property :createdIn
12
+ property :creationDate
13
+ property :date
14
+ property :depictsFictionalLocation
15
+ property :description
16
+ property :duration
17
+ property :editDate
18
+ property :features
19
+ property :fragmentName
20
+ property :frameHeight
21
+ property :frameRate
22
+ property :frameSizeUnit
23
+ property :frameWidth
24
+ property :hasAccessConditions
25
+ property :hasAudioDescription
26
+ property :hasCaptioning
27
+ property :hasChapter
28
+ property :hasClassification
29
+ property :hasClassificationSystem
30
+ property :hasCompression
31
+ property :hasContributor
32
+ property :hasCreator
33
+ property :hasFormat
34
+ property :hasFragment
35
+ property :hasGenre
36
+ property :hasKeyword
37
+ property :hasLanguage
38
+ property :hasLocationCoordinateSystem
39
+ property :hasNamedFragment
40
+ property :hasPermissions
41
+ property :hasPolicy
42
+ property :hasPublished
43
+ property :hasPublisher
44
+ property :hasRating
45
+ property :hasRatingSystem
46
+ property :hasRelatedImage
47
+ property :hasRelatedLocation
48
+ property :hasRelatedResource
49
+ property :hasSigning
50
+ property :hasSource
51
+ property :hasSubtitling
52
+ property :hasTargetAudience
53
+ property :hasTrack
54
+ property :isChapterOf
55
+ property :isCopyrightedBy
56
+ property :isLocationRelatedTo
57
+ property :isMemberOf
58
+ property :isProvidedBy
59
+ property :isRelatedTo
60
+ property :isSourceOf
61
+ property :isTargetAudienceOf
62
+ property :locationAltitude
63
+ property :locationLatitude
64
+ property :locationLongitude
65
+ property :locationName
66
+ property :locator
67
+ property :mainOriginalTitle
68
+ property :numberOfTracks
69
+ property :ratingScaleMax
70
+ property :ratingScaleMin
71
+ property :ratingValue
72
+ property :recordDate
73
+ property :releaseDate
74
+ property :samplingRate
75
+ property :title
76
+ property :trackName
77
+ end
78
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.11.1
4
+ version: 1.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-12-26 00:00:00.000000000 Z
14
+ date: 2013-01-19 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: addressable
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ! '>='
22
22
  - !ruby/object:Gem::Version
23
- version: 2.2.6
23
+ version: '2.2'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,47 +28,47 @@ dependencies:
28
28
  requirements:
29
29
  - - ! '>='
30
30
  - !ruby/object:Gem::Version
31
- version: 2.2.6
31
+ version: '2.2'
32
32
  - !ruby/object:Gem::Dependency
33
- name: yard
33
+ name: rdf-spec
34
34
  requirement: !ruby/object:Gem::Requirement
35
35
  none: false
36
36
  requirements:
37
- - - ! '>='
37
+ - - ~>
38
38
  - !ruby/object:Gem::Version
39
- version: 0.8.3
39
+ version: '1.0'
40
40
  type: :development
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  none: false
44
44
  requirements:
45
- - - ! '>='
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: 0.8.3
47
+ version: '1.0'
48
48
  - !ruby/object:Gem::Dependency
49
- name: rdf-spec
49
+ name: rspec
50
50
  requirement: !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
- - - ~>
53
+ - - ! '>='
54
54
  - !ruby/object:Gem::Version
55
- version: 0.3.11
55
+ version: '2.12'
56
56
  type: :development
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
59
59
  none: false
60
60
  requirements:
61
- - - ~>
61
+ - - ! '>='
62
62
  - !ruby/object:Gem::Version
63
- version: 0.3.11
63
+ version: '2.12'
64
64
  - !ruby/object:Gem::Dependency
65
- name: rspec
65
+ name: yard
66
66
  requirement: !ruby/object:Gem::Requirement
67
67
  none: false
68
68
  requirements:
69
69
  - - ! '>='
70
70
  - !ruby/object:Gem::Version
71
- version: 2.12.0
71
+ version: '0.8'
72
72
  type: :development
73
73
  prerelease: false
74
74
  version_requirements: !ruby/object:Gem::Requirement
@@ -76,7 +76,7 @@ dependencies:
76
76
  requirements:
77
77
  - - ! '>='
78
78
  - !ruby/object:Gem::Version
79
- version: 2.12.0
79
+ version: '0.8'
80
80
  description: RDF.rb is a pure-Ruby library for working with Resource Description Framework
81
81
  (RDF) data.
82
82
  email: public-rdf-ruby@w3.org
@@ -153,6 +153,7 @@ files:
153
153
  - lib/rdf/vocab/foaf.rb
154
154
  - lib/rdf/vocab/geo.rb
155
155
  - lib/rdf/vocab/http.rb
156
+ - lib/rdf/vocab/ma.rb
156
157
  - lib/rdf/vocab/owl.rb
157
158
  - lib/rdf/vocab/rdfs.rb
158
159
  - lib/rdf/vocab/rsa.rb
@@ -165,7 +166,7 @@ files:
165
166
  - lib/rdf/vocab.rb
166
167
  - lib/rdf/writer.rb
167
168
  - lib/rdf.rb
168
- homepage: http://ruby-rdf.github.com/rdf
169
+ homepage: http://ruby-rdf.github.com/
169
170
  licenses:
170
171
  - Public Domain
171
172
  post_install_message: