rdf 3.0.11 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHORS +1 -1
- data/README.md +127 -95
- data/UNLICENSE +1 -1
- data/VERSION +1 -1
- data/etc/doap.nt +79 -85
- data/lib/rdf.rb +35 -23
- data/lib/rdf/changeset.rb +80 -19
- data/lib/rdf/cli.rb +7 -7
- data/lib/rdf/format.rb +17 -10
- data/lib/rdf/mixin/enumerable.rb +4 -3
- data/lib/rdf/mixin/mutable.rb +5 -15
- data/lib/rdf/mixin/queryable.rb +12 -4
- data/lib/rdf/mixin/transactable.rb +2 -2
- data/lib/rdf/mixin/writable.rb +9 -14
- data/lib/rdf/model/dataset.rb +1 -1
- data/lib/rdf/model/graph.rb +7 -4
- data/lib/rdf/model/list.rb +5 -5
- data/lib/rdf/model/literal.rb +3 -3
- data/lib/rdf/model/statement.rb +32 -9
- data/lib/rdf/model/uri.rb +53 -32
- data/lib/rdf/nquads.rb +6 -6
- data/lib/rdf/ntriples.rb +7 -5
- data/lib/rdf/ntriples/reader.rb +29 -7
- data/lib/rdf/ntriples/writer.rb +10 -1
- data/lib/rdf/query.rb +27 -35
- data/lib/rdf/query/hash_pattern_normalizer.rb +14 -12
- data/lib/rdf/query/pattern.rb +51 -18
- data/lib/rdf/query/solution.rb +20 -1
- data/lib/rdf/query/solutions.rb +15 -5
- data/lib/rdf/query/variable.rb +17 -5
- data/lib/rdf/reader.rb +76 -25
- data/lib/rdf/repository.rb +32 -18
- data/lib/rdf/transaction.rb +1 -1
- data/lib/rdf/util.rb +6 -5
- data/lib/rdf/util/cache.rb +2 -2
- data/lib/rdf/util/coercions.rb +60 -0
- data/lib/rdf/util/file.rb +20 -10
- data/lib/rdf/util/logger.rb +6 -6
- data/lib/rdf/util/uuid.rb +4 -4
- data/lib/rdf/vocab/owl.rb +401 -86
- data/lib/rdf/vocab/rdfs.rb +81 -18
- data/lib/rdf/vocab/rdfv.rb +147 -1
- data/lib/rdf/vocab/writer.rb +41 -3
- data/lib/rdf/vocab/xsd.rb +203 -2
- data/lib/rdf/vocabulary.rb +73 -15
- data/lib/rdf/writer.rb +33 -11
- metadata +34 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39ba8235c527933f06e9685428f3948547e46563c68ca5d0e1f3ac22f12b3d60
|
4
|
+
data.tar.gz: 00fb02e10e11e2e011c58766c609ca186dc1e2c74ef44f09af704297681e94b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46e0b83df6bf5fbdecdee12cc9bb2e34f93dce625a1a86edbd3251366a6ac6ef09fa4a1520c883c0f7a0a5d2bdb492e97fddeed739b4db28e6e69e278cc78e33
|
7
|
+
data.tar.gz: db8b82296da844a5b8c0ab8547038cdd4f96e41231db41f2f8f0abd2d04859918a90adee3ded6369c9a37f20c192e16cc9d656910661533bb3bbbf5fb46a6aa5
|
data/AUTHORS
CHANGED
data/README.md
CHANGED
@@ -3,14 +3,10 @@
|
|
3
3
|
This is a pure-Ruby library for working with [Resource Description Framework
|
4
4
|
(RDF)][RDF] data.
|
5
5
|
|
6
|
-
* <
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
* <http://blog.datagraph.org/2010/04/rdf-repository-howto>
|
11
|
-
|
12
|
-
[![Gem Version](https://badge.fury.io/rb/rdf.png)](http://badge.fury.io/rb/rdf)
|
13
|
-
[![Build Status](https://travis-ci.org/ruby-rdf/rdf.png?branch=master)](http://travis-ci.org/ruby-rdf/rdf)
|
6
|
+
* <https://ruby-rdf.github.com/rdf>
|
7
|
+
|
8
|
+
[![Gem Version](https://badge.fury.io/rb/rdf.png)](https://badge.fury.io/rb/rdf)
|
9
|
+
[![Build Status](https://travis-ci.org/ruby-rdf/rdf.png?branch=master)](https://travis-ci.org/ruby-rdf/rdf)
|
14
10
|
[![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf/badge.svg)](https://coveralls.io/r/ruby-rdf/rdf)
|
15
11
|
[![Join the chat at https://gitter.im/ruby-rdf/rdf](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ruby-rdf/rdf?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
16
12
|
|
@@ -18,7 +14,7 @@ This is a pure-Ruby library for working with [Resource Description Framework
|
|
18
14
|
|
19
15
|
* 100% pure Ruby with minimal dependencies and no bloat.
|
20
16
|
* Fully compatible with [RDF 1.1][] specifications.
|
21
|
-
* 100% free and unencumbered [public domain](
|
17
|
+
* 100% free and unencumbered [public domain](https://unlicense.org/) software.
|
22
18
|
* Provides a clean, well-designed RDF object model and related APIs.
|
23
19
|
* Supports parsing and serializing [N-Triples][] and [N-Quads][] out of the box, with more
|
24
20
|
serialization format support available through add-on extensions.
|
@@ -29,9 +25,11 @@ This is a pure-Ruby library for working with [Resource Description Framework
|
|
29
25
|
not modify any of Ruby's core classes or standard library.
|
30
26
|
* Based entirely on Ruby's autoloading, meaning that you can generally make
|
31
27
|
use of any one part of the library without needing to load up the rest.
|
32
|
-
* Compatible with Ruby Ruby >= 2.
|
28
|
+
* Compatible with Ruby Ruby >= 2.4, Rubinius and JRuby 9.0+.
|
29
|
+
* Note, changes in mapping hashes to keyword arguments for Ruby 2.7+ may require that arguments be passed more explicitly, especially when the first argument is a Hash and there are optional keyword arguments. In this case, Hash argument may need to be explicitly included within `{}` and the optional keyword arguments may need to be specified using `**{}` if there are no keyword arguments.
|
33
30
|
* Performs auto-detection of input to select appropriate Reader class if one
|
34
31
|
cannot be determined from file characteristics.
|
32
|
+
* Provisional support for [RDF*][].
|
35
33
|
|
36
34
|
### HTTP requests
|
37
35
|
|
@@ -50,11 +48,11 @@ the 1.1 release of RDF.rb:
|
|
50
48
|
* Introduces {RDF::IRI}, as a synonym for {RDF::URI} either {RDF::IRI} or {RDF::URI} can be used interchangeably. Versions of RDF.rb prior to the 1.1 release were already compatible with IRIs. Internationalized Resource Identifiers (see [RFC3987][]) are a super-set of URIs (see [RFC3986][]) which allow for characters other than standard US-ASCII.
|
51
49
|
* {RDF::URI} no longer uses the `Addressable` gem. As URIs typically don't need to be parsed, this provides a substantial performance improvement when enumerating or querying graphs and repositories.
|
52
50
|
* {RDF::List} no longer emits a `rdf:List` type. However, it will now recognize any subjects that are {RDF::Node} instances as being list elements, as long as they have both `rdf:first` and `rdf:rest` predicates.
|
53
|
-
* {RDF::Graph} adding a `graph_name` to a graph may only be done when the underlying storage model supports graph_names (the default {RDF::Repository} does). The notion of `graph_name` in RDF.rb is treated equivalently to [Named Graphs](
|
51
|
+
* {RDF::Graph} adding a `graph_name` to a graph may only be done when the underlying storage model supports graph_names (the default {RDF::Repository} does). The notion of `graph_name` in RDF.rb is treated equivalently to [Named Graphs](https://www.w3.org/TR/rdf11-concepts/#dfn-named-graph) within an RDF Dataset, and graphs on their own are not named.
|
54
52
|
* {RDF::Graph}, {RDF::Statement} and {RDF::List} now include {RDF::Value}, and not {RDF::Resource}. Made it clear that using {RDF::Graph} does not mean that it may be used within an {RDF::Statement}, for this see {RDF::Term}.
|
55
53
|
* {RDF::Statement} now is stricter about checking that all elements are valid when validating.
|
56
54
|
* {RDF::NTriples::Writer} and {RDF::NQuads::Writer} now default to validate output, only allowing valid statements to be emitted. This may disabled by setting the `:validate` option to `false`.
|
57
|
-
* {RDF::Dataset} is introduced as a class alias of {RDF::Repository}. This allows closer alignment to the RDF concept of [Dataset](
|
55
|
+
* {RDF::Dataset} is introduced as a class alias of {RDF::Repository}. This allows closer alignment to the RDF concept of [Dataset](https://www.w3.org/TR/rdf11-concepts/#dfn-dataset).
|
58
56
|
* The `graph_name` of a graph within a Dataset or Repository may be either an {RDF::IRI} or {RDF::Node}. Implementations of repositories may restrict this to being only {RDF::IRI}.
|
59
57
|
* There are substantial and somewhat incompatible changes to {RDF::Literal}. In [RDF 1.1][], all literals are typed, including plain literals and language tagged literals. Internally, plain literals are given the `xsd:string` datatype and language tagged literals are given the `rdf:langString` datatype. Creating a plain literal, without a datatype or language, will automatically provide the `xsd:string` datatype; similar for language tagged literals. Note that most serialization formats will remove this datatype. Code which depends on a literal having the `xsd:string` datatype being different from a plain literal (formally, without a datatype) may break. However note that the `#has\_datatype?` will continue to return `false` for plain or language-tagged literals.
|
60
58
|
* {RDF::Query#execute} now accepts a block and returns {RDF::Query::Solutions}. This allows `enumerable.query(query)` to behave like `query.execute(enumerable)` and either return an enumerable or yield each solution.
|
@@ -70,9 +68,9 @@ Notably, {RDF::Queryable#query} and {RDF::Query#execute} are now completely symm
|
|
70
68
|
|
71
69
|
## Tutorials
|
72
70
|
|
73
|
-
* [Getting data from the Semantic Web using Ruby and RDF.rb](
|
74
|
-
* [Using RDF.rb and Spira to process RDF data from the British Ordnance Survey](
|
75
|
-
* [Getting started with RDF and SPARQL using 4store and RDF.rb](
|
71
|
+
* [Getting data from the Semantic Web using Ruby and RDF.rb](https://semanticweb.org/wiki/Getting_data_from_the_Semantic_Web_%28Ruby%29)
|
72
|
+
* [Using RDF.rb and Spira to process RDF data from the British Ordnance Survey](https://stephenpope.co.uk/?p=85)
|
73
|
+
* [Getting started with RDF and SPARQL using 4store and RDF.rb](https://www.jenitennison.com/blog/node/152)
|
76
74
|
|
77
75
|
## Command Line
|
78
76
|
When installed, RDF.rb includes a `rdf` shell script which acts as a wrapper to perform a number of different
|
@@ -106,11 +104,11 @@ or
|
|
106
104
|
### Reading RDF data in the [N-Triples][] format
|
107
105
|
|
108
106
|
require 'rdf/ntriples'
|
109
|
-
graph = RDF::Graph.load("
|
107
|
+
graph = RDF::Graph.load("https://ruby-rdf.github.com/rdf/etc/doap.nt")
|
110
108
|
|
111
109
|
or
|
112
110
|
|
113
|
-
RDF::Reader.open("
|
111
|
+
RDF::Reader.open("https://ruby-rdf.github.com/rdf/etc/doap.nt") do |reader|
|
114
112
|
reader.each_statement do |statement|
|
115
113
|
puts statement.inspect
|
116
114
|
end
|
@@ -124,13 +122,13 @@ MimeType or file extension, where available.
|
|
124
122
|
|
125
123
|
require 'rdf/nquads'
|
126
124
|
|
127
|
-
graph = RDF::Graph.load("
|
125
|
+
graph = RDF::Graph.load("https://ruby-rdf.github.com/rdf/etc/doap.nq", format: :nquads)
|
128
126
|
|
129
127
|
A specific sub-type of Reader can also be invoked directly:
|
130
128
|
|
131
129
|
require 'rdf/nquads'
|
132
130
|
|
133
|
-
RDF::NQuads::Reader.open("
|
131
|
+
RDF::NQuads::Reader.open("https://ruby-rdf.github.com/rdf/etc/doap.nq") do |reader|
|
134
132
|
reader.each_statement do |statement|
|
135
133
|
puts statement.inspect
|
136
134
|
end
|
@@ -182,14 +180,14 @@ Note that no prefixes are loaded automatically, however they can be provided as
|
|
182
180
|
|
183
181
|
require 'rdf/ntriples'
|
184
182
|
|
185
|
-
graph = RDF::Graph.load("
|
183
|
+
graph = RDF::Graph.load("https://ruby-rdf.github.com/rdf/etc/doap.nt")
|
186
184
|
query = RDF::Query.new({
|
187
185
|
person: {
|
188
186
|
RDF.type => FOAF.Person,
|
189
187
|
FOAF.name => :name,
|
190
188
|
FOAF.mbox => :email,
|
191
189
|
}
|
192
|
-
})
|
190
|
+
}, **{})
|
193
191
|
|
194
192
|
query.execute(graph) do |solution|
|
195
193
|
puts "name=#{solution.name} email=#{solution.email}"
|
@@ -203,7 +201,7 @@ The same query may also be run from the graph:
|
|
203
201
|
|
204
202
|
In general, querying from using the `queryable` instance allows a specific implementation of `queryable` to perform query optimizations specific to the datastore on which it is based.
|
205
203
|
|
206
|
-
A separate [SPARQL][SPARQL doc] gem builds on basic BGP support to provide full support for [SPARQL 1.
|
204
|
+
A separate [SPARQL][SPARQL doc] gem builds on basic BGP support to provide full support for [SPARQL 1.1][] queries.
|
207
205
|
|
208
206
|
### Using pre-defined RDF vocabularies
|
209
207
|
|
@@ -222,14 +220,52 @@ A separate [SPARQL][SPARQL doc] gem builds on basic BGP support to provide full
|
|
222
220
|
foaf[:name] #=> RDF::URI("http://xmlns.com/foaf/0.1/name")
|
223
221
|
foaf['mbox'] #=> RDF::URI("http://xmlns.com/foaf/0.1/mbox")
|
224
222
|
|
223
|
+
## RDF* (RDFStar)
|
224
|
+
|
225
|
+
[RDF.rb][] includes provisional support for [RDF*][] with an N-Triples/N-Quads syntax extension that uses inline statements in the _subject_ or _object_ position.
|
226
|
+
|
227
|
+
Internally, an `RDF::Statement` is treated as another resource, along with `RDF::URI` and `RDF::Node`, which allows an `RDF::Statement` to have a `#subject` or `#object` which is also an `RDF::Statement`.
|
228
|
+
|
229
|
+
**Note: This feature is subject to change or elimination as the standards process progresses.**
|
230
|
+
|
231
|
+
### Serializing a Graph containing embedded statements
|
232
|
+
|
233
|
+
require 'rdf/ntriples'
|
234
|
+
statement = RDF::Statement(RDF::URI('bob'), RDF::Vocab::FOAF.age, RDF::Literal(23))
|
235
|
+
graph = RDF::Graph.new << [statement, RDF::URI("ex:certainty"), RDF::Literal(0.9)]
|
236
|
+
graph.dump(:ntriples, validate: false)
|
237
|
+
# => '<<<bob> <http://xmlns.com/foaf/0.1/age> "23"^^<http://www.w3.org/2001/XMLSchema#integer>>> <ex:certainty> "0.9"^^<http://www.w3.org/2001/XMLSchema#double> .'
|
238
|
+
|
239
|
+
### Reading a Graph containing embedded statements
|
240
|
+
|
241
|
+
By default, the N-Triples reader will reject a document containing a subject resource.
|
242
|
+
|
243
|
+
nt = '<<<bob> <http://xmlns.com/foaf/0.1/age> "23"^^<http://www.w3.org/2001/XMLSchema#integer>>> <ex:certainty> "0.9"^^<http://www.w3.org/2001/XMLSchema#double> .'
|
244
|
+
graph = RDF::Graph.new do |graph|
|
245
|
+
RDF::NTriples::Reader.new(nt) {|reader| graph << reader}
|
246
|
+
end
|
247
|
+
# => RDF::ReaderError
|
248
|
+
|
249
|
+
Readers support a `rdfstar` option with either `:PG` (Property Graph) or `:SA` (Separate Assertions) modes. In `:PG` mode, statements that are used in the subject or object positions are also implicitly added to the graph:
|
250
|
+
|
251
|
+
graph = RDF::Graph.new do |graph|
|
252
|
+
RDF::NTriples::Reader.new(nt, rdfstar: :PG) {|reader| graph << reader}
|
253
|
+
end
|
254
|
+
graph.count #=> 2
|
255
|
+
|
256
|
+
When using the `:SA` mode, only one statement is asserted, although the reified statement is contained within the graph.
|
257
|
+
|
258
|
+
graph = RDF::Graph.new do |graph|
|
259
|
+
RDF::NTriples::Reader.new(nt, rdfstar: :SA) {|reader| graph << reader}
|
260
|
+
end
|
261
|
+
graph.count #=> 1
|
262
|
+
|
225
263
|
## Documentation
|
226
264
|
|
227
|
-
<
|
265
|
+
<https://rubydoc.info/github/ruby-rdf/rdf>
|
228
266
|
|
229
267
|
### RDF Object Model
|
230
268
|
|
231
|
-
<http://blog.datagraph.org/2010/03/rdf-for-ruby>
|
232
|
-
|
233
269
|
* {RDF::Value}
|
234
270
|
* {RDF::Term}
|
235
271
|
* {RDF::Literal}
|
@@ -240,7 +276,7 @@ A separate [SPARQL][SPARQL doc] gem builds on basic BGP support to provide full
|
|
240
276
|
* {RDF::Literal::Double}
|
241
277
|
* {RDF::Literal::Integer}
|
242
278
|
* {RDF::Literal::Time}
|
243
|
-
* [RDF::XSD](
|
279
|
+
* [RDF::XSD](https://rubydoc.info/github/gkellogg/rdf-xsd) (extension)
|
244
280
|
* {RDF::Resource}
|
245
281
|
* {RDF::Node}
|
246
282
|
* {RDF::URI}
|
@@ -250,8 +286,6 @@ A separate [SPARQL][SPARQL doc] gem builds on basic BGP support to provide full
|
|
250
286
|
|
251
287
|
### RDF Serialization
|
252
288
|
|
253
|
-
<http://blog.datagraph.org/2010/04/parsing-rdf-with-ruby>
|
254
|
-
|
255
289
|
* {RDF::Format}
|
256
290
|
* {RDF::Reader}
|
257
291
|
* {RDF::Writer}
|
@@ -267,8 +301,8 @@ other gems:
|
|
267
301
|
* [RDF::JSON][] (extension)
|
268
302
|
* [RDF::Microdata][] (extension)
|
269
303
|
* [RDF::N3][] (extension)
|
270
|
-
* [RDF::Raptor::RDFXML](
|
271
|
-
* [RDF::Raptor::Turtle](
|
304
|
+
* [RDF::Raptor::RDFXML](https://ruby-rdf.github.io/rdf-raptor) (extension)
|
305
|
+
* [RDF::Raptor::Turtle](https://ruby-rdf.github.io/rdf-raptor) (extension)
|
272
306
|
* [RDF::RDFa][] (extension)
|
273
307
|
* [RDF::RDFXML][] (extension)
|
274
308
|
* [RDF::TriG][] (extension)
|
@@ -280,7 +314,7 @@ The meta-gem [LinkedData][LinkedData doc] includes many of these gems.
|
|
280
314
|
### RDF Datatypes
|
281
315
|
|
282
316
|
RDF.rb only implements core datatypes from the
|
283
|
-
[RDF Datatype Map](
|
317
|
+
[RDF Datatype Map](https://www.w3.org/TR/rdf11-concepts/#datatype-maps). Most other
|
284
318
|
XSD and RDF datatype implementations can be find in the following:
|
285
319
|
|
286
320
|
* {RDF::XSD}
|
@@ -296,8 +330,6 @@ from BNode identity (i.e., they each entail the other)
|
|
296
330
|
|
297
331
|
### RDF Storage
|
298
332
|
|
299
|
-
<http://blog.datagraph.org/2010/04/rdf-repository-howto>
|
300
|
-
|
301
333
|
* {RDF::Repository}
|
302
334
|
* {RDF::Countable}
|
303
335
|
* {RDF::Enumerable}
|
@@ -306,10 +338,10 @@ from BNode identity (i.e., they each entail the other)
|
|
306
338
|
* {RDF::Mutable}
|
307
339
|
* {RDF::Durable}
|
308
340
|
* {RDF::Transaction}
|
309
|
-
* [RDF::AllegroGraph](
|
310
|
-
* [RDF::Mongo](
|
311
|
-
* [RDF::DataObjects](
|
312
|
-
* [RDF::Sesame](
|
341
|
+
* [RDF::AllegroGraph](https://rubydoc.info/github/ruby-rdf/rdf-agraph) (extension)
|
342
|
+
* [RDF::Mongo](https://rubydoc.info/github/ruby-rdf/rdf-mongo) (extension)
|
343
|
+
* [RDF::DataObjects](https://rubydoc.info/github/ruby-rdf/rdf-do) (extension)
|
344
|
+
* [RDF::Sesame](https://rubydoc.info/github/ruby-rdf/rdf-sesame) (extension)
|
313
345
|
|
314
346
|
### RDF Querying
|
315
347
|
|
@@ -319,7 +351,7 @@ from BNode identity (i.e., they each entail the other)
|
|
319
351
|
* {RDF::Query::Solution}
|
320
352
|
* {RDF::Query::Solutions}
|
321
353
|
* {RDF::Query::Variable}
|
322
|
-
* [SPARQL](
|
354
|
+
* [SPARQL](https://rubydoc.info/github/ruby-rdf/sparql) (extension)
|
323
355
|
|
324
356
|
|
325
357
|
### RDF Vocabularies
|
@@ -333,13 +365,13 @@ from BNode identity (i.e., they each entail the other)
|
|
333
365
|
|
334
366
|
## Dependencies
|
335
367
|
|
336
|
-
* [Ruby](
|
368
|
+
* [Ruby](https://ruby-lang.org/) (>= 2.2)
|
337
369
|
* [LinkHeader][] (>= 0.0.8)
|
338
370
|
* Soft dependency on [RestClient][] (>= 1.7)
|
339
371
|
|
340
372
|
## Installation
|
341
373
|
|
342
|
-
The recommended installation method is via [RubyGems](
|
374
|
+
The recommended installation method is via [RubyGems](https://rubygems.org/).
|
343
375
|
To install the latest official release of RDF.rb, do:
|
344
376
|
|
345
377
|
% [sudo] gem install rdf # Ruby 2+
|
@@ -353,39 +385,38 @@ To get a local working copy of the development repository, do:
|
|
353
385
|
Alternatively, download the latest development version as a tarball as
|
354
386
|
follows:
|
355
387
|
|
356
|
-
% wget
|
388
|
+
% wget https://github.com/ruby-rdf/rdf/tarball/master
|
357
389
|
|
358
390
|
## Resources
|
359
391
|
|
360
|
-
* <
|
361
|
-
* <
|
362
|
-
* <
|
363
|
-
* <
|
364
|
-
* <http://www.ohloh.net/p/rdf>
|
392
|
+
* <https://rubydoc.info/github/ruby-rdf/rdf>
|
393
|
+
* <https://github.com/ruby-rdf/rdf>
|
394
|
+
* <https://rubygems.org/gems/rdf>
|
395
|
+
* <https://www.ohloh.net/p/rdf>
|
365
396
|
|
366
397
|
## Mailing List
|
367
398
|
|
368
|
-
* <
|
399
|
+
* <https://lists.w3.org/Archives/Public/public-rdf-ruby/>
|
369
400
|
|
370
401
|
## Authors
|
371
402
|
|
372
|
-
* [Arto Bendiken](
|
373
|
-
* [Ben Lavender](
|
374
|
-
* [Gregg Kellogg](
|
403
|
+
* [Arto Bendiken](https://github.com/artob) - <https://ar.to/>
|
404
|
+
* [Ben Lavender](https://github.com/bhuga) - <https://bhuga.net/>
|
405
|
+
* [Gregg Kellogg](https://github.com/gkellogg) - <https://greggkellogg.net/>
|
375
406
|
|
376
407
|
## Contributors
|
377
408
|
|
378
|
-
* [Călin Ardelean](
|
379
|
-
* [Mark Borkum](
|
380
|
-
* [Danny Gagne](
|
381
|
-
* [Joey Geiger](
|
382
|
-
* [Fumihiro Kato](
|
383
|
-
* [Naoki Kawamukai](
|
409
|
+
* [Călin Ardelean](https://github.com/clnx) - <https://github.com/clnx>
|
410
|
+
* [Mark Borkum](https://github.com/markborkum) - <https://github.com/markborkum>
|
411
|
+
* [Danny Gagne](https://github.com/danny) - <http://www.dannygagne.com/>
|
412
|
+
* [Joey Geiger](https://github.com/jgeiger) - <https://github.com/jgeiger>
|
413
|
+
* [Fumihiro Kato](https://github.com/fumi) - <https://fumi.me/>
|
414
|
+
* [Naoki Kawamukai](https://github.com/kna) - <https://github.com/kna>
|
384
415
|
* [Tom Nixon](https://github.com/tomjnixon) - <https://github.com/tomjnixon>
|
385
|
-
* [Hellekin O. Wolf](
|
386
|
-
* [John Fieber](
|
387
|
-
* [Keita Urashima](
|
388
|
-
* [Pius Uzamere](
|
416
|
+
* [Hellekin O. Wolf](https://github.com/hellekin) - <https://hellekin.cepheide.org/>
|
417
|
+
* [John Fieber](https://github.com/jfieber) - <https://github.com/jfieber>
|
418
|
+
* [Keita Urashima](https://github.com/ursm) - <https://ursm.jp/>
|
419
|
+
* [Pius Uzamere](https://github.com/pius) - <http://pius.me/>
|
389
420
|
* [Judson Lester](https://github.com/nyarly) - <https://github.com/nyarly>
|
390
421
|
* [Peter Vandenabeele](https://github.com/petervandenabeele) - <https://github.com/petervandenabeele>
|
391
422
|
* [Tom Johnson](https://github.com/no-reply) - <https://github.com/no-reply>
|
@@ -412,40 +443,41 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange develo
|
|
412
443
|
## License
|
413
444
|
|
414
445
|
This is free and unencumbered public domain software. For more information,
|
415
|
-
see <
|
416
|
-
|
417
|
-
[RDF]:
|
418
|
-
[N-Triples]:
|
419
|
-
[N-Quads]:
|
420
|
-
[YARD]:
|
421
|
-
[YARD-GS]:
|
422
|
-
[PDD]:
|
423
|
-
[JSONLD doc]:
|
424
|
-
[LinkedData doc]:
|
425
|
-
[Microdata doc]:
|
426
|
-
[N3 doc]:
|
427
|
-
[RDFa doc]:
|
428
|
-
[RDFXML doc]:
|
429
|
-
[Turtle doc]:
|
430
|
-
[SPARQL doc]:
|
431
|
-
[RDF 1.0]:
|
432
|
-
[RDF 1.1]:
|
433
|
-
[SPARQL 1.
|
434
|
-
[RDF.rb]:
|
435
|
-
[RDF::DO]:
|
436
|
-
[RDF::Mongo]:
|
437
|
-
[RDF::Sesame]:
|
438
|
-
[RDF::JSON]:
|
439
|
-
[RDF::Microdata]:
|
440
|
-
[RDF::N3]:
|
441
|
-
[RDF::RDFa]:
|
442
|
-
[RDF::RDFXML]:
|
443
|
-
[RDF::TriG]:
|
444
|
-
[RDF::TriX]:
|
445
|
-
[RDF::Turtle]:
|
446
|
-
[RDF::Raptor]:
|
447
|
-
[
|
448
|
-
[
|
446
|
+
see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
447
|
+
|
448
|
+
[RDF]: https://www.w3.org/RDF/
|
449
|
+
[N-Triples]: https://www.w3.org/TR/n-triples/
|
450
|
+
[N-Quads]: https://www.w3.org/TR/n-quads/
|
451
|
+
[YARD]: https://yardoc.org/
|
452
|
+
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
|
453
|
+
[PDD]: https://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
|
454
|
+
[JSONLD doc]: https://rubydoc.info/github/ruby-rdf/json-ld
|
455
|
+
[LinkedData doc]: https://rubydoc.info/github/ruby-rdf/linkeddata
|
456
|
+
[Microdata doc]: https://rubydoc.info/github/ruby-rdf/rdf-microdata
|
457
|
+
[N3 doc]: https://rubydoc.info/github/ruby-rdf/rdf-n3
|
458
|
+
[RDFa doc]: https://rubydoc.info/github/ruby-rdf/rdf-rdfa
|
459
|
+
[RDFXML doc]: https://rubydoc.info/github/ruby-rdf/rdf-rdfxml
|
460
|
+
[Turtle doc]: https://rubydoc.info/github/ruby-rdf/rdf-turtle
|
461
|
+
[SPARQL doc]: https://rubydoc.info/github/ruby-rdf/sparql
|
462
|
+
[RDF 1.0]: https://www.w3.org/TR/2004/REC-rdf-concepts-20040210/
|
463
|
+
[RDF 1.1]: https://www.w3.org/TR/rdf11-concepts/
|
464
|
+
[SPARQL 1.1]: https://www.w3.org/TR/sparql11-query/
|
465
|
+
[RDF.rb]: https://ruby-rdf.github.com/
|
466
|
+
[RDF::DO]: https://ruby-rdf.github.com/rdf-do
|
467
|
+
[RDF::Mongo]: https://ruby-rdf.github.com/rdf-mongo
|
468
|
+
[RDF::Sesame]: https://ruby-rdf.github.com/rdf-sesame
|
469
|
+
[RDF::JSON]: https://ruby-rdf.github.com/rdf-json
|
470
|
+
[RDF::Microdata]: https://ruby-rdf.github.com/rdf-microdata
|
471
|
+
[RDF::N3]: https://ruby-rdf.github.com/rdf-n3
|
472
|
+
[RDF::RDFa]: https://ruby-rdf.github.com/rdf-rdfa
|
473
|
+
[RDF::RDFXML]: https://ruby-rdf.github.com/rdf-rdfxml
|
474
|
+
[RDF::TriG]: https://ruby-rdf.github.com/rdf-trig
|
475
|
+
[RDF::TriX]: https://ruby-rdf.github.com/rdf-trix
|
476
|
+
[RDF::Turtle]: https://ruby-rdf.github.com/rdf-turtle
|
477
|
+
[RDF::Raptor]: https://ruby-rdf.github.com/rdf-raptor
|
478
|
+
[RDF*]: https://lists.w3.org/Archives/Public/public-rdf-star/
|
479
|
+
[LinkedData]: https://ruby-rdf.github.com/linkeddata
|
480
|
+
[JSON::LD]: https://ruby-rdf.github.com/json-ld
|
449
481
|
[RestClient]: https://rubygems.org/gems/rest-client
|
450
482
|
[RestClient Components]: https://rubygems.org/gems/rest-client-components
|
451
|
-
[Rack::Cache]:
|
483
|
+
[Rack::Cache]: https://rtomayko.github.io/rack-cache/
|
data/UNLICENSE
CHANGED
@@ -21,4 +21,4 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
21
21
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
22
22
|
OTHER DEALINGS IN THE SOFTWARE.
|
23
23
|
|
24
|
-
For more information, please refer to <
|
24
|
+
For more information, please refer to <https://unlicense.org/>
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.1.2
|
data/etc/doap.nt
CHANGED
@@ -1,85 +1,79 @@
|
|
1
|
-
<http://
|
2
|
-
<http://
|
3
|
-
<http://
|
4
|
-
|
5
|
-
<http://
|
6
|
-
<http://
|
7
|
-
<
|
8
|
-
<
|
9
|
-
<
|
10
|
-
<
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
<http://
|
15
|
-
|
16
|
-
<http://
|
17
|
-
<http://
|
18
|
-
<http://
|
19
|
-
|
20
|
-
<http://
|
21
|
-
|
22
|
-
|
23
|
-
<http://
|
24
|
-
|
25
|
-
|
26
|
-
<http://
|
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
|
-
<http://
|
68
|
-
<
|
69
|
-
<
|
70
|
-
<
|
71
|
-
<
|
72
|
-
<
|
73
|
-
<
|
74
|
-
|
75
|
-
|
76
|
-
<http://
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
<http://greggkellogg.net/foaf#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
|
81
|
-
<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
|
82
|
-
<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/mbox> <mailto:gregg@greggkellogg.net> .
|
83
|
-
<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/mbox_sha1sum> "35bc44e6d0070e5ad50ccbe0d24403c96af2b9bd" .
|
84
|
-
<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/homepage> <http://greggkellogg.net/> .
|
85
|
-
<http://greggkellogg.net/foaf#me> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://greggkellogg.net/foaf> .
|
1
|
+
_:g6720 <http://xmlns.com/foaf/0.1/name> "Hellekin O. Wolf" .
|
2
|
+
_:g6720 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "c69f3255ff0639543cc5edfd8116eac8df16fab8" .
|
3
|
+
_:g6720 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
|
4
|
+
_:g6680 <http://xmlns.com/foaf/0.1/name> "Fumihiro Kato" .
|
5
|
+
_:g6680 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "d31fdd6af7a279a89bf09fdc9f7c44d9d08bb930" .
|
6
|
+
_:g6680 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
|
7
|
+
<https://bhuga.net/#ben> <http://xmlns.com/foaf/0.1/homepage> <https://bhuga.net/> .
|
8
|
+
<https://bhuga.net/#ben> <http://xmlns.com/foaf/0.1/name> "Ben Lavender" .
|
9
|
+
<https://bhuga.net/#ben> <http://xmlns.com/foaf/0.1/mbox> <mailto:blavender@gmail.com> .
|
10
|
+
<https://bhuga.net/#ben> <http://xmlns.com/foaf/0.1/mbox_sha1sum> "dbf45f4ffbd27b67aa84f02a6a31c144727d10af" .
|
11
|
+
<https://bhuga.net/#ben> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
|
12
|
+
_:g6660 <http://xmlns.com/foaf/0.1/name> "Joey Geiger" .
|
13
|
+
_:g6660 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "f412d743150d7b27b8468d56e69ca147917ea6fc" .
|
14
|
+
_:g6660 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
|
15
|
+
_:g6740 <http://xmlns.com/foaf/0.1/name> "John Fieber" .
|
16
|
+
_:g6740 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "f7653fc1ac0e82ebb32f092389bd5fc728eaae12" .
|
17
|
+
_:g6740 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
|
18
|
+
_:g6640 <http://xmlns.com/foaf/0.1/name> "Danny Gagne" .
|
19
|
+
_:g6640 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "6de43e9cf7de53427fea9765706703e4d957c17b" .
|
20
|
+
_:g6640 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
|
21
|
+
_:g6780 <http://xmlns.com/foaf/0.1/name> "Pius Uzamere" .
|
22
|
+
_:g6780 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "bedbbf2451e5beb38d59687c0460032aff92cd3c" .
|
23
|
+
_:g6780 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
|
24
|
+
_:g6700 <http://xmlns.com/foaf/0.1/name> "Naoki Kawamukai" .
|
25
|
+
_:g6700 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "5bdcd8e2af4f5952aaeeffbdd371c41525ec761d" .
|
26
|
+
_:g6700 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
|
27
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#homepage> <https://rubygems.org/gems/rdf> .
|
28
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#description> "RDF.rb is a pure-Ruby library for working with Resource Description Framework (RDF) data."@en .
|
29
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#implements> <http://www.w3.org/TR/n-quads/> .
|
30
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#implements> <http://www.w3.org/TR/rdf11-concepts/> .
|
31
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#implements> <http://www.w3.org/TR/n-triples/> .
|
32
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <https://bhuga.net/#ben> .
|
33
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <https://greggkellogg.net/foaf#me> .
|
34
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#documenter> <https://ar.to/#self> .
|
35
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#download-page> <https://rubygems.org/gems/rdf/> .
|
36
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#developer> <https://bhuga.net/#ben> .
|
37
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#developer> <https://greggkellogg.net/foaf#me> .
|
38
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#developer> <https://ar.to/#self> .
|
39
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#created> "2007-10-23" .
|
40
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#shortdesc> "A Ruby library for working with Resource Description Framework (RDF) data."@en .
|
41
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#blog> <https://ar.to/> .
|
42
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#blog> <https://greggkellogg.net/> .
|
43
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#license> <https://unlicense.org/1.0/> .
|
44
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#category> <http://dbpedia.org/resource/Ruby_(programming_language)> .
|
45
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#category> <http://dbpedia.org/resource/Resource_Description_Framework> .
|
46
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#name> "RDF.rb" .
|
47
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#programming-language> "Ruby" .
|
48
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g6720 .
|
49
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g6680 .
|
50
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g6660 .
|
51
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g6740 .
|
52
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g6640 .
|
53
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g6780 .
|
54
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g6700 .
|
55
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g6560 .
|
56
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#helper> _:g6760 .
|
57
|
+
<https://rubygems.org/gems/rdf> <http://xmlns.com/foaf/0.1/maker> <https://ar.to/#self> .
|
58
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#maintainer> <https://greggkellogg.net/foaf#me> .
|
59
|
+
<https://rubygems.org/gems/rdf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://usefulinc.com/ns/doap#Project> .
|
60
|
+
<https://rubygems.org/gems/rdf> <http://usefulinc.com/ns/doap#bug-database> <https://github.com/ruby-rdf/rdf/issues> .
|
61
|
+
<https://rubygems.org/gems/rdf> <http://purl.org/dc/terms/creator> <https://ar.to/#self> .
|
62
|
+
<https://greggkellogg.net/foaf#me> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <https://greggkellogg.net/foaf> .
|
63
|
+
<https://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/homepage> <https://greggkellogg.net/> .
|
64
|
+
<https://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
|
65
|
+
<https://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/mbox> <mailto:gregg@greggkellogg.net> .
|
66
|
+
<https://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/mbox_sha1sum> "35bc44e6d0070e5ad50ccbe0d24403c96af2b9bd" .
|
67
|
+
<https://greggkellogg.net/foaf#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
|
68
|
+
<https://ar.to/#self> <http://xmlns.com/foaf/0.1/homepage> <https://ar.to/> .
|
69
|
+
<https://ar.to/#self> <http://xmlns.com/foaf/0.1/name> "Arto Bendiken" .
|
70
|
+
<https://ar.to/#self> <http://xmlns.com/foaf/0.1/mbox> <mailto:arto@bendiken.net> .
|
71
|
+
<https://ar.to/#self> <http://xmlns.com/foaf/0.1/mbox_sha1sum> "a033f652c84a4d73b8c26d318c2395699dd2bdfb" .
|
72
|
+
<https://ar.to/#self> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
|
73
|
+
<https://ar.to/#self> <http://xmlns.com/foaf/0.1/made> <https://rubygems.org/gems/rdf> .
|
74
|
+
_:g6760 <http://xmlns.com/foaf/0.1/name> "Keita Urashima" .
|
75
|
+
_:g6760 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "2b4247b6fd5bb4a1383378f325784318680d5ff9" .
|
76
|
+
_:g6760 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
|
77
|
+
_:g6560 <http://xmlns.com/foaf/0.1/name> "Călin Ardelean" .
|
78
|
+
_:g6560 <http://xmlns.com/foaf/0.1/mbox_sha1sum> "274bd18402fc773ffc0606996aa1fb90b603aa29" .
|
79
|
+
_:g6560 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
|