README.md in sparql-1.0.3 vs README.md in sparql-1.0.4
- old
+ new
@@ -148,10 +148,10 @@
require 'sinatra'
require 'sinatra/sparql'
require 'uri'
get '/' do
- settings.sparql_options.replace(:standard_prefixes => true)
+ settings.sparql_options.replace(:standard_prefixes => true)
repository = RDF::Repository.new do |graph|
graph << [RDF::Node.new, RDF::DC.title, "Hello, world!"]
end
if params["query"]
query = params["query"].to_s.match(/^http:/) ? RDF::Util::File.open_file(params["query"]) : ::URI.decode(params["query"].to_s)