This is a feature introduced in the SPARQL 1.1 Protocol specification whereby the SPARQL query string may be submitted directly as the body of the HTTP request, avoiding the complication and time/space overhead of URL encoding/decoding the query string as was required by the previous version of the protocol. For maximum compatibility, this client implementation still defaults to using the SPARQL 1.0 protocol; to enable the new 1.1 protocol support, configure your SPARQL::Client instance as follows: SPARQL::Client.new(endpoint, :protocol => 1.1) See: http://www.w3.org/TR/sparql11-protocol/#query-via-post-direct
avoid problems with longer query strings. If need be, the previous behavior can be restored as follows: SPARQL::Client.new(endpoint, :method => :get)
'a' per the SPARQL grammar, while still supporting the non-abbreviated behavior when passing in an uninterned copy of RDF.type.
user applications. Older releases of the 'json_pure' gem should do fine for our purposes, so there's no need to attempt to force 1.6.5+. SproutCore currently has a 'json_pure (~> 1.4.6)' dependency, so I've made that the new baseline to enable SPARQL use in Rails/SproutCore applications. This could probably be further relaxed should that prove necessary for other use cases. See: https://github.com/flori/json/blob/master/CHANGES