Hi David

On Wed, Jul 20, 2011 at 1:07 PM, David Riccitelli
<[email protected]> wrote:
> I'm running a query using the engines end-point. Eventually I get a failure
> with an exception [1] in the logs, whose underlying cause seems to be:
> *Server returned HTTP response code: 500 for URL*:
> http://dbpedia.org/sparql?query=SELECT+DISTINCT+?id+%0AWHERE+%7B+%0A++%7B+%0A++++?id+%3Chttp://www.w3.org/1999/02/22-rdf-syntax-ns%23type%3E+%3Chttp://dbpedia.org/ontology/Organisation%3E+.+%0A++++?id+%3Chttp://www.w3.org/2000/01/rdf-schema%23label%3E+?tmp1+.+%0A++++++?tmp1+bif:contains+'%22News%22+AND+%22of%22+AND+%22the%22+AND+%22World%22'+.+%0A%7D+%0A%7D+%0AORDER+BY+DESC+(+%3CLONG::IRI_RANK%3E+(?id)+)+%0ALIMIT+20+%0A&format=application/sparql-results%2Bjson
>
> But if I copy and paste the URL and run it with curl, I don't get 500. How
> is that possible?

I experienced similar problems from time to time and concluded that it
will most likely related to dbpedia denying additional requests an IP
already sent a lot of them in a short period of time.
However it is just an assumption so I am working currently to
improvements to the loggings so that the content sent by the Server in
case of 4** and 5** responses is printed to the log.

This should help to see what is really happening.

best
Rupert

-- 
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to