Hi Daniel

 

I don't represent either OpenLink/DBPedia but I suspect that the JSON is
being generated on the fly when you request it so for a topic like the US
which has a large number of Triples this might take a rather long time hence
the time outs and/or JSON errors you've been experiencing.

 

Are you reliant on using the JSON (i.e. consuming it immediately in a
Javascript application) or are you using a general purpose RDF/Semantic Web
API?  If you are doing the latter then it may be easier and more efficient
to just pull back the RDF/XML or Turtle representation of the data and
transform it to JSON on your end.

 

Regards,

Rob Vesse

 

From: Daniel Loureiro [mailto:[email protected]] 
Sent: 30 December 2010 11:38
To: [email protected]
Subject: [Dbpedia-discussion] JSON Format Errors

 

Hello everyone,

 

I'm using dbpedia online access functionality, retrieving the queries in
JSON format, and I've been experiencing a couple of issues. 

Most often I get the error "Transaction timed out" or "JSONDecodeError" so I
set up my code to wait 10 seconds before trying again, but with certain
queries I have to wait a long time (like a minute) before finally getting
the data, can anyone explain why this happens?

 

Also, I've noted that certain queries simply don't seem to exist in dbpedia.
For instance, there's the wikipedia page
http://en.wikipedia.org/wiki/United_States but
http://dbpedia.org/data/United_States.json returns a "Transaction timed out"
error, is this supposed to happen? Doesn't dbpedia mirror every wikipedia
page (excluding recent ones, of course) ?

 

I love dbpedia when I get it to work correctly, so I'd much appreciate if
you could help me enjoy it as much as possible.

 

Cheers,

Daniel Loureiro

 

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to