rdf-n3 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +1 -1
- data/README.markdown +7 -7
- data/VERSION +1 -1
- data/lib/rdf/n3.rb +1 -1
- data/lib/rdf/n3/format.rb +4 -3
- data/lib/rdf/n3/reader.rb +1 -1
- data/lib/rdf/n3/writer.rb +1 -1
- metadata +26 -25
data/AUTHORS
CHANGED
@@ -1 +1 @@
|
|
1
|
-
* Gregg Kellogg <gregg@
|
1
|
+
* Gregg Kellogg <gregg@greggkellogg.net>
|
data/README.markdown
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# RDF::N3 reader/writer
|
2
|
-
Notation-3
|
2
|
+
Notation-3 reader/writer for [RDF.rb][RDF.rb] .
|
3
3
|
|
4
4
|
## Description
|
5
5
|
RDF::N3 is an Notation-3 parser for Ruby using the [RDF.rb][RDF.rb] library suite.
|
@@ -102,8 +102,8 @@ Full documentation available on [RubyForge](http://rdf.rubyforge.org/n3)
|
|
102
102
|
|
103
103
|
## Resources
|
104
104
|
* [RDF.rb][RDF.rb]
|
105
|
-
* [Distiller](http://distiller
|
106
|
-
* [Documentation](http://
|
105
|
+
* [Distiller](http://rdf.greggkellogg.net/distiller)
|
106
|
+
* [Documentation](http://rubydoc.info/github/ruby-rdf/rdf-n3/master/frames)
|
107
107
|
* [History](file:file.History.html)
|
108
108
|
* [Notation-3][N3]
|
109
109
|
* [N3 Primer](http://www.w3.org/2000/10/swap/Primer.html)
|
@@ -114,7 +114,7 @@ Full documentation available on [RubyForge](http://rdf.rubyforge.org/n3)
|
|
114
114
|
* [N-Triples][N-Triples]
|
115
115
|
|
116
116
|
## Author
|
117
|
-
* [Gregg Kellogg](http://github.com/gkellogg) - <http://
|
117
|
+
* [Gregg Kellogg](http://github.com/gkellogg) - <http://greggkellogg.net/>
|
118
118
|
|
119
119
|
## Contributors
|
120
120
|
* [Nicholas Humfrey](http://github.com/njh)
|
@@ -139,13 +139,13 @@ This is free and unencumbered public domain software. For more information,
|
|
139
139
|
see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
140
140
|
|
141
141
|
## Feedback
|
142
|
-
* <gregg@
|
142
|
+
* <gregg@greggkellogg.net>
|
143
143
|
* <http://rubygems.org/gem/rdf-n3>
|
144
|
-
* <http://github.com/
|
144
|
+
* <http://github.com/ruby-rdf/rdf-n3>
|
145
145
|
* <http://lists.w3.org/Archives/Public/public-rdf-ruby/>
|
146
146
|
|
147
147
|
[RDF.rb]: http://rdf.rubyforge.org/
|
148
|
-
[RDF::Turtle] http://github.com/
|
148
|
+
[RDF::Turtle] http://github.com/ruby-rdf/rdf-turtle/
|
149
149
|
[N3]: http://www.w3.org/DesignIssues/Notation3.html "Notation-3"
|
150
150
|
[Turtle]: http://www.w3.org/TeamSubmission/turtle/
|
151
151
|
[N-Triples]: http://www.w3.org/2001/sw/RDFCore/ntriples/
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.7
|
data/lib/rdf/n3.rb
CHANGED
@@ -18,7 +18,7 @@ module RDF
|
|
18
18
|
# @see http://rdf.rubyforge.org/
|
19
19
|
# @see http://www.w3.org/TR/REC-rdf-syntax/
|
20
20
|
#
|
21
|
-
# @author [Gregg Kellogg](http://
|
21
|
+
# @author [Gregg Kellogg](http://greggkellogg.net/)
|
22
22
|
module N3
|
23
23
|
require 'rdf/n3/format'
|
24
24
|
require 'rdf/n3/vocab'
|
data/lib/rdf/n3/format.rb
CHANGED
@@ -17,9 +17,7 @@ module RDF::N3
|
|
17
17
|
#
|
18
18
|
# @see http://www.w3.org/TR/rdf-testcases/#ntriples
|
19
19
|
class Format < RDF::Format
|
20
|
-
content_type 'text/n3', :extension => :n3
|
21
|
-
content_type 'text/rdf+n3', :extension => :n3
|
22
|
-
content_type 'application/rdf+n3', :extension => :n3
|
20
|
+
content_type 'text/n3', :extension => :n3, :aliases => %w(text/rdf+n3 application/rdf+n3)
|
23
21
|
content_encoding 'utf-8'
|
24
22
|
|
25
23
|
reader { RDF::N3::Reader }
|
@@ -60,6 +58,9 @@ module RDF::N3
|
|
60
58
|
# RDF::Format.for(:ttl).reader #=> RDF::N3::Reader
|
61
59
|
# RDF::Format.for(:ttl).writer #=> RDF::N3::Writer
|
62
60
|
class Notation3 < RDF::Format
|
61
|
+
content_type 'text/n3', :extension => :n3
|
62
|
+
content_encoding 'utf-8'
|
63
|
+
|
63
64
|
reader { RDF::N3::Reader }
|
64
65
|
writer { RDF::N3::Writer }
|
65
66
|
end
|
data/lib/rdf/n3/reader.rb
CHANGED
@@ -12,7 +12,7 @@ module RDF::N3
|
|
12
12
|
# * Formulae as RDF::Query representations
|
13
13
|
# * Formula expansion similar to SPARQL Construct
|
14
14
|
#
|
15
|
-
# @author [Gregg Kellogg](http://
|
15
|
+
# @author [Gregg Kellogg](http://greggkellogg.net/)
|
16
16
|
class Reader < RDF::Reader
|
17
17
|
format Format
|
18
18
|
|
data/lib/rdf/n3/writer.rb
CHANGED
@@ -48,7 +48,7 @@ module RDF::N3
|
|
48
48
|
# end
|
49
49
|
# end
|
50
50
|
#
|
51
|
-
# @author [Gregg Kellogg](http://
|
51
|
+
# @author [Gregg Kellogg](http://greggkellogg.net/)
|
52
52
|
class Writer < RDF::Writer
|
53
53
|
format RDF::N3::Format
|
54
54
|
QNAME = Meta::REGEXPS[:"http://www.w3.org/2000/10/swap/grammar/n3#qname"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-n3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2012-05-14 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdf
|
17
|
-
requirement: &
|
17
|
+
requirement: &70163227694360 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,21 +22,21 @@ dependencies:
|
|
22
22
|
version: 0.3.4
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70163227694360
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: open-uri-cached
|
28
|
-
requirement: &
|
28
|
+
requirement: &70163227693840 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.0.4
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *70163227693840
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: spira
|
39
|
-
requirement: &
|
39
|
+
requirement: &70163227693260 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ! '>='
|
@@ -44,21 +44,21 @@ dependencies:
|
|
44
44
|
version: 0.0.12
|
45
45
|
type: :development
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *70163227693260
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: rspec
|
50
|
-
requirement: &
|
50
|
+
requirement: &70163227692660 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ! '>='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 2.
|
55
|
+
version: 2.8.0
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *70163227692660
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: rdf-spec
|
61
|
-
requirement: &
|
61
|
+
requirement: &70163227692080 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ! '>='
|
@@ -66,10 +66,10 @@ dependencies:
|
|
66
66
|
version: 0.3.4
|
67
67
|
type: :development
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *70163227692080
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: rdf-rdfxml
|
72
|
-
requirement: &
|
72
|
+
requirement: &70163227691560 !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
75
|
- - ! '>='
|
@@ -77,10 +77,10 @@ dependencies:
|
|
77
77
|
version: 0.3.3
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
|
-
version_requirements: *
|
80
|
+
version_requirements: *70163227691560
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: rdf-turtle
|
83
|
-
requirement: &
|
83
|
+
requirement: &70163227691040 !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
85
|
requirements:
|
86
86
|
- - ! '>='
|
@@ -88,10 +88,10 @@ dependencies:
|
|
88
88
|
version: 0.1.0
|
89
89
|
type: :development
|
90
90
|
prerelease: false
|
91
|
-
version_requirements: *
|
91
|
+
version_requirements: *70163227691040
|
92
92
|
- !ruby/object:Gem::Dependency
|
93
93
|
name: rdf-isomorphic
|
94
|
-
requirement: &
|
94
|
+
requirement: &70163227690480 !ruby/object:Gem::Requirement
|
95
95
|
none: false
|
96
96
|
requirements:
|
97
97
|
- - ! '>='
|
@@ -99,10 +99,10 @@ dependencies:
|
|
99
99
|
version: 0.3.4
|
100
100
|
type: :development
|
101
101
|
prerelease: false
|
102
|
-
version_requirements: *
|
102
|
+
version_requirements: *70163227690480
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: yard
|
105
|
-
requirement: &
|
105
|
+
requirement: &70163227689900 !ruby/object:Gem::Requirement
|
106
106
|
none: false
|
107
107
|
requirements:
|
108
108
|
- - ! '>='
|
@@ -110,7 +110,7 @@ dependencies:
|
|
110
110
|
version: 0.6.0
|
111
111
|
type: :development
|
112
112
|
prerelease: false
|
113
|
-
version_requirements: *
|
113
|
+
version_requirements: *70163227689900
|
114
114
|
description: RDF::N3 is an Notation-3 reader/writer for the RDF.rb library suite.
|
115
115
|
email: public-rdf-ruby@w3.org
|
116
116
|
executables: []
|
@@ -132,7 +132,7 @@ files:
|
|
132
132
|
- lib/rdf/n3/vocab.rb
|
133
133
|
- lib/rdf/n3/writer.rb
|
134
134
|
- lib/rdf/n3.rb
|
135
|
-
homepage: http://github.com/
|
135
|
+
homepage: http://github.com/ruby-rdf/rdf-n3
|
136
136
|
licenses:
|
137
137
|
- Public Domain
|
138
138
|
post_install_message:
|
@@ -153,8 +153,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
version: '0'
|
154
154
|
requirements: []
|
155
155
|
rubyforge_project: rdf-n3
|
156
|
-
rubygems_version: 1.8.
|
156
|
+
rubygems_version: 1.8.17
|
157
157
|
signing_key:
|
158
158
|
specification_version: 3
|
159
|
-
summary:
|
159
|
+
summary: Notation3 reader/writer for RDF.rb.
|
160
160
|
test_files: []
|
161
|
+
has_rdoc: false
|