rdf 0.1.10 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CONTRIBUTORS +3 -0
- data/README +68 -34
- data/VERSION +1 -1
- data/etc/doap.nt +16 -0
- data/lib/rdf.rb +24 -18
- data/lib/rdf/format.rb +47 -22
- data/lib/rdf/mixin/countable.rb +42 -0
- data/lib/rdf/mixin/durable.rb +2 -0
- data/lib/rdf/mixin/enumerable.rb +72 -50
- data/lib/rdf/mixin/inferable.rb +2 -3
- data/lib/rdf/mixin/mutable.rb +51 -107
- data/lib/rdf/mixin/queryable.rb +43 -11
- data/lib/rdf/mixin/readable.rb +2 -0
- data/lib/rdf/mixin/writable.rb +130 -0
- data/lib/rdf/model/graph.rb +47 -14
- data/lib/rdf/model/literal.rb +12 -2
- data/lib/rdf/model/node.rb +51 -2
- data/lib/rdf/model/resource.rb +7 -10
- data/lib/rdf/model/statement.rb +59 -41
- data/lib/rdf/model/uri.rb +68 -8
- data/lib/rdf/model/value.rb +26 -31
- data/lib/rdf/ntriples/reader.rb +7 -6
- data/lib/rdf/ntriples/writer.rb +90 -0
- data/lib/rdf/query.rb +6 -6
- data/lib/rdf/query/pattern.rb +13 -15
- data/lib/rdf/query/solution.rb +1 -1
- data/lib/rdf/query/variable.rb +3 -1
- data/lib/rdf/reader.rb +2 -1
- data/lib/rdf/repository.rb +97 -47
- data/lib/rdf/util.rb +4 -0
- data/lib/rdf/util/aliasing.rb +51 -0
- data/lib/rdf/util/cache.rb +131 -0
- data/lib/rdf/version.rb +3 -4
- data/lib/rdf/vocab.rb +11 -10
- data/lib/rdf/vocab/cert.rb +13 -0
- data/lib/rdf/vocab/geo.rb +13 -0
- data/lib/rdf/vocab/rsa.rb +12 -0
- data/lib/rdf/writer.rb +102 -109
- metadata +23 -15
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 0.
|
7
|
+
- 2
|
8
|
+
- 0
|
9
|
+
version: 0.2.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Arto Bendiken
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-06-17 00:00:00 +02:00
|
19
19
|
default_executable: rdf
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -23,13 +23,13 @@ dependencies:
|
|
23
23
|
prerelease: false
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ~>
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
segments:
|
29
29
|
- 0
|
30
|
-
-
|
31
|
-
-
|
32
|
-
version: 0.
|
30
|
+
- 2
|
31
|
+
- 0
|
32
|
+
version: 0.2.0
|
33
33
|
type: :development
|
34
34
|
version_requirements: *id001
|
35
35
|
- !ruby/object:Gem::Dependency
|
@@ -56,8 +56,8 @@ dependencies:
|
|
56
56
|
segments:
|
57
57
|
- 0
|
58
58
|
- 5
|
59
|
-
-
|
60
|
-
version: 0.5.
|
59
|
+
- 6
|
60
|
+
version: 0.5.6
|
61
61
|
type: :development
|
62
62
|
version_requirements: *id003
|
63
63
|
- !ruby/object:Gem::Dependency
|
@@ -65,13 +65,13 @@ dependencies:
|
|
65
65
|
prerelease: false
|
66
66
|
requirement: &id004 !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- -
|
68
|
+
- - ~>
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
segments:
|
71
71
|
- 2
|
72
72
|
- 1
|
73
|
-
-
|
74
|
-
version: 2.1.
|
73
|
+
- 2
|
74
|
+
version: 2.1.2
|
75
75
|
type: :runtime
|
76
76
|
version_requirements: *id004
|
77
77
|
description: RDF.rb is a pure-Ruby library for working with Resource Description Framework (RDF) data.
|
@@ -84,6 +84,7 @@ extra_rdoc_files: []
|
|
84
84
|
|
85
85
|
files:
|
86
86
|
- AUTHORS
|
87
|
+
- CONTRIBUTORS
|
87
88
|
- README
|
88
89
|
- UNLICENSE
|
89
90
|
- VERSION
|
@@ -92,6 +93,7 @@ files:
|
|
92
93
|
- lib/df.rb
|
93
94
|
- lib/rdf/cli.rb
|
94
95
|
- lib/rdf/format.rb
|
96
|
+
- lib/rdf/mixin/countable.rb
|
95
97
|
- lib/rdf/mixin/durable.rb
|
96
98
|
- lib/rdf/mixin/enumerable.rb
|
97
99
|
- lib/rdf/mixin/inferable.rb
|
@@ -117,17 +119,23 @@ files:
|
|
117
119
|
- lib/rdf/query.rb
|
118
120
|
- lib/rdf/reader.rb
|
119
121
|
- lib/rdf/repository.rb
|
122
|
+
- lib/rdf/util/aliasing.rb
|
123
|
+
- lib/rdf/util/cache.rb
|
124
|
+
- lib/rdf/util.rb
|
120
125
|
- lib/rdf/version.rb
|
121
126
|
- lib/rdf/vocab/cc.rb
|
127
|
+
- lib/rdf/vocab/cert.rb
|
122
128
|
- lib/rdf/vocab/dc.rb
|
123
129
|
- lib/rdf/vocab/dc11.rb
|
124
130
|
- lib/rdf/vocab/doap.rb
|
125
131
|
- lib/rdf/vocab/exif.rb
|
126
132
|
- lib/rdf/vocab/foaf.rb
|
133
|
+
- lib/rdf/vocab/geo.rb
|
127
134
|
- lib/rdf/vocab/http.rb
|
128
135
|
- lib/rdf/vocab/owl.rb
|
129
136
|
- lib/rdf/vocab/rdf.rb
|
130
137
|
- lib/rdf/vocab/rdfs.rb
|
138
|
+
- lib/rdf/vocab/rsa.rb
|
131
139
|
- lib/rdf/vocab/rss.rb
|
132
140
|
- lib/rdf/vocab/sioc.rb
|
133
141
|
- lib/rdf/vocab/skos.rb
|
@@ -153,8 +161,8 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
153
161
|
segments:
|
154
162
|
- 1
|
155
163
|
- 8
|
156
|
-
-
|
157
|
-
version: 1.8.
|
164
|
+
- 1
|
165
|
+
version: 1.8.1
|
158
166
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
167
|
requirements:
|
160
168
|
- - ">="
|