On 1/5/11 5:45 AM, Rob Vesse wrote:
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.
Rob,
At the time of Daniel's post the DBpedia instance had issues re. number
of concurrent connections from all over the Web. Thus, irrespective of
representation, the problem would have been the same i.e.,
http://dbpedia.org/page/United_States even timed out.
Daniel: I assume this problem no longer occurs? I just retrieved
http://dbpedia.org/data/United_States.json for good measure :-)
Happy New Year!
Kingsley
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
--
Regards,
Kingsley Idehen
President& CEO
OpenLink Software
Web: http://www.openlinksw.com
Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca: kidehen
------------------------------------------------------------------------------
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