Created
March 3, 2015 17:11
-
-
Save jcoyne/0be0a211e2e3bbdda8ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sparql = SPARQL::Client.new('http://localhost:8888/marmotta/sparql') | |
query = sparql.select.where([:s, :p, :o]).offset(100).limit(10) | |
query.each_statement do |statement| | |
puts statement.inspect | |
end | |
SPARQL::Client::ClientError: impossible to determine which type of operation (query/update) the request contains Processing query SELECT * WHERE { ?s ?p ?o . } OFFSET 100 LIMIT 10 | |
from /Users/justin/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/sparql-client-1.1.3.1/lib/sparql/client.rb:342:in `block in response' | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment