rdf-rdfxml 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +1 -2
- data/History.rdoc +5 -0
- data/README.md +75 -0
- data/Rakefile +8 -8
- data/UNLICENSE +24 -0
- data/VERSION +1 -1
- data/lib/rdf/rdfxml/writer.rb +68 -78
- data/rdf-rdfxml.gemspec +426 -427
- data/script/parse +1 -1
- data/script/yard-to-rubyforge +2 -0
- data/spec/writer_spec.rb +33 -13
- metadata +16 -50
- data/.gitignore +0 -5
- data/README.rdoc +0 -77
data/.yardopts
CHANGED
data/History.rdoc
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
=== 0.3.1
|
2
|
+
* In writer
|
3
|
+
* fix bug where a serialized subject is output again, when it appears in a collection.
|
4
|
+
* Fix subject ordering.
|
5
|
+
|
1
6
|
=== 0.3.0
|
2
7
|
* RDF.rb 0.3.0 compatibility updates
|
3
8
|
* Remove literal_normalization and qname_hacks, add back uri_hacks (until 0.3.0)
|
data/README.md
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
# RDF::RDFXML reader/writer
|
2
|
+
|
3
|
+
RDF/XML parser for RDF.rb.
|
4
|
+
|
5
|
+
## DESCRIPTION
|
6
|
+
|
7
|
+
RDF::RDFXML is an RDF/XML reader/writer for Ruby using the RDF.rb library suite.
|
8
|
+
|
9
|
+
## FEATURES
|
10
|
+
RDF::RDFXML parses RDF/XML into statements or triples and serializes triples, statements or graphs.
|
11
|
+
|
12
|
+
Fully compliant RDF/XML parser and serializer.
|
13
|
+
|
14
|
+
Install with 'gem install rdf-rdfxml'
|
15
|
+
|
16
|
+
## Usage:
|
17
|
+
Instantiate a parser and parse source, specifying type and base-URL
|
18
|
+
|
19
|
+
RDF::RDFXML::Reader.open("./etc/doap.xml") do |reader|
|
20
|
+
reader.each_statement do |statement|
|
21
|
+
puts statement.inspect
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
## Dependencies
|
26
|
+
* [RDF.rb](http://rubygems.org/gems/rdf) (>= 0.3.1)
|
27
|
+
* [Nokogiri](http://rubygems.org/gems/nokogiri) (>= 1.4.4)
|
28
|
+
|
29
|
+
## Documentation
|
30
|
+
Full documentation available on [RubyForge](http://rdf.rubyforge.org/rdfxml)
|
31
|
+
|
32
|
+
### Principle Classes
|
33
|
+
* {RDF::RDFXML}
|
34
|
+
* {RDF::RDFXML::Format}
|
35
|
+
* {RDF::RDFXML::Reader}
|
36
|
+
* {RDF::RDFXML::Writer}
|
37
|
+
|
38
|
+
### Additional vocabularies
|
39
|
+
* {RDF::XML}
|
40
|
+
|
41
|
+
### Patches
|
42
|
+
* {Array}
|
43
|
+
* {RDF::Graph}
|
44
|
+
* {RDF::Literal::XML}
|
45
|
+
* {Nokogiri::XML::Node}
|
46
|
+
|
47
|
+
## TODO
|
48
|
+
* Add support for LibXML and REXML bindings, and use the best available
|
49
|
+
* Consider a SAX-based parser for improved performance
|
50
|
+
|
51
|
+
## Resources
|
52
|
+
* [RDF.rb](http://rdf.rubyforge.org/)
|
53
|
+
* [Distiller](http://distiller.kellogg-assoc)
|
54
|
+
* [Documentation](http://rdf.rubyforge.org/rdfa)
|
55
|
+
* [History](file:file.History.html)
|
56
|
+
* [XHTML+RDFXML 1.1 Core](http://www.w3.org/TR/2010/WD-xhtml-rdfa-20100422/)
|
57
|
+
* [RDF Tests](http://www.w3.org/2000/10/rdf-tests/rdfcore/allTestCases.html)
|
58
|
+
|
59
|
+
## AUTHOR
|
60
|
+
* [Gregg Kellogg](http://github.com/gkellogg) - <http://kellogg-assoc.com/>
|
61
|
+
|
62
|
+
## CONTRIBUTORS
|
63
|
+
* [Nicholas Humfrey](http://github.com/njh)
|
64
|
+
|
65
|
+
## License
|
66
|
+
|
67
|
+
This is free and unencumbered public domain software. For more information,
|
68
|
+
see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
69
|
+
|
70
|
+
## FEEDBACK
|
71
|
+
|
72
|
+
* gregg@kellogg-assoc.com
|
73
|
+
* <http://rubygems.org/rdf-rdfxml>
|
74
|
+
* <http://github.com/gkellogg/rdf-rdfxml>
|
75
|
+
* <http://lists.w3.org/Archives/Public/public-rdf-ruby/>
|
data/Rakefile
CHANGED
@@ -11,13 +11,13 @@ begin
|
|
11
11
|
gemspec.email = "gregg@kellogg-assoc.com"
|
12
12
|
gemspec.homepage = "http://github.com/gkellogg/rdf-rdfxml"
|
13
13
|
gemspec.authors = ["Gregg Kellogg"]
|
14
|
-
gemspec.add_dependency('rdf', '>= 0.3.
|
15
|
-
gemspec.add_dependency('nokogiri', '>= 1.
|
16
|
-
gemspec.add_development_dependency('rspec', '>= 2.
|
17
|
-
gemspec.add_development_dependency('rdf-spec')
|
18
|
-
gemspec.add_development_dependency('rdf-isomorphic')
|
19
|
-
gemspec.add_development_dependency('yard')
|
20
|
-
gemspec.extra_rdoc_files = %w(README.
|
14
|
+
gemspec.add_dependency('rdf', '>= 0.3.1')
|
15
|
+
gemspec.add_dependency('nokogiri', '>= 1.4.4')
|
16
|
+
gemspec.add_development_dependency('rspec', '>= 2.5.0')
|
17
|
+
gemspec.add_development_dependency('rdf-spec', '>= 0.3.1')
|
18
|
+
gemspec.add_development_dependency('rdf-isomorphic', '>= 0.3.4')
|
19
|
+
gemspec.add_development_dependency('yard', '>= 0.6.4')
|
20
|
+
gemspec.extra_rdoc_files = %w(README.md History.rdoc AUTHORS CONTRIBUTORS)
|
21
21
|
end
|
22
22
|
Jeweler::GemcutterTasks.new
|
23
23
|
rescue LoadError
|
@@ -39,7 +39,7 @@ RSpec::Core::RakeTask.new("doc:spec") do |spec|
|
|
39
39
|
end
|
40
40
|
|
41
41
|
YARD::Rake::YardocTask.new do |t|
|
42
|
-
t.files = %w(lib/**/*.rb README.
|
42
|
+
t.files = %w(lib/**/*.rb README.md History.txt AUTHORS CONTRIBUTORS) # optional
|
43
43
|
end
|
44
44
|
|
45
45
|
desc "Generate RDF Core Manifest.yml"
|
data/UNLICENSE
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
This is free and unencumbered software released into the public domain.
|
2
|
+
|
3
|
+
Anyone is free to copy, modify, publish, use, compile, sell, or
|
4
|
+
distribute this software, either in source code form or as a compiled
|
5
|
+
binary, for any purpose, commercial or non-commercial, and by any
|
6
|
+
means.
|
7
|
+
|
8
|
+
In jurisdictions that recognize copyright laws, the author or authors
|
9
|
+
of this software dedicate any and all copyright interest in the
|
10
|
+
software to the public domain. We make this dedication for the benefit
|
11
|
+
of the public at large and to the detriment of our heirs and
|
12
|
+
successors. We intend this dedication to be an overt act of
|
13
|
+
relinquishment in perpetuity of all present and future rights to this
|
14
|
+
software under copyright law.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
19
|
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
20
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
21
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
22
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
23
|
+
|
24
|
+
For more information, please refer to <http://unlicense.org/>
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/lib/rdf/rdfxml/writer.rb
CHANGED
@@ -225,9 +225,9 @@ module RDF::RDFXML
|
|
225
225
|
@base_uri ? uri.sub(@base_uri.to_s, "") : uri
|
226
226
|
end
|
227
227
|
|
228
|
-
# Defines rdf:type of subjects to be emitted at the beginning of the graph. Defaults to
|
228
|
+
# Defines rdf:type of subjects to be emitted at the beginning of the graph. Defaults to none
|
229
229
|
# @return [Array<URI>]
|
230
|
-
def top_classes; [
|
230
|
+
def top_classes; []; end
|
231
231
|
|
232
232
|
# Defines order of predicates to to emit at begninning of a resource description. Defaults to
|
233
233
|
# [rdf:type, rdfs:label, dc:title]
|
@@ -253,8 +253,8 @@ module RDF::RDFXML
|
|
253
253
|
# Sort subjects by resources over bnodes, ref_counts and the subject URI itself
|
254
254
|
recursable = @subjects.keys.
|
255
255
|
select {|s| !seen.include?(s)}.
|
256
|
-
map {|r| [r.is_a?(RDF::Node) ? 1 : 0
|
257
|
-
|
256
|
+
map {|r| [(r.is_a?(RDF::Node) ? 1 : 0) + ref_count(r), r]}.
|
257
|
+
sort_by {|l| l.first }
|
258
258
|
|
259
259
|
subjects += recursable.map{|r| r.last}
|
260
260
|
end
|
@@ -344,8 +344,8 @@ module RDF::RDFXML
|
|
344
344
|
add_debug "subject: #{subject.inspect}, force about"
|
345
345
|
node = Nokogiri::XML::Element.new("rdf:Description", parent_node.document)
|
346
346
|
node["rdf:about"] = relativize(subject)
|
347
|
-
@force_RDF_about.delete(subject)
|
348
347
|
end
|
348
|
+
@force_RDF_about.delete(subject)
|
349
349
|
|
350
350
|
parent_node.add_child(node) if node
|
351
351
|
end
|
@@ -354,95 +354,73 @@ module RDF::RDFXML
|
|
354
354
|
#
|
355
355
|
# If _is_unique_ is true, this predicate may be able to be serialized as an attribute
|
356
356
|
def predicate(prop, object, node, is_unique)
|
357
|
-
|
358
|
-
# * untyped attributes that aren't duplicated where xml:lang == @lang
|
359
|
-
# * typed attributes that aren't duplicated if @dt_as_attr is true
|
360
|
-
# * rdf:type
|
361
|
-
as_attr = false
|
362
|
-
as_attr = true if [:untyped, :typed].include?(@attributes) && prop == RDF.type
|
363
|
-
|
364
|
-
# Untyped attribute with no lang, or whos lang is the same as the default and RDF.type
|
365
|
-
add_debug("as_attr? #{@attributes}, plain? #{object.plain?}, lang #{@lang || 'nil'}:#{object.language || 'nil'}") if object.is_a?(RDF::Literal)
|
366
|
-
as_attr ||= true if [:untyped, :typed].include?(@attributes) &&
|
367
|
-
object.is_a?(RDF::Literal) && (object.plain? || (@lang && object.language.to_s == @lang.to_s))
|
357
|
+
as_attr = predicate_as_attribute?(prop, object) && is_unique
|
368
358
|
|
369
|
-
as_attr ||= true if [:typed].include?(@attributes) && object.is_a?(RDF::Literal) && object.typed?
|
370
|
-
|
371
|
-
as_attr = false unless is_unique
|
372
|
-
|
373
359
|
qname = get_qname_string(prop, :with_default => !as_attr)
|
374
360
|
raise RDF::WriterError, "No qname generated for <#{prop}>" unless qname
|
375
361
|
|
376
|
-
|
377
|
-
as_attr = false if as_attr && qname !~ /:/
|
378
|
-
|
379
|
-
add_debug "predicate: #{qname}, as_attr: #{as_attr}, object: #{object.inspect}, done: #{is_done?(object)}, sub: #{@subjects.include?(object)}"
|
362
|
+
add_debug "predicate: #{qname}, as_attr: #{as_attr}, object: #{object.inspect}, done: #{is_done?(object)}, subject: #{@subjects.include?(object)}"
|
380
363
|
#qname = "rdf:li" if qname.match(/rdf:_\d+/)
|
381
364
|
pred_node = Nokogiri::XML::Element.new(qname, node.document)
|
382
365
|
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
add_debug("serialize as element: #{attrs.inspect}")
|
399
|
-
attrs.each_pair do |a, av|
|
400
|
-
next if a.to_s == "xml:lang" && av.to_s == @lang # Lang already specified, don't repeat
|
401
|
-
av = relativize(object) if a == "rdf:resource"
|
402
|
-
add_debug " elt attr #{a}=#{av}"
|
403
|
-
pred_node[a] = av.to_s
|
404
|
-
end
|
405
|
-
add_debug " elt #{'xmllit ' if object.is_a?(RDF::Literal) && object.datatype == RDF.XMLLiteral}content=#{args.first}" if !args.empty?
|
406
|
-
if object.is_a?(RDF::Literal) && object.datatype == RDF.XMLLiteral
|
407
|
-
pred_node.inner_html = args.first.to_s
|
408
|
-
elsif args.first
|
409
|
-
pred_node.content = args.first unless args.empty?
|
366
|
+
col = RDF::List.new(object, @graph).to_a
|
367
|
+
conformant_list = col.all? {|item| !item.literal?}
|
368
|
+
o_props = @graph.properties(object)
|
369
|
+
args = xml_args(object)
|
370
|
+
attrs = args.pop
|
371
|
+
|
372
|
+
# Check to see if it can be serialized as a collection
|
373
|
+
if conformant_list && o_props[RDF.first.to_s]
|
374
|
+
add_debug("predicate as collection")
|
375
|
+
# Serialize list as parseType="Collection"
|
376
|
+
pred_node["rdf:parseType"] = "Collection"
|
377
|
+
col.each do |item|
|
378
|
+
# Mark the BNode subject of each item as being complete, so that it is not serialized elsewhere
|
379
|
+
@graph.query(:predicate => RDF.first, :object => item) do |statement|
|
380
|
+
subject_done(statement.subject)
|
410
381
|
end
|
382
|
+
@force_RDF_about[item] = true
|
383
|
+
subject(item, pred_node)
|
411
384
|
end
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
end
|
426
|
-
@force_RDF_about[item] = true
|
427
|
-
subject(item, pred_node)
|
428
|
-
end
|
429
|
-
else
|
430
|
-
if @depth < @max_depth
|
431
|
-
@depth += 1
|
432
|
-
subject(object, pred_node)
|
433
|
-
@depth -= 1
|
434
|
-
elsif object.is_a?(RDF::Node)
|
435
|
-
pred_node["rdf:nodeID"] = object.id
|
436
|
-
else
|
437
|
-
pred_node["rdf:resource"] = relativize(object)
|
438
|
-
end
|
385
|
+
elsif as_attr
|
386
|
+
# Serialize as attribute
|
387
|
+
pred_node.unlink
|
388
|
+
pred_node = nil
|
389
|
+
node[qname] = object.is_a?(RDF::URI) ? relativize(object) : object.value
|
390
|
+
add_debug("predicate as attribute: node[#{qname}]=#{node[qname]}, #{object.class}")
|
391
|
+
elsif object.literal?
|
392
|
+
# Serialize as element
|
393
|
+
add_debug("predicate as element: #{attrs.inspect}")
|
394
|
+
attrs.each_pair do |a, av|
|
395
|
+
next if a.to_s == "xml:lang" && av.to_s == @lang # Lang already specified, don't repeat
|
396
|
+
add_debug " elt attr #{a}=#{av}"
|
397
|
+
pred_node[a] = av.to_s
|
439
398
|
end
|
399
|
+
add_debug " elt #{'xmllit ' if object.literal? && object.datatype == RDF.XMLLiteral}content=#{args.first}" if !args.empty?
|
400
|
+
if object.datatype == RDF.XMLLiteral
|
401
|
+
pred_node.inner_html = args.first.to_s
|
402
|
+
elsif args.first
|
403
|
+
pred_node.content = args.first
|
404
|
+
end
|
405
|
+
elsif @depth < @max_depth && !is_done?(object) && @subjects.include?(object)
|
406
|
+
add_debug("predicate as element (recurse)")
|
407
|
+
@depth += 1
|
408
|
+
subject(object, pred_node)
|
409
|
+
@depth -= 1
|
410
|
+
elsif object.is_a?(RDF::Node)
|
411
|
+
add_debug("predicate as element (nodeID)")
|
412
|
+
pred_node["rdf:nodeID"] = object.id
|
413
|
+
else
|
414
|
+
add_debug("predicate as element (resource)")
|
415
|
+
pred_node["rdf:resource"] = relativize(object)
|
440
416
|
end
|
417
|
+
|
441
418
|
node.add_child(pred_node) if pred_node
|
442
419
|
end
|
443
420
|
|
444
421
|
# Mark a subject as done.
|
445
422
|
def subject_done(subject)
|
423
|
+
#add_debug("subject_done: #{subject}")
|
446
424
|
@serialized[subject] = true
|
447
425
|
end
|
448
426
|
|
@@ -452,9 +430,21 @@ module RDF::RDFXML
|
|
452
430
|
end
|
453
431
|
|
454
432
|
def is_done?(subject)
|
433
|
+
#add_debug("is_done?(#{subject}): #{@serialized.include?(subject)}")
|
455
434
|
@serialized.include?(subject)
|
456
435
|
end
|
457
436
|
|
437
|
+
# See if we can serialize as attribute.
|
438
|
+
# * untyped attributes that aren't duplicated where xml:lang == @lang
|
439
|
+
# * typed attributes that aren't duplicated if @dt_as_attr is true
|
440
|
+
# * rdf:type
|
441
|
+
def predicate_as_attribute?(prop, object)
|
442
|
+
[:untyped, :typed].include?(@attributes) && (
|
443
|
+
prop == RDF.type ||
|
444
|
+
[:typed].include?(@attributes) && object.literal? && object.typed? ||
|
445
|
+
(object.literal? && object.plain? || @lang && object.language.to_s == @lang.to_s)
|
446
|
+
)
|
447
|
+
end
|
458
448
|
|
459
449
|
# Take a hash from predicate uris to lists of values.
|
460
450
|
# Sort the lists of values. Return a sorted list of properties.
|
data/rdf-rdfxml.gemspec
CHANGED
@@ -1,460 +1,459 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rdf-rdfxml}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Gregg Kellogg"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-02-12}
|
13
13
|
s.description = %q{RDF::RDFXML is an RDF/XML reader and writer for Ruby using the RDF.rb library suite.}
|
14
14
|
s.email = %q{gregg@kellogg-assoc.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"AUTHORS",
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
"CONTRIBUTORS",
|
18
|
+
"History.rdoc",
|
19
|
+
"README.md"
|
20
20
|
]
|
21
21
|
s.files = [
|
22
|
-
".
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
22
|
+
".yardopts",
|
23
|
+
"AUTHORS",
|
24
|
+
"CONTRIBUTORS",
|
25
|
+
"History.rdoc",
|
26
|
+
"README.md",
|
27
|
+
"Rakefile",
|
28
|
+
"UNLICENSE",
|
29
|
+
"VERSION",
|
30
|
+
"etc/doap.nt",
|
31
|
+
"etc/doap.xml",
|
32
|
+
"example.rb",
|
33
|
+
"lib/rdf/rdfxml.rb",
|
34
|
+
"lib/rdf/rdfxml/format.rb",
|
35
|
+
"lib/rdf/rdfxml/patches/array_hacks.rb",
|
36
|
+
"lib/rdf/rdfxml/patches/graph_properties.rb",
|
37
|
+
"lib/rdf/rdfxml/patches/literal_hacks.rb",
|
38
|
+
"lib/rdf/rdfxml/patches/nokogiri_hacks.rb",
|
39
|
+
"lib/rdf/rdfxml/reader.rb",
|
40
|
+
"lib/rdf/rdfxml/version.rb",
|
41
|
+
"lib/rdf/rdfxml/vocab.rb",
|
42
|
+
"lib/rdf/rdfxml/writer.rb",
|
43
|
+
"rdf-rdfxml.gemspec",
|
44
|
+
"script/console",
|
45
|
+
"script/parse",
|
46
|
+
"script/tc",
|
47
|
+
"script/yard-to-rubyforge",
|
48
|
+
"spec/format_spec.rb",
|
49
|
+
"spec/graph_spec.rb",
|
50
|
+
"spec/literal_spec.rb",
|
51
|
+
"spec/matchers.rb",
|
52
|
+
"spec/rdf_helper.rb",
|
53
|
+
"spec/rdf_tests/cc197bad-dc9c-440d-a5b5-d52ba2e14234.nt",
|
54
|
+
"spec/rdf_tests/cc197bad-dc9c-440d-a5b5-d52ba2e14234.rdf",
|
55
|
+
"spec/rdf_tests/tm_001.nt",
|
56
|
+
"spec/rdf_tests/tm_001.rdf",
|
57
|
+
"spec/rdf_tests/xml-literal-mixed.nt",
|
58
|
+
"spec/rdf_tests/xml-literal-mixed.rdf",
|
59
|
+
"spec/rdfcore/Manifest.rdf",
|
60
|
+
"spec/rdfcore/Manifest.yml",
|
61
|
+
"spec/rdfcore/amp-in-url/test001.nt",
|
62
|
+
"spec/rdfcore/amp-in-url/test001.rdf",
|
63
|
+
"spec/rdfcore/datatypes-intensional/test001.nt",
|
64
|
+
"spec/rdfcore/datatypes-intensional/test002.nt",
|
65
|
+
"spec/rdfcore/datatypes/test001.nt",
|
66
|
+
"spec/rdfcore/datatypes/test001.rdf",
|
67
|
+
"spec/rdfcore/datatypes/test002.nt",
|
68
|
+
"spec/rdfcore/datatypes/test002.rdf",
|
69
|
+
"spec/rdfcore/datatypes/test002b.nt",
|
70
|
+
"spec/rdfcore/datatypes/test003a.nt",
|
71
|
+
"spec/rdfcore/datatypes/test003b.nt",
|
72
|
+
"spec/rdfcore/datatypes/test005a.nt",
|
73
|
+
"spec/rdfcore/datatypes/test005b.nt",
|
74
|
+
"spec/rdfcore/datatypes/test006.nt",
|
75
|
+
"spec/rdfcore/datatypes/test008a.nt",
|
76
|
+
"spec/rdfcore/datatypes/test008b.nt",
|
77
|
+
"spec/rdfcore/datatypes/test009a.nt",
|
78
|
+
"spec/rdfcore/datatypes/test009b.nt",
|
79
|
+
"spec/rdfcore/datatypes/test010.nt",
|
80
|
+
"spec/rdfcore/datatypes/test011a.nt",
|
81
|
+
"spec/rdfcore/datatypes/test011b.nt",
|
82
|
+
"spec/rdfcore/horst-01/test001.rdf",
|
83
|
+
"spec/rdfcore/horst-01/test002.rdf",
|
84
|
+
"spec/rdfcore/horst-01/test003.rdf",
|
85
|
+
"spec/rdfcore/horst-01/test004.rdf",
|
86
|
+
"spec/rdfcore/pfps-10/test001a.nt",
|
87
|
+
"spec/rdfcore/pfps-10/test001b.nt",
|
88
|
+
"spec/rdfcore/rdf-charmod-literals/test001.nt",
|
89
|
+
"spec/rdfcore/rdf-charmod-literals/test001.rdf",
|
90
|
+
"spec/rdfcore/rdf-charmod-uris/test001.nt",
|
91
|
+
"spec/rdfcore/rdf-charmod-uris/test001.rdf",
|
92
|
+
"spec/rdfcore/rdf-charmod-uris/test002.nt",
|
93
|
+
"spec/rdfcore/rdf-charmod-uris/test002.rdf",
|
94
|
+
"spec/rdfcore/rdf-containers-syntax-vs-schema/error001.rdf",
|
95
|
+
"spec/rdfcore/rdf-containers-syntax-vs-schema/error002.rdf",
|
96
|
+
"spec/rdfcore/rdf-containers-syntax-vs-schema/test001.nt",
|
97
|
+
"spec/rdfcore/rdf-containers-syntax-vs-schema/test001.rdf",
|
98
|
+
"spec/rdfcore/rdf-containers-syntax-vs-schema/test002.nt",
|
99
|
+
"spec/rdfcore/rdf-containers-syntax-vs-schema/test002.rdf",
|
100
|
+
"spec/rdfcore/rdf-containers-syntax-vs-schema/test003.nt",
|
101
|
+
"spec/rdfcore/rdf-containers-syntax-vs-schema/test003.rdf",
|
102
|
+
"spec/rdfcore/rdf-containers-syntax-vs-schema/test004.nt",
|
103
|
+
"spec/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf",
|
104
|
+
"spec/rdfcore/rdf-containers-syntax-vs-schema/test006.nt",
|
105
|
+
"spec/rdfcore/rdf-containers-syntax-vs-schema/test006.rdf",
|
106
|
+
"spec/rdfcore/rdf-containers-syntax-vs-schema/test007.nt",
|
107
|
+
"spec/rdfcore/rdf-containers-syntax-vs-schema/test007.rdf",
|
108
|
+
"spec/rdfcore/rdf-containers-syntax-vs-schema/test008.nt",
|
109
|
+
"spec/rdfcore/rdf-containers-syntax-vs-schema/test008.rdf",
|
110
|
+
"spec/rdfcore/rdf-element-not-mandatory/test001.nt",
|
111
|
+
"spec/rdfcore/rdf-element-not-mandatory/test001.rdf",
|
112
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0001.nt",
|
113
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0001.rdf",
|
114
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0003.nt",
|
115
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0003.rdf",
|
116
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0004.nt",
|
117
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0004.rdf",
|
118
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0005.nt",
|
119
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0005.rdf",
|
120
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0006.nt",
|
121
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0006.rdf",
|
122
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0009.nt",
|
123
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0009.rdf",
|
124
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0010.nt",
|
125
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0010.rdf",
|
126
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0011.nt",
|
127
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0011.rdf",
|
128
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0012.nt",
|
129
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0012.rdf",
|
130
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0013.nt",
|
131
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0013.rdf",
|
132
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0014.nt",
|
133
|
+
"spec/rdfcore/rdf-ns-prefix-confusion/test0014.rdf",
|
134
|
+
"spec/rdfcore/rdfms-abouteach/error001.rdf",
|
135
|
+
"spec/rdfcore/rdfms-abouteach/error002.rdf",
|
136
|
+
"spec/rdfcore/rdfms-difference-between-ID-and-about/error1.rdf",
|
137
|
+
"spec/rdfcore/rdfms-difference-between-ID-and-about/test1.nt",
|
138
|
+
"spec/rdfcore/rdfms-difference-between-ID-and-about/test1.rdf",
|
139
|
+
"spec/rdfcore/rdfms-difference-between-ID-and-about/test2.nt",
|
140
|
+
"spec/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf",
|
141
|
+
"spec/rdfcore/rdfms-difference-between-ID-and-about/test3.nt",
|
142
|
+
"spec/rdfcore/rdfms-difference-between-ID-and-about/test3.rdf",
|
143
|
+
"spec/rdfcore/rdfms-duplicate-member-props/test001.nt",
|
144
|
+
"spec/rdfcore/rdfms-duplicate-member-props/test001.rdf",
|
145
|
+
"spec/rdfcore/rdfms-empty-property-elements/error001.rdf",
|
146
|
+
"spec/rdfcore/rdfms-empty-property-elements/error002.rdf",
|
147
|
+
"spec/rdfcore/rdfms-empty-property-elements/error003.rdf",
|
148
|
+
"spec/rdfcore/rdfms-empty-property-elements/test001.nt",
|
149
|
+
"spec/rdfcore/rdfms-empty-property-elements/test001.rdf",
|
150
|
+
"spec/rdfcore/rdfms-empty-property-elements/test002.nt",
|
151
|
+
"spec/rdfcore/rdfms-empty-property-elements/test002.rdf",
|
152
|
+
"spec/rdfcore/rdfms-empty-property-elements/test003.nt",
|
153
|
+
"spec/rdfcore/rdfms-empty-property-elements/test003.rdf",
|
154
|
+
"spec/rdfcore/rdfms-empty-property-elements/test004.nt",
|
155
|
+
"spec/rdfcore/rdfms-empty-property-elements/test004.rdf",
|
156
|
+
"spec/rdfcore/rdfms-empty-property-elements/test005.nt",
|
157
|
+
"spec/rdfcore/rdfms-empty-property-elements/test005.rdf",
|
158
|
+
"spec/rdfcore/rdfms-empty-property-elements/test006.nt",
|
159
|
+
"spec/rdfcore/rdfms-empty-property-elements/test006.rdf",
|
160
|
+
"spec/rdfcore/rdfms-empty-property-elements/test007.nt",
|
161
|
+
"spec/rdfcore/rdfms-empty-property-elements/test007.rdf",
|
162
|
+
"spec/rdfcore/rdfms-empty-property-elements/test008.nt",
|
163
|
+
"spec/rdfcore/rdfms-empty-property-elements/test008.rdf",
|
164
|
+
"spec/rdfcore/rdfms-empty-property-elements/test009.nt",
|
165
|
+
"spec/rdfcore/rdfms-empty-property-elements/test009.rdf",
|
166
|
+
"spec/rdfcore/rdfms-empty-property-elements/test010.nt",
|
167
|
+
"spec/rdfcore/rdfms-empty-property-elements/test010.rdf",
|
168
|
+
"spec/rdfcore/rdfms-empty-property-elements/test011.nt",
|
169
|
+
"spec/rdfcore/rdfms-empty-property-elements/test011.rdf",
|
170
|
+
"spec/rdfcore/rdfms-empty-property-elements/test012.nt",
|
171
|
+
"spec/rdfcore/rdfms-empty-property-elements/test012.rdf",
|
172
|
+
"spec/rdfcore/rdfms-empty-property-elements/test013.nt",
|
173
|
+
"spec/rdfcore/rdfms-empty-property-elements/test013.rdf",
|
174
|
+
"spec/rdfcore/rdfms-empty-property-elements/test014.nt",
|
175
|
+
"spec/rdfcore/rdfms-empty-property-elements/test014.rdf",
|
176
|
+
"spec/rdfcore/rdfms-empty-property-elements/test015.nt",
|
177
|
+
"spec/rdfcore/rdfms-empty-property-elements/test015.rdf",
|
178
|
+
"spec/rdfcore/rdfms-empty-property-elements/test016.nt",
|
179
|
+
"spec/rdfcore/rdfms-empty-property-elements/test016.rdf",
|
180
|
+
"spec/rdfcore/rdfms-empty-property-elements/test017.nt",
|
181
|
+
"spec/rdfcore/rdfms-empty-property-elements/test017.rdf",
|
182
|
+
"spec/rdfcore/rdfms-identity-anon-resources/test001.nt",
|
183
|
+
"spec/rdfcore/rdfms-identity-anon-resources/test001.rdf",
|
184
|
+
"spec/rdfcore/rdfms-identity-anon-resources/test002.nt",
|
185
|
+
"spec/rdfcore/rdfms-identity-anon-resources/test002.rdf",
|
186
|
+
"spec/rdfcore/rdfms-identity-anon-resources/test003.nt",
|
187
|
+
"spec/rdfcore/rdfms-identity-anon-resources/test003.rdf",
|
188
|
+
"spec/rdfcore/rdfms-identity-anon-resources/test004.nt",
|
189
|
+
"spec/rdfcore/rdfms-identity-anon-resources/test004.rdf",
|
190
|
+
"spec/rdfcore/rdfms-identity-anon-resources/test005.nt",
|
191
|
+
"spec/rdfcore/rdfms-identity-anon-resources/test005.rdf",
|
192
|
+
"spec/rdfcore/rdfms-not-id-and-resource-attr/test001.nt",
|
193
|
+
"spec/rdfcore/rdfms-not-id-and-resource-attr/test001.rdf",
|
194
|
+
"spec/rdfcore/rdfms-not-id-and-resource-attr/test002.nt",
|
195
|
+
"spec/rdfcore/rdfms-not-id-and-resource-attr/test002.rdf",
|
196
|
+
"spec/rdfcore/rdfms-not-id-and-resource-attr/test004.nt",
|
197
|
+
"spec/rdfcore/rdfms-not-id-and-resource-attr/test004.rdf",
|
198
|
+
"spec/rdfcore/rdfms-not-id-and-resource-attr/test005.nt",
|
199
|
+
"spec/rdfcore/rdfms-not-id-and-resource-attr/test005.rdf",
|
200
|
+
"spec/rdfcore/rdfms-para196/test001.nt",
|
201
|
+
"spec/rdfcore/rdfms-para196/test001.rdf",
|
202
|
+
"spec/rdfcore/rdfms-rdf-id/error001.rdf",
|
203
|
+
"spec/rdfcore/rdfms-rdf-id/error002.rdf",
|
204
|
+
"spec/rdfcore/rdfms-rdf-id/error003.rdf",
|
205
|
+
"spec/rdfcore/rdfms-rdf-id/error004.rdf",
|
206
|
+
"spec/rdfcore/rdfms-rdf-id/error005.rdf",
|
207
|
+
"spec/rdfcore/rdfms-rdf-id/error006.rdf",
|
208
|
+
"spec/rdfcore/rdfms-rdf-id/error007.rdf",
|
209
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-001.rdf",
|
210
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-002.rdf",
|
211
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-003.rdf",
|
212
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-004.rdf",
|
213
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-005.rdf",
|
214
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-006.rdf",
|
215
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-007.rdf",
|
216
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-008.rdf",
|
217
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-009.rdf",
|
218
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-010.rdf",
|
219
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-011.rdf",
|
220
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-012.rdf",
|
221
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-013.rdf",
|
222
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-014.rdf",
|
223
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-015.rdf",
|
224
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-016.rdf",
|
225
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-017.rdf",
|
226
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-018.rdf",
|
227
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-019.rdf",
|
228
|
+
"spec/rdfcore/rdfms-rdf-names-use/error-020.rdf",
|
229
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-001.nt",
|
230
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-001.rdf",
|
231
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-002.nt",
|
232
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-002.rdf",
|
233
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-003.nt",
|
234
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-003.rdf",
|
235
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-004.nt",
|
236
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-004.rdf",
|
237
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-005.nt",
|
238
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-005.rdf",
|
239
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-006.nt",
|
240
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-006.rdf",
|
241
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-007.nt",
|
242
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-007.rdf",
|
243
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-008.nt",
|
244
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-008.rdf",
|
245
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-009.nt",
|
246
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-009.rdf",
|
247
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-010.nt",
|
248
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-010.rdf",
|
249
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-011.nt",
|
250
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-011.rdf",
|
251
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-012.nt",
|
252
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-012.rdf",
|
253
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-013.nt",
|
254
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-013.rdf",
|
255
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-014.nt",
|
256
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-014.rdf",
|
257
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-015.nt",
|
258
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-015.rdf",
|
259
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-016.nt",
|
260
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-016.rdf",
|
261
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-017.nt",
|
262
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-017.rdf",
|
263
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-018.nt",
|
264
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-018.rdf",
|
265
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-019.nt",
|
266
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-019.rdf",
|
267
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-020.nt",
|
268
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-020.rdf",
|
269
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-021.nt",
|
270
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-021.rdf",
|
271
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-022.nt",
|
272
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-022.rdf",
|
273
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-023.nt",
|
274
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-023.rdf",
|
275
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-024.nt",
|
276
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-024.rdf",
|
277
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-025.nt",
|
278
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-025.rdf",
|
279
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-026.nt",
|
280
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-026.rdf",
|
281
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-027.nt",
|
282
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-027.rdf",
|
283
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-028.nt",
|
284
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-028.rdf",
|
285
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-029.nt",
|
286
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-029.rdf",
|
287
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-030.nt",
|
288
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-030.rdf",
|
289
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-031.nt",
|
290
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-031.rdf",
|
291
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-032.nt",
|
292
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-032.rdf",
|
293
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-033.nt",
|
294
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-033.rdf",
|
295
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-034.nt",
|
296
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-034.rdf",
|
297
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-035.nt",
|
298
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-035.rdf",
|
299
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-036.nt",
|
300
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-036.rdf",
|
301
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-037.nt",
|
302
|
+
"spec/rdfcore/rdfms-rdf-names-use/test-037.rdf",
|
303
|
+
"spec/rdfcore/rdfms-rdf-names-use/warn-001.nt",
|
304
|
+
"spec/rdfcore/rdfms-rdf-names-use/warn-001.rdf",
|
305
|
+
"spec/rdfcore/rdfms-rdf-names-use/warn-002.nt",
|
306
|
+
"spec/rdfcore/rdfms-rdf-names-use/warn-002.rdf",
|
307
|
+
"spec/rdfcore/rdfms-rdf-names-use/warn-003.nt",
|
308
|
+
"spec/rdfcore/rdfms-rdf-names-use/warn-003.rdf",
|
309
|
+
"spec/rdfcore/rdfms-reification-required/test001.nt",
|
310
|
+
"spec/rdfcore/rdfms-reification-required/test001.rdf",
|
311
|
+
"spec/rdfcore/rdfms-seq-representation/empty.nt",
|
312
|
+
"spec/rdfcore/rdfms-seq-representation/test001.nt",
|
313
|
+
"spec/rdfcore/rdfms-seq-representation/test001.rdf",
|
314
|
+
"spec/rdfcore/rdfms-seq-representation/test002.nt",
|
315
|
+
"spec/rdfcore/rdfms-seq-representation/test003a.nt",
|
316
|
+
"spec/rdfcore/rdfms-seq-representation/test003b.nt",
|
317
|
+
"spec/rdfcore/rdfms-seq-representation/test004.nt",
|
318
|
+
"spec/rdfcore/rdfms-syntax-incomplete/error001.rdf",
|
319
|
+
"spec/rdfcore/rdfms-syntax-incomplete/error002.rdf",
|
320
|
+
"spec/rdfcore/rdfms-syntax-incomplete/error003.rdf",
|
321
|
+
"spec/rdfcore/rdfms-syntax-incomplete/error004.rdf",
|
322
|
+
"spec/rdfcore/rdfms-syntax-incomplete/error005.rdf",
|
323
|
+
"spec/rdfcore/rdfms-syntax-incomplete/error006.rdf",
|
324
|
+
"spec/rdfcore/rdfms-syntax-incomplete/test001.nt",
|
325
|
+
"spec/rdfcore/rdfms-syntax-incomplete/test001.rdf",
|
326
|
+
"spec/rdfcore/rdfms-syntax-incomplete/test002.nt",
|
327
|
+
"spec/rdfcore/rdfms-syntax-incomplete/test002.rdf",
|
328
|
+
"spec/rdfcore/rdfms-syntax-incomplete/test003.nt",
|
329
|
+
"spec/rdfcore/rdfms-syntax-incomplete/test003.rdf",
|
330
|
+
"spec/rdfcore/rdfms-syntax-incomplete/test004.nt",
|
331
|
+
"spec/rdfcore/rdfms-syntax-incomplete/test004.rdf",
|
332
|
+
"spec/rdfcore/rdfms-uri-substructure/error001.nt",
|
333
|
+
"spec/rdfcore/rdfms-uri-substructure/test001.nt",
|
334
|
+
"spec/rdfcore/rdfms-uri-substructure/test001.rdf",
|
335
|
+
"spec/rdfcore/rdfms-xml-literal-namespaces/test001.nt",
|
336
|
+
"spec/rdfcore/rdfms-xml-literal-namespaces/test001.rdf",
|
337
|
+
"spec/rdfcore/rdfms-xml-literal-namespaces/test002.nt",
|
338
|
+
"spec/rdfcore/rdfms-xml-literal-namespaces/test002.rdf",
|
339
|
+
"spec/rdfcore/rdfms-xmllang/test001.nt",
|
340
|
+
"spec/rdfcore/rdfms-xmllang/test001.rdf",
|
341
|
+
"spec/rdfcore/rdfms-xmllang/test002.nt",
|
342
|
+
"spec/rdfcore/rdfms-xmllang/test002.rdf",
|
343
|
+
"spec/rdfcore/rdfms-xmllang/test003.nt",
|
344
|
+
"spec/rdfcore/rdfms-xmllang/test003.rdf",
|
345
|
+
"spec/rdfcore/rdfms-xmllang/test004.nt",
|
346
|
+
"spec/rdfcore/rdfms-xmllang/test004.rdf",
|
347
|
+
"spec/rdfcore/rdfms-xmllang/test005.nt",
|
348
|
+
"spec/rdfcore/rdfms-xmllang/test005.rdf",
|
349
|
+
"spec/rdfcore/rdfms-xmllang/test006.nt",
|
350
|
+
"spec/rdfcore/rdfms-xmllang/test006.rdf",
|
351
|
+
"spec/rdfcore/rdfms-xmllang/test007a.nt",
|
352
|
+
"spec/rdfcore/rdfms-xmllang/test007b.nt",
|
353
|
+
"spec/rdfcore/rdfms-xmllang/test007c.nt",
|
354
|
+
"spec/rdfcore/rdfs-container-membership-superProperty/not1C.rdf",
|
355
|
+
"spec/rdfcore/rdfs-container-membership-superProperty/not1P.rdf",
|
356
|
+
"spec/rdfcore/rdfs-domain-and-range/nonconclusions005.rdf",
|
357
|
+
"spec/rdfcore/rdfs-domain-and-range/nonconclusions006.rdf",
|
358
|
+
"spec/rdfcore/rdfs-domain-and-range/premises005.rdf",
|
359
|
+
"spec/rdfcore/rdfs-domain-and-range/premises006.rdf",
|
360
|
+
"spec/rdfcore/rdfs-domain-and-range/test001.nt",
|
361
|
+
"spec/rdfcore/rdfs-domain-and-range/test001.rdf",
|
362
|
+
"spec/rdfcore/rdfs-domain-and-range/test002.nt",
|
363
|
+
"spec/rdfcore/rdfs-domain-and-range/test002.rdf",
|
364
|
+
"spec/rdfcore/rdfs-entailment/test001.nt",
|
365
|
+
"spec/rdfcore/rdfs-entailment/test002.nt",
|
366
|
+
"spec/rdfcore/rdfs-no-cycles-in-subClassOf/test001.nt",
|
367
|
+
"spec/rdfcore/rdfs-no-cycles-in-subClassOf/test001.rdf",
|
368
|
+
"spec/rdfcore/rdfs-no-cycles-in-subPropertyOf/test001.nt",
|
369
|
+
"spec/rdfcore/rdfs-no-cycles-in-subPropertyOf/test001.rdf",
|
370
|
+
"spec/rdfcore/rdfs-subClassOf-a-Property/test001.nt",
|
371
|
+
"spec/rdfcore/rdfs-subPropertyOf-semantics/test001.nt",
|
372
|
+
"spec/rdfcore/rdfs-subPropertyOf-semantics/test002.nt",
|
373
|
+
"spec/rdfcore/statement-entailment/test001a.nt",
|
374
|
+
"spec/rdfcore/statement-entailment/test001b.nt",
|
375
|
+
"spec/rdfcore/statement-entailment/test002a.nt",
|
376
|
+
"spec/rdfcore/statement-entailment/test002b.nt",
|
377
|
+
"spec/rdfcore/tex-01/test001.rdf",
|
378
|
+
"spec/rdfcore/tex-01/test002.rdf",
|
379
|
+
"spec/rdfcore/unrecognised-xml-attributes/test001.nt",
|
380
|
+
"spec/rdfcore/unrecognised-xml-attributes/test001.rdf",
|
381
|
+
"spec/rdfcore/unrecognised-xml-attributes/test002.nt",
|
382
|
+
"spec/rdfcore/unrecognised-xml-attributes/test002.rdf",
|
383
|
+
"spec/rdfcore/xml-canon/test001.nt",
|
384
|
+
"spec/rdfcore/xml-canon/test001.rdf",
|
385
|
+
"spec/rdfcore/xmlbase/test001.nt",
|
386
|
+
"spec/rdfcore/xmlbase/test001.rdf",
|
387
|
+
"spec/rdfcore/xmlbase/test002.nt",
|
388
|
+
"spec/rdfcore/xmlbase/test002.rdf",
|
389
|
+
"spec/rdfcore/xmlbase/test003.nt",
|
390
|
+
"spec/rdfcore/xmlbase/test003.rdf",
|
391
|
+
"spec/rdfcore/xmlbase/test004.nt",
|
392
|
+
"spec/rdfcore/xmlbase/test004.rdf",
|
393
|
+
"spec/rdfcore/xmlbase/test006.nt",
|
394
|
+
"spec/rdfcore/xmlbase/test006.rdf",
|
395
|
+
"spec/rdfcore/xmlbase/test007.nt",
|
396
|
+
"spec/rdfcore/xmlbase/test007.rdf",
|
397
|
+
"spec/rdfcore/xmlbase/test008.nt",
|
398
|
+
"spec/rdfcore/xmlbase/test008.rdf",
|
399
|
+
"spec/rdfcore/xmlbase/test009.nt",
|
400
|
+
"spec/rdfcore/xmlbase/test009.rdf",
|
401
|
+
"spec/rdfcore/xmlbase/test010.nt",
|
402
|
+
"spec/rdfcore/xmlbase/test010.rdf",
|
403
|
+
"spec/rdfcore/xmlbase/test011.nt",
|
404
|
+
"spec/rdfcore/xmlbase/test011.rdf",
|
405
|
+
"spec/rdfcore/xmlbase/test013.nt",
|
406
|
+
"spec/rdfcore/xmlbase/test013.rdf",
|
407
|
+
"spec/rdfcore/xmlbase/test014.nt",
|
408
|
+
"spec/rdfcore/xmlbase/test014.rdf",
|
409
|
+
"spec/rdfcore/xmlsch-02/test001.rdf",
|
410
|
+
"spec/rdfcore/xmlsch-02/test002.rdf",
|
411
|
+
"spec/rdfcore/xmlsch-02/test003.rdf",
|
412
|
+
"spec/reader_spec.rb",
|
413
|
+
"spec/spec.opts",
|
414
|
+
"spec/spec_helper.rb",
|
415
|
+
"spec/writer_spec.rb"
|
415
416
|
]
|
416
417
|
s.homepage = %q{http://github.com/gkellogg/rdf-rdfxml}
|
417
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
418
418
|
s.require_paths = ["lib"]
|
419
|
-
s.rubygems_version = %q{1.
|
419
|
+
s.rubygems_version = %q{1.5.0}
|
420
420
|
s.summary = %q{RDF/XML reader/writer for RDF.rb.}
|
421
421
|
s.test_files = [
|
422
422
|
"spec/format_spec.rb",
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
423
|
+
"spec/graph_spec.rb",
|
424
|
+
"spec/literal_spec.rb",
|
425
|
+
"spec/matchers.rb",
|
426
|
+
"spec/rdf_helper.rb",
|
427
|
+
"spec/reader_spec.rb",
|
428
|
+
"spec/spec_helper.rb",
|
429
|
+
"spec/writer_spec.rb"
|
430
430
|
]
|
431
431
|
|
432
432
|
if s.respond_to? :specification_version then
|
433
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
434
433
|
s.specification_version = 3
|
435
434
|
|
436
435
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
437
|
-
s.add_runtime_dependency(%q<rdf>, [">= 0.3.
|
438
|
-
s.add_runtime_dependency(%q<nokogiri>, [">= 1.
|
439
|
-
s.add_development_dependency(%q<rspec>, [">= 2.
|
440
|
-
s.add_development_dependency(%q<rdf-spec>, [">= 0"])
|
441
|
-
s.add_development_dependency(%q<rdf-isomorphic>, [">= 0"])
|
442
|
-
s.add_development_dependency(%q<yard>, [">= 0"])
|
436
|
+
s.add_runtime_dependency(%q<rdf>, [">= 0.3.1"])
|
437
|
+
s.add_runtime_dependency(%q<nokogiri>, [">= 1.4.4"])
|
438
|
+
s.add_development_dependency(%q<rspec>, [">= 2.5.0"])
|
439
|
+
s.add_development_dependency(%q<rdf-spec>, [">= 0.3.1"])
|
440
|
+
s.add_development_dependency(%q<rdf-isomorphic>, [">= 0.3.4"])
|
441
|
+
s.add_development_dependency(%q<yard>, [">= 0.6.4"])
|
443
442
|
else
|
444
|
-
s.add_dependency(%q<rdf>, [">= 0.3.
|
445
|
-
s.add_dependency(%q<nokogiri>, [">= 1.
|
446
|
-
s.add_dependency(%q<rspec>, [">= 2.
|
447
|
-
s.add_dependency(%q<rdf-spec>, [">= 0"])
|
448
|
-
s.add_dependency(%q<rdf-isomorphic>, [">= 0"])
|
449
|
-
s.add_dependency(%q<yard>, [">= 0"])
|
443
|
+
s.add_dependency(%q<rdf>, [">= 0.3.1"])
|
444
|
+
s.add_dependency(%q<nokogiri>, [">= 1.4.4"])
|
445
|
+
s.add_dependency(%q<rspec>, [">= 2.5.0"])
|
446
|
+
s.add_dependency(%q<rdf-spec>, [">= 0.3.1"])
|
447
|
+
s.add_dependency(%q<rdf-isomorphic>, [">= 0.3.4"])
|
448
|
+
s.add_dependency(%q<yard>, [">= 0.6.4"])
|
450
449
|
end
|
451
450
|
else
|
452
|
-
s.add_dependency(%q<rdf>, [">= 0.3.
|
453
|
-
s.add_dependency(%q<nokogiri>, [">= 1.
|
454
|
-
s.add_dependency(%q<rspec>, [">= 2.
|
455
|
-
s.add_dependency(%q<rdf-spec>, [">= 0"])
|
456
|
-
s.add_dependency(%q<rdf-isomorphic>, [">= 0"])
|
457
|
-
s.add_dependency(%q<yard>, [">= 0"])
|
451
|
+
s.add_dependency(%q<rdf>, [">= 0.3.1"])
|
452
|
+
s.add_dependency(%q<nokogiri>, [">= 1.4.4"])
|
453
|
+
s.add_dependency(%q<rspec>, [">= 2.5.0"])
|
454
|
+
s.add_dependency(%q<rdf-spec>, [">= 0.3.1"])
|
455
|
+
s.add_dependency(%q<rdf-isomorphic>, [">= 0.3.4"])
|
456
|
+
s.add_dependency(%q<yard>, [">= 0.6.4"])
|
458
457
|
end
|
459
458
|
end
|
460
459
|
|