Hi all,

I' ve just noticed that the "400 Bad Request Error" I receive, caused by
"nesting loop count", not caused by "http request size". So Virtuoso says
me that error:

"Virtuoso 37000 Error SP031: SPARQL compiler: The nesting depth of
subexpressions exceed limits of SPARQL compiler"

So I should rewrite my looping UNION query as you say before.

Thanks for all your helps.

Best,

Burak Yönyül

2012/12/18 David Brooks <[email protected]>

> Hi Burak,
>
> Presumably you are not creating these queries by typing them into a web
> browser form? But instead have written code that does a HTTP GET request to
> the SPARQL endpoint?? In which case, as Patrick has suggested, use POST
> instead of GET -- the request needs a Content-type of
> "application/x-www-form-**urlencoded" (in its header) and the encoded
> query as content.
>
> And you can POST megabytes...
>
>
> Regards,
> Dave
>
>
> On 18/12/12 8:52 PM, Burak Yönyül wrote:
>
>> Hello all,
>>
>> Thank you for your suggestions. I will take your opinions into account.
>>
>> There are possible ways to shorten query with better ordering of UNION
>> blocks as you say. But we use queries much more union count than this, so
>> the query size will grow into a few megabytes. Is there any way to
>> configure that a few megabytes http request will not cause to a problem?
>>
>> Best Regards,
>>
>> Burak Yönyül
>>
>>
>
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to