Sometimes using SPARQL to fetch data might fail. The python request will succeed, giving you an OK status_code, but the actual response is an incomplete json object. This happens due to the response being too big in size, and the cache being limited to a specific number of bytes.
Example run:
SPARQL RESPONSE TOO LARGE TO BE CACHED.
The largest cacheable response size is 8388608 bytes.
Try running the query with 'Cache-Control: no-cache' to get full response
Sometimes using SPARQL to fetch data might fail. The python request will succeed, giving you an OK
status_code
, but the actual response is an incomplete json object. This happens due to the response being too big in size, and the cache being limited to a specific number of bytes. Example run:and the error: