Skip to content

Commit b0e40d5

Browse files
janschillgkellogg
authored andcommitted
Remove trailing whitespace
1 parent 9d17085 commit b0e40d5

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ the 1.1 release of RDF.rb:
9696
* {RDF::Util::File.open\_file} now performs redirects and manages `base_uri` based on W3C recommendations:
9797
* `base_uri` is set to the original URI if a status 303 is provided, otherwise any other redirect will set `base_uri` to the redirected location.
9898
* `base_uri` is set to the content of the `Location` header if status is _success_.
99-
* Additionally, {RDF::Util::File.open\_file} sets the result encoding from `charset` if provided, defaulting to `UTF-8`. Other access methods include `last_modified` and `content_type`,
99+
* Additionally, {RDF::Util::File.open\_file} sets the result encoding from `charset` if provided, defaulting to `UTF-8`. Other access methods include `last_modified` and `content_type`,
100100
* {RDF::StrictVocabulary} added with an easy way to keep vocabulary definitions up to date based on their OWL or RDFS definitions. Most vocabularies are now StrictVocabularies meaning that an attempt to resolve a particular term in that vocabulary will error if the term is not defined in the vocabulary.
101101
* New vocabulary definitions have been added for [ICal](http://www.w3.org/2002/12/cal/icaltzd#), [Media Annotations (MA)](http://www.w3.org/ns/ma-ont#), [Facebook OpenGraph (OG)](http://ogp.me/ns#), [PROV](http://www.w3.org/ns/prov#), [SKOS-XL (SKOSXL)](http://www.w3.org/2008/05/skos-xl#), [Data Vocabulary (V)](http://rdf.data-vocabulary.org/), [VCard](http://www.w3.org/2006/vcard/ns#), [VOID](http://rdfs.org/ns/void#http://rdfs.org/ns/void#), [Powder-S (WDRS)](http://www.w3.org/2007/05/powder-s#), and [XHV](http://www.w3.org/1999/xhtml/vocab#).
102102

@@ -133,7 +133,7 @@ Different RDF gems will augment the `rdf` script with more capabilities, which m
133133
require 'rdf/ntriples'
134134
graph = RDF::Graph.new << [:hello, RDF::RDFS.label, "Hello, world!"]
135135
graph.dump(:ntriples)
136-
136+
137137
or
138138

139139
RDF::Writer.open("hello.nt") { |writer| writer << graph }
@@ -142,7 +142,7 @@ or
142142

143143
require 'rdf/ntriples'
144144
graph = RDF::Graph.load("https://ruby-rdf.github.com/rdf/etc/doap.nt")
145-
145+
146146
or
147147

148148
RDF::Reader.open("https://ruby-rdf.github.com/rdf/etc/doap.nt") do |reader|
@@ -159,13 +159,13 @@ option where the specific format symbol is determined by the available readers.
159159
MimeType or file extension, where available.
160160

161161
require 'rdf/nquads'
162-
162+
163163
graph = RDF::Graph.load("https://ruby-rdf.github.com/rdf/etc/doap.nq", format: :nquads)
164164

165165
A specific sub-type of Reader can also be invoked directly:
166166

167167
require 'rdf/nquads'
168-
168+
169169
RDF::NQuads::Reader.open("https://ruby-rdf.github.com/rdf/etc/doap.nq") do |reader|
170170
reader.each_statement do |statement|
171171
puts statement.inspect
@@ -219,7 +219,7 @@ Note that no prefixes are loaded automatically, however they can be provided as
219219
### Querying RDF data using basic graph patterns (BGPs)
220220

221221
require 'rdf/ntriples'
222-
222+
223223
graph = RDF::Graph.load("https://ruby-rdf.github.com/rdf/etc/doap.nt")
224224
query = RDF::Query.new({
225225
person: {
@@ -228,7 +228,7 @@ Note that no prefixes are loaded automatically, however they can be provided as
228228
FOAF.mbox => :email,
229229
}
230230
}, **{})
231-
231+
232232
query.execute(graph) do |solution|
233233
puts "name=#{solution.name} email=#{solution.email}"
234234
end
@@ -515,4 +515,4 @@ see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.
515515
[JSON::LD]: https://ruby-rdf.github.com/json-ld
516516
[RestClient]: https://rubygems.org/gems/rest-client
517517
[RestClient Components]: https://rubygems.org/gems/rest-client-components
518-
[Rack::Cache]: https://rtomayko.github.io/rack-cache/
518+
[Rack::Cache]: https://rtomayko.github.io/rack-cache/

0 commit comments

Comments
 (0)