ruby-rdf / sparql-client

SPARQL client for Ruby.
http://rubygems.org/gems/sparql-client
The Unlicense
112 stars 58 forks source link

Request doesn't contain text of SPARQL query #25

Closed alangrafu closed 7 years ago

alangrafu commented 12 years ago

From the README, I ran

require 'rubygems'
require 'sparql/client'

sparql = SPARQL::Client.new("http://dbpedia.org/sparql")
result = sparql.ask.whether([:s, :p, :o]).true?
puts result.inspect   #=> true or false

but it seems sparql-client is not sending the query


Virtuoso 22023 Error The request does not contain text of SPARQL query (SPARQL::Client::MalformedQuery)
alangrafu commented 12 years ago

FYI: cloning the repository, building and installing the gem works fine. It seems the problem is when it is loaded using gem install sparql-client