rdf_context 0.5.10 → 0.5.11
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +2 -1
- data/History.rdoc +7 -0
- data/README.rdoc +14 -14
- data/Rakefile +7 -7
- data/VERSION +1 -1
- data/lib/rdf_context/graph.rb +19 -16
- data/lib/rdf_context/rdfaparser.rb +1 -1
- data/lib/rdf_context/store/abstract_sql_store.rb +12 -4
- data/lib/rdf_context/store/abstract_store.rb +6 -0
- data/lib/rdf_context/store/active_record_store.rb +5 -11
- data/lib/rdf_context/store/list_store.rb +5 -0
- data/lib/rdf_context/store/memory_store.rb +38 -18
- data/lib/rdf_context/store/sqlite3_store.rb +0 -7
- data/rdf_context.gemspec +11 -122
- data/spec/active_record_store_spec.rb +4 -0
- data/spec/graph_spec.rb +6 -2
- data/spec/matchers.rb +1 -1
- data/spec/rdfa_helper.rb +6 -17
- data/spec/spec_helper.rb +4 -9
- data/spec/sqlite3_store_spec.rb +2 -2
- data/spec/store_helper.rb +69 -15
- metadata +35 -122
- data/spec/rdfa-triples/0001.nt +0 -1
- data/spec/rdfa-triples/0006.nt +0 -2
- data/spec/rdfa-triples/0007.nt +0 -3
- data/spec/rdfa-triples/0008.nt +0 -1
- data/spec/rdfa-triples/0009.nt +0 -1
- data/spec/rdfa-triples/0010.nt +0 -2
- data/spec/rdfa-triples/0011.nt +0 -3
- data/spec/rdfa-triples/0012.nt +0 -1
- data/spec/rdfa-triples/0013.nt +0 -1
- data/spec/rdfa-triples/0014.nt +0 -1
- data/spec/rdfa-triples/0015.nt +0 -2
- data/spec/rdfa-triples/0017.nt +0 -3
- data/spec/rdfa-triples/0018.nt +0 -1
- data/spec/rdfa-triples/0019.nt +0 -1
- data/spec/rdfa-triples/0020.nt +0 -1
- data/spec/rdfa-triples/0021.nt +0 -1
- data/spec/rdfa-triples/0023.nt +0 -1
- data/spec/rdfa-triples/0025.nt +0 -2
- data/spec/rdfa-triples/0026.nt +0 -1
- data/spec/rdfa-triples/0027.nt +0 -1
- data/spec/rdfa-triples/0029.nt +0 -1
- data/spec/rdfa-triples/0030.nt +0 -1
- data/spec/rdfa-triples/0031.nt +0 -1
- data/spec/rdfa-triples/0032.nt +0 -1
- data/spec/rdfa-triples/0033.nt +0 -2
- data/spec/rdfa-triples/0034.nt +0 -1
- data/spec/rdfa-triples/0035.nt +0 -1
- data/spec/rdfa-triples/0036.nt +0 -1
- data/spec/rdfa-triples/0037.nt +0 -1
- data/spec/rdfa-triples/0038.nt +0 -1
- data/spec/rdfa-triples/0039.nt +0 -1
- data/spec/rdfa-triples/0040.nt +0 -1
- data/spec/rdfa-triples/0041.nt +0 -1
- data/spec/rdfa-triples/0042.nt +0 -0
- data/spec/rdfa-triples/0046.nt +0 -3
- data/spec/rdfa-triples/0047.nt +0 -3
- data/spec/rdfa-triples/0048.nt +0 -3
- data/spec/rdfa-triples/0049.nt +0 -2
- data/spec/rdfa-triples/0050.nt +0 -2
- data/spec/rdfa-triples/0051.nt +0 -2
- data/spec/rdfa-triples/0052.nt +0 -1
- data/spec/rdfa-triples/0053.nt +0 -2
- data/spec/rdfa-triples/0054.nt +0 -2
- data/spec/rdfa-triples/0055.nt +0 -2
- data/spec/rdfa-triples/0056.nt +0 -3
- data/spec/rdfa-triples/0057.nt +0 -4
- data/spec/rdfa-triples/0058.nt +0 -6
- data/spec/rdfa-triples/0059.nt +0 -6
- data/spec/rdfa-triples/0060.nt +0 -2
- data/spec/rdfa-triples/0061.nt +0 -1
- data/spec/rdfa-triples/0062.nt +0 -1
- data/spec/rdfa-triples/0063.nt +0 -1
- data/spec/rdfa-triples/0064.nt +0 -1
- data/spec/rdfa-triples/0065.nt +0 -3
- data/spec/rdfa-triples/0066.nt +0 -1
- data/spec/rdfa-triples/0067.nt +0 -1
- data/spec/rdfa-triples/0068.nt +0 -1
- data/spec/rdfa-triples/0069.nt +0 -1
- data/spec/rdfa-triples/0070.nt +0 -1
- data/spec/rdfa-triples/0071.nt +0 -1
- data/spec/rdfa-triples/0072.nt +0 -1
- data/spec/rdfa-triples/0073.nt +0 -1
- data/spec/rdfa-triples/0074.nt +0 -1
- data/spec/rdfa-triples/0075.nt +0 -1
- data/spec/rdfa-triples/0076.nt +0 -23
- data/spec/rdfa-triples/0077.nt +0 -23
- data/spec/rdfa-triples/0078.nt +0 -6
- data/spec/rdfa-triples/0079.nt +0 -3
- data/spec/rdfa-triples/0080.nt +0 -1
- data/spec/rdfa-triples/0081.nt +0 -6
- data/spec/rdfa-triples/0082.nt +0 -8
- data/spec/rdfa-triples/0083.nt +0 -6
- data/spec/rdfa-triples/0084.nt +0 -8
- data/spec/rdfa-triples/0085.nt +0 -4
- data/spec/rdfa-triples/0086.nt +0 -0
- data/spec/rdfa-triples/0087.nt +0 -23
- data/spec/rdfa-triples/0088.nt +0 -3
- data/spec/rdfa-triples/0089.nt +0 -1
- data/spec/rdfa-triples/0090.nt +0 -1
- data/spec/rdfa-triples/0091.nt +0 -3
- data/spec/rdfa-triples/0092.nt +0 -3
- data/spec/rdfa-triples/0093.nt +0 -2
- data/spec/rdfa-triples/0094.nt +0 -3
- data/spec/rdfa-triples/0099.nt +0 -1
- data/spec/rdfa-triples/0100.nt +0 -3
- data/spec/rdfa-triples/0101.nt +0 -3
- data/spec/rdfa-triples/0102.nt +0 -1
- data/spec/rdfa-triples/0103.nt +0 -1
- data/spec/rdfa-triples/0104.nt +0 -3
- data/spec/rdfa-triples/0105.nt +0 -1
- data/spec/rdfa-triples/0106.nt +0 -1
- data/spec/rdfa-triples/0107.nt +0 -0
- data/spec/rdfa-triples/0108.nt +0 -1
- data/spec/rdfa-triples/0109.nt +0 -1
- data/spec/rdfa-triples/0110.nt +0 -1
- data/spec/rdfa-triples/0111.nt +0 -2
- data/spec/rdfa-triples/0112.nt +0 -1
- data/spec/rdfa-triples/0113.nt +0 -2
- data/spec/rdfa-triples/0114.nt +0 -3
- data/spec/rdfa-triples/0115.nt +0 -4
- data/spec/rdfa-triples/0116.nt +0 -2
- data/spec/rdfa-triples/0117.nt +0 -2
- data/spec/rdfa-triples/0118.nt +0 -1
- data/spec/rdfa-triples/0119.nt +0 -1
- data/spec/rdfa-triples/0120.nt +0 -1
- data/spec/rdfa-triples/0121.nt +0 -2
- data/spec/rdfa-triples/0122.nt +0 -1
- data/spec/rdfa-triples/0123.nt +0 -3
- data/spec/rdfa-triples/0124.nt +0 -4
- data/spec/rdfa-triples/0125.nt +0 -1
- data/spec/rdfa-triples/0126.nt +0 -3
- data/spec/rdfa-triples/1001.nt +0 -6
@@ -1,7 +1,11 @@
|
|
1
1
|
$:.unshift "."
|
2
|
+
gem "activerecord", "~> 2.3.8"
|
3
|
+
require 'active_record'
|
4
|
+
|
2
5
|
require File.join(File.dirname(__FILE__), 'spec_helper')
|
3
6
|
require File.join(File.dirname(__FILE__), 'store_helper')
|
4
7
|
|
8
|
+
|
5
9
|
describe ActiveRecordStore do
|
6
10
|
before(:all) do
|
7
11
|
FileUtils.rm_rf(TMP_DIR)
|
data/spec/graph_spec.rb
CHANGED
@@ -262,7 +262,9 @@ HERE
|
|
262
262
|
end
|
263
263
|
|
264
264
|
it "should return unique subjects" do
|
265
|
-
subject.subjects.should ==
|
265
|
+
subject.subjects.length.should == 2
|
266
|
+
subject.subjects.should include(@ex.john.uri.to_s)
|
267
|
+
subject.subjects.should include(@ex.jane.uri.to_s)
|
266
268
|
end
|
267
269
|
|
268
270
|
it "should return unique predicates" do
|
@@ -270,7 +272,9 @@ HERE
|
|
270
272
|
end
|
271
273
|
|
272
274
|
it "should return unique objects" do
|
273
|
-
subject.objects.should ==
|
275
|
+
subject.objects.length.should == 2
|
276
|
+
subject.objects.should include(@ex.jane.uri.to_s)
|
277
|
+
subject.objects.should include(@ex.rick.uri.to_s)
|
274
278
|
end
|
275
279
|
|
276
280
|
it "should allow you to select resources" do
|
data/spec/matchers.rb
CHANGED
data/spec/rdfa_helper.rb
CHANGED
@@ -2,7 +2,6 @@ autoload :YAML, "yaml"
|
|
2
2
|
autoload :CGI, 'cgi'
|
3
3
|
|
4
4
|
RDFA_DIR = File.join(File.dirname(__FILE__), 'rdfa-test-suite')
|
5
|
-
RDFA_NT_DIR = File.join(File.dirname(__FILE__), 'rdfa-triples')
|
6
5
|
RDFA_MANIFEST_URL = "http://rdfa.digitalbazaar.com/test-suite/"
|
7
6
|
RDFA_TEST_CASE_URL = "#{RDFA_MANIFEST_URL}test-cases/"
|
8
7
|
|
@@ -138,16 +137,6 @@ module RdfaHelper
|
|
138
137
|
end
|
139
138
|
end
|
140
139
|
|
141
|
-
def triples
|
142
|
-
f = self.name + ".nt"
|
143
|
-
body = File.read(File.join(RDFA_NT_DIR, f)).gsub(TCPATHRE, tcpath)
|
144
|
-
case suite
|
145
|
-
when /xhtml/ then body
|
146
|
-
when /svg/ then body.gsub(HTMLRE, '\1.svg')
|
147
|
-
else body.gsub(HTMLRE, '\1.html')
|
148
|
-
end
|
149
|
-
end
|
150
|
-
|
151
140
|
def inputDocument; self.name + ".txt"; end
|
152
141
|
def outputDocument; self.name + ".sparql"; end
|
153
142
|
|
@@ -165,12 +154,7 @@ module RdfaHelper
|
|
165
154
|
|
166
155
|
query_string = results
|
167
156
|
|
168
|
-
|
169
|
-
|
170
|
-
if (query_string.match(/UNION|OPTIONAL/) || title.match(/XML/)) && triples
|
171
|
-
# Check triples, as Rasql doesn't implement UNION
|
172
|
-
@parser.graph.should be_equivalent_graph(triples, self)
|
173
|
-
elsif $redland_enabled
|
157
|
+
if $redland_enabled
|
174
158
|
# Run SPARQL query
|
175
159
|
@parser.graph.should pass_query(query_string, self)
|
176
160
|
else
|
@@ -246,7 +230,12 @@ end
|
|
246
230
|
module OpenURI
|
247
231
|
#alias_method :open_uri_orig, :open_uri
|
248
232
|
def self.open_uri(uri)
|
233
|
+
uri = Addressable::URI.parse(uri).normalize.to_s
|
249
234
|
case uri
|
235
|
+
when %r(http://rdfa.digitalbazaar.com/test-suite/profiles/(.*)$)
|
236
|
+
file = File.join(File.expand_path(File.dirname(__FILE__)), 'rdfa-test-suite', 'profiles', $1)
|
237
|
+
#puts "file: #{file}"
|
238
|
+
File.open(file)
|
250
239
|
when %r(http://rdfa.digitalbazaar.com/test-suite/test-cases/\w+)
|
251
240
|
file = uri.to_s.sub(%r(http://rdfa.digitalbazaar.com/test-suite/test-cases/\w+),
|
252
241
|
File.join(File.expand_path(File.dirname(__FILE__)), 'rdfa-test-suite', 'tests'))
|
data/spec/spec_helper.rb
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
# coding: utf-8
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
require 'rubygems' unless ENV['NO_RUBYGEMS']
|
7
|
-
require 'rspec'
|
8
|
-
gem 'activesupport'
|
9
|
-
require 'active_support'
|
10
|
-
end
|
2
|
+
require 'rubygems' unless ENV['NO_RUBYGEMS']
|
3
|
+
require 'rspec'
|
4
|
+
gem 'activesupport', "~> 2.3.8"
|
5
|
+
require 'active_support'
|
11
6
|
|
12
7
|
begin
|
13
8
|
require 'rdf/redland'
|
data/spec/sqlite3_store_spec.rb
CHANGED
@@ -26,9 +26,9 @@ describe SQLite3Store do
|
|
26
26
|
it_should_behave_like "Store"
|
27
27
|
it_should_behave_like "Context Aware Store"
|
28
28
|
|
29
|
-
it "should destroy DB file" do
|
29
|
+
it "should not destroy DB file" do
|
30
30
|
subject.destroy
|
31
|
-
File.exists?(@dbfile).should
|
31
|
+
File.exists?(@dbfile).should be_true
|
32
32
|
end
|
33
33
|
|
34
34
|
it "should close db" do
|
data/spec/store_helper.rb
CHANGED
@@ -9,24 +9,21 @@ shared_examples_for "Store" do
|
|
9
9
|
subject.should be_a(AbstractStore)
|
10
10
|
end
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
12
|
+
describe "#add" do
|
13
|
+
it "adds URIRefs" do
|
14
|
+
subject.add(Triple.new(@ex.a, @ex.b, @ex.c), nil)
|
15
|
+
subject.add(Triple.new(@ex.a, @ex.b, @ex.d), nil)
|
16
|
+
subject.size.should == 2
|
17
|
+
end
|
17
18
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
19
|
+
it "adds BNodes" do
|
20
|
+
subject.add(Triple.new(BNode.new, @ex.b, @ex.c), nil)
|
21
|
+
subject.add(Triple.new(@ex.a, BNode.new, @ex.c), nil)
|
22
|
+
subject.add(Triple.new(@ex.a, @ex.b, BNode.new), nil)
|
23
|
+
subject.size.should == 3
|
24
|
+
end
|
23
25
|
end
|
24
26
|
|
25
|
-
it "should allow you to create and bind Namespace objects" do
|
26
|
-
foaf = Namespace.new("http://xmlns.com/foaf/0.1/", "foaf")
|
27
|
-
subject.bind(foaf).should == foaf
|
28
|
-
end
|
29
|
-
|
30
27
|
it "should retrieve identifier" do
|
31
28
|
subject.identifier.should == @identifier
|
32
29
|
end
|
@@ -36,6 +33,11 @@ shared_examples_for "Store" do
|
|
36
33
|
subject.bind(@ex)
|
37
34
|
end
|
38
35
|
|
36
|
+
it "should allow you to create and bind Namespace objects" do
|
37
|
+
foaf = Namespace.new("http://xmlns.com/foaf/0.1/", "foaf")
|
38
|
+
subject.bind(foaf).should == foaf
|
39
|
+
end
|
40
|
+
|
39
41
|
it "should return namespace by prefix" do
|
40
42
|
subject.namespace(@ex.prefix).should == @ex
|
41
43
|
end
|
@@ -139,6 +141,11 @@ shared_examples_for "Store" do
|
|
139
141
|
t = subject.item(0)
|
140
142
|
subject.contains?(t).should be_true
|
141
143
|
end
|
144
|
+
|
145
|
+
it "destroys triples" do
|
146
|
+
subject.destroy
|
147
|
+
subject.size.should == 0
|
148
|
+
end
|
142
149
|
end
|
143
150
|
|
144
151
|
describe "with typed triples" do
|
@@ -266,8 +273,40 @@ shared_examples_for "Context Aware Store" do
|
|
266
273
|
found += 1
|
267
274
|
end
|
268
275
|
found.should == 1
|
276
|
+
subject.contexts.length.should == 1
|
277
|
+
subject.contexts.should include(@ctx2)
|
269
278
|
end
|
270
279
|
|
280
|
+
it "should destroy from specific context" do
|
281
|
+
subject.add(@triple, @ctx1)
|
282
|
+
subject.add(@triple, @ctx2)
|
283
|
+
subject.destroy(:context => @ctx1)
|
284
|
+
subject.triples(@triple, @ctx1).length.should == 0
|
285
|
+
subject.triples(@triple, @ctx2).length.should == 1
|
286
|
+
found = 0
|
287
|
+
subject.triples(@triple, nil) do |triple, context|
|
288
|
+
found += 1
|
289
|
+
end
|
290
|
+
found.should == 1
|
291
|
+
subject.contexts.length.should == 1
|
292
|
+
subject.contexts.should include(@ctx2)
|
293
|
+
end
|
294
|
+
|
295
|
+
it "should remove context when graph destroyed" do
|
296
|
+
subject.add(@triple, @ctx1)
|
297
|
+
subject.add(@triple, @ctx2)
|
298
|
+
@ctx1.destroy
|
299
|
+
subject.triples(@triple, @ctx1).length.should == 0
|
300
|
+
subject.triples(@triple, @ctx2).length.should == 1
|
301
|
+
found = 0
|
302
|
+
subject.triples(@triple, nil) do |triple, context|
|
303
|
+
found += 1
|
304
|
+
end
|
305
|
+
found.should == 1
|
306
|
+
subject.contexts.length.should == 1
|
307
|
+
subject.contexts.should include(@ctx2)
|
308
|
+
end
|
309
|
+
|
271
310
|
it "should remove from multiple contexts" do
|
272
311
|
subject.add(@triple, @ctx1)
|
273
312
|
subject.add(@triple, @ctx2)
|
@@ -279,6 +318,7 @@ shared_examples_for "Context Aware Store" do
|
|
279
318
|
found += 1
|
280
319
|
end
|
281
320
|
found.should == 0
|
321
|
+
subject.contexts.length.should == 0
|
282
322
|
end
|
283
323
|
|
284
324
|
it "should remove context" do
|
@@ -293,5 +333,19 @@ shared_examples_for "Context Aware Store" do
|
|
293
333
|
subject.triples(@triple, @ctx2).length.should == 0
|
294
334
|
end
|
295
335
|
|
336
|
+
it "should return new context after equivalent context destroyed" do
|
337
|
+
ctx1 = Graph.new(:identifier => URIRef.new("http://new1.ctx"), :store => subject)
|
338
|
+
subject.add(@triple, ctx1)
|
339
|
+
subject.contexts.length.should == 1
|
340
|
+
subject.contexts.should include(ctx1)
|
341
|
+
|
342
|
+
ctx1.destroy
|
343
|
+
subject.contexts.should be_empty
|
344
|
+
|
345
|
+
ctx1 = Graph.new(:identifier => URIRef.new("http://new1.ctx"), :store => subject)
|
346
|
+
subject.add(@triple, ctx1)
|
347
|
+
subject.contexts.length.should == 1
|
348
|
+
subject.contexts.should include(ctx1)
|
349
|
+
end
|
296
350
|
end
|
297
351
|
end
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf_context
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 5
|
8
|
-
-
|
9
|
-
version: 0.5.
|
9
|
+
- 11
|
10
|
+
version: 0.5.11
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Gregg Kellogg
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date:
|
18
|
+
date: 2011-01-07 00:00:00 -08:00
|
18
19
|
default_executable: rdf_context
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
@@ -25,6 +26,7 @@ dependencies:
|
|
25
26
|
requirements:
|
26
27
|
- - ">="
|
27
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 7
|
28
30
|
segments:
|
29
31
|
- 2
|
30
32
|
- 2
|
@@ -40,6 +42,7 @@ dependencies:
|
|
40
42
|
requirements:
|
41
43
|
- - ">="
|
42
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 7
|
43
46
|
segments:
|
44
47
|
- 1
|
45
48
|
- 4
|
@@ -55,6 +58,7 @@ dependencies:
|
|
55
58
|
requirements:
|
56
59
|
- - ">="
|
57
60
|
- !ruby/object:Gem::Version
|
61
|
+
hash: 1
|
58
62
|
segments:
|
59
63
|
- 1
|
60
64
|
- 4
|
@@ -70,6 +74,7 @@ dependencies:
|
|
70
74
|
requirements:
|
71
75
|
- - ">="
|
72
76
|
- !ruby/object:Gem::Version
|
77
|
+
hash: 15
|
73
78
|
segments:
|
74
79
|
- 2
|
75
80
|
- 1
|
@@ -85,6 +90,7 @@ dependencies:
|
|
85
90
|
requirements:
|
86
91
|
- - ">="
|
87
92
|
- !ruby/object:Gem::Version
|
93
|
+
hash: 11
|
88
94
|
segments:
|
89
95
|
- 2
|
90
96
|
- 1
|
@@ -98,29 +104,47 @@ dependencies:
|
|
98
104
|
requirement: &id006 !ruby/object:Gem::Requirement
|
99
105
|
none: false
|
100
106
|
requirements:
|
101
|
-
- -
|
107
|
+
- - ~>
|
102
108
|
- !ruby/object:Gem::Version
|
109
|
+
hash: 19
|
103
110
|
segments:
|
104
111
|
- 2
|
105
112
|
- 3
|
106
|
-
-
|
107
|
-
version: 2.3.
|
113
|
+
- 8
|
114
|
+
version: 2.3.8
|
108
115
|
type: :development
|
109
116
|
version_requirements: *id006
|
110
117
|
- !ruby/object:Gem::Dependency
|
111
|
-
name:
|
118
|
+
name: activerecord
|
112
119
|
prerelease: false
|
113
120
|
requirement: &id007 !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
hash: 19
|
126
|
+
segments:
|
127
|
+
- 2
|
128
|
+
- 3
|
129
|
+
- 8
|
130
|
+
version: 2.3.8
|
131
|
+
type: :development
|
132
|
+
version_requirements: *id007
|
133
|
+
- !ruby/object:Gem::Dependency
|
134
|
+
name: yard
|
135
|
+
prerelease: false
|
136
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
114
137
|
none: false
|
115
138
|
requirements:
|
116
139
|
- - ">="
|
117
140
|
- !ruby/object:Gem::Version
|
141
|
+
hash: 3
|
118
142
|
segments:
|
119
143
|
- 0
|
120
144
|
version: "0"
|
121
145
|
type: :development
|
122
|
-
version_requirements: *
|
123
|
-
description: " RdfContext parses RDF/XML, RDFa and N3
|
146
|
+
version_requirements: *id008
|
147
|
+
description: " RdfContext parses RDF/XML, RDFa and N3 into a Graph object. It also serializes RDF/XML, Turtle and N-Triples from the Graph.\n\n * Fully compliant RDF/XML parser.\n * Fully compliant XHTML/RDFa 1.0 parser.\n * Notation3 parser (N3-rdf level)\n * N-Triples, Turtle and RDF/XML serializer\n * ConjunctiveGraph, named Graphs and contextual storage modules.\n \n Install with 'gem install rdf_context'\n"
|
124
148
|
email: gregg@kellogg-assoc.com
|
125
149
|
executables:
|
126
150
|
- rdf_context
|
@@ -131,7 +155,6 @@ extra_rdoc_files:
|
|
131
155
|
files:
|
132
156
|
- .autotest
|
133
157
|
- .gitignore
|
134
|
-
- .yardoc
|
135
158
|
- .yardopts
|
136
159
|
- History.rdoc
|
137
160
|
- README.rdoc
|
@@ -192,118 +215,6 @@ files:
|
|
192
215
|
- spec/parser_spec.rb
|
193
216
|
- spec/quoted_graph_spec.rb
|
194
217
|
- spec/rdf_helper.rb
|
195
|
-
- spec/rdfa-triples/0001.nt
|
196
|
-
- spec/rdfa-triples/0006.nt
|
197
|
-
- spec/rdfa-triples/0007.nt
|
198
|
-
- spec/rdfa-triples/0008.nt
|
199
|
-
- spec/rdfa-triples/0009.nt
|
200
|
-
- spec/rdfa-triples/0010.nt
|
201
|
-
- spec/rdfa-triples/0011.nt
|
202
|
-
- spec/rdfa-triples/0012.nt
|
203
|
-
- spec/rdfa-triples/0013.nt
|
204
|
-
- spec/rdfa-triples/0014.nt
|
205
|
-
- spec/rdfa-triples/0015.nt
|
206
|
-
- spec/rdfa-triples/0017.nt
|
207
|
-
- spec/rdfa-triples/0018.nt
|
208
|
-
- spec/rdfa-triples/0019.nt
|
209
|
-
- spec/rdfa-triples/0020.nt
|
210
|
-
- spec/rdfa-triples/0021.nt
|
211
|
-
- spec/rdfa-triples/0023.nt
|
212
|
-
- spec/rdfa-triples/0025.nt
|
213
|
-
- spec/rdfa-triples/0026.nt
|
214
|
-
- spec/rdfa-triples/0027.nt
|
215
|
-
- spec/rdfa-triples/0029.nt
|
216
|
-
- spec/rdfa-triples/0030.nt
|
217
|
-
- spec/rdfa-triples/0031.nt
|
218
|
-
- spec/rdfa-triples/0032.nt
|
219
|
-
- spec/rdfa-triples/0033.nt
|
220
|
-
- spec/rdfa-triples/0034.nt
|
221
|
-
- spec/rdfa-triples/0035.nt
|
222
|
-
- spec/rdfa-triples/0036.nt
|
223
|
-
- spec/rdfa-triples/0037.nt
|
224
|
-
- spec/rdfa-triples/0038.nt
|
225
|
-
- spec/rdfa-triples/0039.nt
|
226
|
-
- spec/rdfa-triples/0040.nt
|
227
|
-
- spec/rdfa-triples/0041.nt
|
228
|
-
- spec/rdfa-triples/0042.nt
|
229
|
-
- spec/rdfa-triples/0046.nt
|
230
|
-
- spec/rdfa-triples/0047.nt
|
231
|
-
- spec/rdfa-triples/0048.nt
|
232
|
-
- spec/rdfa-triples/0049.nt
|
233
|
-
- spec/rdfa-triples/0050.nt
|
234
|
-
- spec/rdfa-triples/0051.nt
|
235
|
-
- spec/rdfa-triples/0052.nt
|
236
|
-
- spec/rdfa-triples/0053.nt
|
237
|
-
- spec/rdfa-triples/0054.nt
|
238
|
-
- spec/rdfa-triples/0055.nt
|
239
|
-
- spec/rdfa-triples/0056.nt
|
240
|
-
- spec/rdfa-triples/0057.nt
|
241
|
-
- spec/rdfa-triples/0058.nt
|
242
|
-
- spec/rdfa-triples/0059.nt
|
243
|
-
- spec/rdfa-triples/0060.nt
|
244
|
-
- spec/rdfa-triples/0061.nt
|
245
|
-
- spec/rdfa-triples/0062.nt
|
246
|
-
- spec/rdfa-triples/0063.nt
|
247
|
-
- spec/rdfa-triples/0064.nt
|
248
|
-
- spec/rdfa-triples/0065.nt
|
249
|
-
- spec/rdfa-triples/0066.nt
|
250
|
-
- spec/rdfa-triples/0067.nt
|
251
|
-
- spec/rdfa-triples/0068.nt
|
252
|
-
- spec/rdfa-triples/0069.nt
|
253
|
-
- spec/rdfa-triples/0070.nt
|
254
|
-
- spec/rdfa-triples/0071.nt
|
255
|
-
- spec/rdfa-triples/0072.nt
|
256
|
-
- spec/rdfa-triples/0073.nt
|
257
|
-
- spec/rdfa-triples/0074.nt
|
258
|
-
- spec/rdfa-triples/0075.nt
|
259
|
-
- spec/rdfa-triples/0076.nt
|
260
|
-
- spec/rdfa-triples/0077.nt
|
261
|
-
- spec/rdfa-triples/0078.nt
|
262
|
-
- spec/rdfa-triples/0079.nt
|
263
|
-
- spec/rdfa-triples/0080.nt
|
264
|
-
- spec/rdfa-triples/0081.nt
|
265
|
-
- spec/rdfa-triples/0082.nt
|
266
|
-
- spec/rdfa-triples/0083.nt
|
267
|
-
- spec/rdfa-triples/0084.nt
|
268
|
-
- spec/rdfa-triples/0085.nt
|
269
|
-
- spec/rdfa-triples/0086.nt
|
270
|
-
- spec/rdfa-triples/0087.nt
|
271
|
-
- spec/rdfa-triples/0088.nt
|
272
|
-
- spec/rdfa-triples/0089.nt
|
273
|
-
- spec/rdfa-triples/0090.nt
|
274
|
-
- spec/rdfa-triples/0091.nt
|
275
|
-
- spec/rdfa-triples/0092.nt
|
276
|
-
- spec/rdfa-triples/0093.nt
|
277
|
-
- spec/rdfa-triples/0094.nt
|
278
|
-
- spec/rdfa-triples/0099.nt
|
279
|
-
- spec/rdfa-triples/0100.nt
|
280
|
-
- spec/rdfa-triples/0101.nt
|
281
|
-
- spec/rdfa-triples/0102.nt
|
282
|
-
- spec/rdfa-triples/0103.nt
|
283
|
-
- spec/rdfa-triples/0104.nt
|
284
|
-
- spec/rdfa-triples/0105.nt
|
285
|
-
- spec/rdfa-triples/0106.nt
|
286
|
-
- spec/rdfa-triples/0107.nt
|
287
|
-
- spec/rdfa-triples/0108.nt
|
288
|
-
- spec/rdfa-triples/0109.nt
|
289
|
-
- spec/rdfa-triples/0110.nt
|
290
|
-
- spec/rdfa-triples/0111.nt
|
291
|
-
- spec/rdfa-triples/0112.nt
|
292
|
-
- spec/rdfa-triples/0113.nt
|
293
|
-
- spec/rdfa-triples/0114.nt
|
294
|
-
- spec/rdfa-triples/0115.nt
|
295
|
-
- spec/rdfa-triples/0116.nt
|
296
|
-
- spec/rdfa-triples/0117.nt
|
297
|
-
- spec/rdfa-triples/0118.nt
|
298
|
-
- spec/rdfa-triples/0119.nt
|
299
|
-
- spec/rdfa-triples/0120.nt
|
300
|
-
- spec/rdfa-triples/0121.nt
|
301
|
-
- spec/rdfa-triples/0122.nt
|
302
|
-
- spec/rdfa-triples/0123.nt
|
303
|
-
- spec/rdfa-triples/0124.nt
|
304
|
-
- spec/rdfa-triples/0125.nt
|
305
|
-
- spec/rdfa-triples/0126.nt
|
306
|
-
- spec/rdfa-triples/1001.nt
|
307
218
|
- spec/rdfa_helper.rb
|
308
219
|
- spec/rdfa_parser_spec.rb
|
309
220
|
- spec/rdfcore/.gitignore
|
@@ -914,6 +825,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
914
825
|
requirements:
|
915
826
|
- - ">="
|
916
827
|
- !ruby/object:Gem::Version
|
828
|
+
hash: 3
|
917
829
|
segments:
|
918
830
|
- 0
|
919
831
|
version: "0"
|
@@ -922,6 +834,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
922
834
|
requirements:
|
923
835
|
- - ">="
|
924
836
|
- !ruby/object:Gem::Version
|
837
|
+
hash: 3
|
925
838
|
segments:
|
926
839
|
- 0
|
927
840
|
version: "0"
|