[presb...@endor ~]$ python -c "import jsonlib2; from urllib2 import
urlopen; print 
jsonlib2.read(urlopen('http://dbpedia-live.openlinksw.com/data/Obolensky.json').read()).keys()"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
jsonlib2.ReadError: JSON parsing error at line 23, column 363
(position 6010): Unexpected U+000A (
) while looking for printable characters.

Obolensky on dbpedia.org works just fine, which confuses me as to
whether this is a bug against DBpedia or Virtuoso...

[presb...@endor ~]$ python -c "import jsonlib2; from urllib2 import
urlopen; print 
jsonlib2.read(urlopen('http://dbpedia.org/data/Obolensky.json').read()).keys()"
[u'http://en.wikipedia.org/wiki/Obolensky',
u'http://dbpedia.org/resource/Alexander_Obolensky',
u'http://dbpedia.org/resource/%D0%9E%D0%B1%D0%BE%D0%BB%D0%B5%D0%BD%D1%81%D0%BA%D0%B8%D0%B9',
u'http://dbpedia.org/resource/Obolensky',
u'http://mpii.de/yago/resource/Obolensky']

--
Joe Presbrey

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to