You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Andy Seaborne <an...@apache.org> on 2012/05/02 16:29:29 UTC

Re: Illegal character problem when querying remote dataset

On 30/04/12 07:47, Ziya Akar wrote:
>> What is the remote query service?  is it dbpedia by any chance?
>>
>> A similar problem was reported quite recently.
>>
>> If it's a Fuseki endpoint, you can force the output format with
>> "&output=json" but that's non-standard.
>>
>> 	Andy
>
> Hi,
>
> I used BibBase Data Server whose endpoint is
> "http://data.bibbase.org:2020/sparql".
>
> By the way when i used DBpedia dataset i had an exception :
>
> Unexpected EOF; was expecting a close tag for element<uri>.

You should report this to OpenLink.  There's a problem with the server 
if it generates bad XML.

	Andy

>
> But i solved this problem by using LIMIT and OFFSET keyword. For
> example : I tried to retrieve results as below:
>
> "Select * WHERE {?s ?p ?o } LIMIT 1000 OFFSET x."
>
> i add 1000 to x variable in each execution and i did not take an
> exception on DBpedia.
>
> Ziya.