Converting RDF File of 28 MB to Exhibit JSON

18 views
Skip to first unread message

Angrosh

unread,
Jun 1, 2011, 4:46:16 AM6/1/11
to SIMILE Widgets
Hi,

I have an RDF file of approximately 28 MB. I am tryin to convert it
into Exhibit JSON using Babel. Unfortunately, everytime I try
converting it to Exhibit JSON I get the Bad Gateway error. I wonder
whether this is because of the huge file size and if so, how do I
resolve this problem.

I request you to kindly help me in this regard.

Thanks and regards,

Angrosh

Matt Vagnoni

unread,
Jun 24, 2011, 4:43:14 PM6/24/11
to simile-...@googlegroups.com
28MB might be beyond the capabilities of Exhibit, I think that's one problem they are attempting to fix in Exhibit3.

What I do is load my RDF into JENA and write Object RDF Mappers (ORM) to custom export only the RDF that I want to display in the Exhibit.  This involves either writing a CONSTRUCT query in SPARQL often because I have one-to-many properties in many cases.  Then I use JENA's Resource.ListProperty(Property) to iterate through the results.  I have sample code if you are interested.
Reply all
Reply to author
Forward
0 new messages