linkeddata 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +2 -0
- data/README +68 -0
- data/UNLICENSE +24 -0
- data/VERSION +1 -0
- data/lib/linkeddata.rb +27 -0
- metadata +179 -0
data/AUTHORS
ADDED
data/README
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
Linked Data for Ruby
|
2
|
+
====================
|
3
|
+
|
4
|
+
This is a metadistribution of [RDF.rb][] including all currently available
|
5
|
+
and usable parsing/serialization plugins, intended to make producing and
|
6
|
+
consuming [Linked Data][] with Ruby as quick & easy as possible.
|
7
|
+
|
8
|
+
* <http://github.com/datagraph/linkeddata>
|
9
|
+
|
10
|
+
Features
|
11
|
+
--------
|
12
|
+
|
13
|
+
* Includes [N-Triples][] support using [RDF.rb][].
|
14
|
+
* Includes [RDF/XML][], [Turtle][] and [RDFa][] support using the
|
15
|
+
[RDF::Raptor][] gem.
|
16
|
+
* Includes [RDF/JSON][] support using the [RDF::JSON][] gem.
|
17
|
+
* Includes [TriX][] support using the [RDF::TriX][] gem.
|
18
|
+
* Maintains release parity with RDF.rb.
|
19
|
+
* Specifies all gem dependencies in a [production-safe][versioning] manner.
|
20
|
+
|
21
|
+
Examples
|
22
|
+
--------
|
23
|
+
|
24
|
+
require 'linkeddata'
|
25
|
+
|
26
|
+
Documentation
|
27
|
+
-------------
|
28
|
+
|
29
|
+
* <http://rdf.rubyforge.org/>
|
30
|
+
* <http://blog.datagraph.org/2010/03/rdf-for-ruby>
|
31
|
+
* <http://blog.datagraph.org/2010/04/parsing-rdf-with-ruby>
|
32
|
+
|
33
|
+
Dependencies
|
34
|
+
------------
|
35
|
+
|
36
|
+
* [RDF.rb](http://rubygems.org/gems/rdf) (>= 0.1.10)
|
37
|
+
* [RDF::Isomorphic](http://rubygems.org/gems/rdf-isomorphic) (>= 0.1.2)
|
38
|
+
* [RDF::Raptor](http://rubygems.org/gems/rdf-raptor) (>= 0.3.0)
|
39
|
+
* [RDF::JSON](http://rubygems.org/gems/rdf-json) (>= 0.1.0)
|
40
|
+
* [RDF::TriX](http://rubygems.org/gems/rdf-trix) (>= 0.0.3)
|
41
|
+
|
42
|
+
Installation
|
43
|
+
------------
|
44
|
+
|
45
|
+
The recommended installation method is via [RubyGems](http://rubygems.org/).
|
46
|
+
To install the latest official release of the gem, do:
|
47
|
+
|
48
|
+
% [sudo] gem install linkeddata
|
49
|
+
|
50
|
+
License
|
51
|
+
-------
|
52
|
+
|
53
|
+
This is free and unencumbered public domain software. For more
|
54
|
+
information, see <http://unlicense.org/> or the accompanying UNLICENSE file.
|
55
|
+
|
56
|
+
[RDF.rb]: http://rdf.rubyforge.org/
|
57
|
+
[RDF::Raptor]: http://rdf.rubyforge.org/raptor/
|
58
|
+
[RDF::JSON]: http://rdf.rubyforge.org/json/
|
59
|
+
[RDF::TriX]: http://rdf.rubyforge.org/trix/
|
60
|
+
[SPARQL::Client]: http://sparql.rubyforge.org/client/
|
61
|
+
[Linked Data]: http://linkeddata.org/
|
62
|
+
[N-Triples]: http://en.wikipedia.org/wiki/N-Triples
|
63
|
+
[Turtle]: http://en.wikipedia.org/wiki/Turtle_(syntax)
|
64
|
+
[RDF/XML]: http://en.wikipedia.org/wiki/RDF/XML
|
65
|
+
[RDF/JSON]: http://n2.talis.com/wiki/RDF_JSON_Specification
|
66
|
+
[TriX]: http://www.w3.org/2004/03/trix/
|
67
|
+
[RDFa]: http://en.wikipedia.org/wiki/RDFa
|
68
|
+
[versioning]: http://blog.zenspider.com/2008/10/rubygems-howto-preventing-cata.html
|
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
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.10
|
data/lib/linkeddata.rb
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
module LinkedData
|
2
|
+
# @see http://rubygems.org/gems/rdf
|
3
|
+
require 'rdf'
|
4
|
+
require 'rdf/ntriples'
|
5
|
+
require 'rdf/nquads'
|
6
|
+
|
7
|
+
# @see http://rubygems.org/gems/rdf-isomorphic
|
8
|
+
require 'rdf/isomorphic'
|
9
|
+
|
10
|
+
# @see http://rubygems.org/gems/rdf-raptor
|
11
|
+
require 'rdf/raptor'
|
12
|
+
|
13
|
+
# @see http://rubygems.org/gems/rdf-json
|
14
|
+
require 'rdf/json'
|
15
|
+
|
16
|
+
# @see http://rubygems.org/gems/rdf-trix
|
17
|
+
require 'rdf/trix'
|
18
|
+
|
19
|
+
# @see http://rubygems.org/gems/sparql-client
|
20
|
+
begin
|
21
|
+
require 'sparql/client'
|
22
|
+
rescue LoadError
|
23
|
+
# SPARQL::Client is a soft dependency.
|
24
|
+
end
|
25
|
+
|
26
|
+
include RDF
|
27
|
+
end
|
metadata
ADDED
@@ -0,0 +1,179 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: linkeddata
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 10
|
9
|
+
version: 0.1.10
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Datagraph
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-05-25 00:00:00 +02:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: rdf-spec
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ~>
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
- 1
|
30
|
+
- 10
|
31
|
+
version: 0.1.10
|
32
|
+
type: :development
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: rspec
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ~>
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 1
|
43
|
+
- 3
|
44
|
+
- 0
|
45
|
+
version: 1.3.0
|
46
|
+
type: :development
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: yard
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ~>
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
segments:
|
56
|
+
- 0
|
57
|
+
- 5
|
58
|
+
- 5
|
59
|
+
version: 0.5.5
|
60
|
+
type: :development
|
61
|
+
version_requirements: *id003
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rdf
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
segments:
|
70
|
+
- 0
|
71
|
+
- 1
|
72
|
+
- 10
|
73
|
+
version: 0.1.10
|
74
|
+
type: :runtime
|
75
|
+
version_requirements: *id004
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: rdf-isomorphic
|
78
|
+
prerelease: false
|
79
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ~>
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
segments:
|
84
|
+
- 0
|
85
|
+
- 1
|
86
|
+
- 2
|
87
|
+
version: 0.1.2
|
88
|
+
type: :runtime
|
89
|
+
version_requirements: *id005
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: rdf-raptor
|
92
|
+
prerelease: false
|
93
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ~>
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
segments:
|
98
|
+
- 0
|
99
|
+
- 3
|
100
|
+
- 0
|
101
|
+
version: 0.3.0
|
102
|
+
type: :runtime
|
103
|
+
version_requirements: *id006
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: rdf-json
|
106
|
+
prerelease: false
|
107
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ~>
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
segments:
|
112
|
+
- 0
|
113
|
+
- 1
|
114
|
+
- 0
|
115
|
+
version: 0.1.0
|
116
|
+
type: :runtime
|
117
|
+
version_requirements: *id007
|
118
|
+
- !ruby/object:Gem::Dependency
|
119
|
+
name: rdf-trix
|
120
|
+
prerelease: false
|
121
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
segments:
|
126
|
+
- 0
|
127
|
+
- 0
|
128
|
+
- 3
|
129
|
+
version: 0.0.3
|
130
|
+
type: :runtime
|
131
|
+
version_requirements: *id008
|
132
|
+
description: A metadistribution of RDF.rb including all parsing/serialization plugins.
|
133
|
+
email: datagraph@googlegroups.com
|
134
|
+
executables: []
|
135
|
+
|
136
|
+
extensions: []
|
137
|
+
|
138
|
+
extra_rdoc_files: []
|
139
|
+
|
140
|
+
files:
|
141
|
+
- AUTHORS
|
142
|
+
- README
|
143
|
+
- UNLICENSE
|
144
|
+
- VERSION
|
145
|
+
- lib/linkeddata.rb
|
146
|
+
has_rdoc: false
|
147
|
+
homepage: http://rdf.rubyforge.org/
|
148
|
+
licenses:
|
149
|
+
- Public Domain
|
150
|
+
post_install_message:
|
151
|
+
rdoc_options: []
|
152
|
+
|
153
|
+
require_paths:
|
154
|
+
- lib
|
155
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
segments:
|
160
|
+
- 1
|
161
|
+
- 8
|
162
|
+
- 2
|
163
|
+
version: 1.8.2
|
164
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
segments:
|
169
|
+
- 0
|
170
|
+
version: "0"
|
171
|
+
requirements: []
|
172
|
+
|
173
|
+
rubyforge_project: datagraph
|
174
|
+
rubygems_version: 1.3.6
|
175
|
+
signing_key:
|
176
|
+
specification_version: 3
|
177
|
+
summary: Linked Data for Ruby.
|
178
|
+
test_files: []
|
179
|
+
|